You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte-ci/connectors/pipelines/README.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -305,7 +305,7 @@ flowchart TD
305
305
|`--code-tests-only`| True | False | Skip any tests not directly related to code updates. For instance, metadata checks, version bump checks, changelog verification, etc. Use this setting to help focus on code quality during development. |
306
306
|`--concurrent-cat`| False | False | Make CAT tests run concurrently using pytest-xdist. Be careful about source or destination API rate limits. |
307
307
|`--<step-id>.<extra-parameter>=<extra-parameter-value>`| True || You can pass extra parameters for specific test steps. More details in the extra parameters section below |
308
-
| `--ci-requirements` | False | | | Output the CI requirements as a JSON payload. It is used to determine the CI runner to use.
308
+
| `--ci-requirements` | False | | | Output the CI requirements as a JSON payload. It is used to determine the CI runner to use.
309
309
310
310
Note:
311
311
@@ -748,6 +748,7 @@ E.G.: running Poe tasks on the modified internal packages of the current branch:
| 4.15.1 |[#38615](https://github.com/airbytehq/airbyte/pull/38615)| Do not eagerly fetch connector secrets. |
751
752
| 4.15.0 |[#38322](https://github.com/airbytehq/airbyte/pull/38322)| Introduce a SecretStore abstraction to fetch connector secrets from metadata files. |
752
753
| 4.14.1 |[#38582](https://github.com/airbytehq/airbyte/pull/38582)| Fixed bugs in `up_to_date` flags, `pull_request` version change logic. |
753
754
| 4.14.0 |[#38281](https://github.com/airbytehq/airbyte/pull/38281)| Conditionally run test suites according to `connectorTestSuitesOptions` in metadata files. |
"""Get secrets declared in metadata connectorTestSuitesOptions for a test suite name.
279
+
It will use the secret store alias declared in connectorTestSuitesOptions.
280
+
If the secret store is not available a warning or and error could be raised according to the raise_on_missing_secret_store parameter value.
281
+
We usually want to raise an error when running in CI context and log a warning when running locally, as locally we can fallback on local secrets.
282
+
283
+
Args:
284
+
connector_test_suites_options (List[Dict[str, str | Dict]]): The connector under test test suite options
285
+
suite_name (str): The test suite name
286
+
secret_stores (Dict[str, SecretStore]): The available secrets stores
287
+
raise_on_missing_secret_store (bool, optional): Raise an error if the secret store declared in the connectorTestSuitesOptions is not available. Defaults to True.
288
+
logger (Logger | None, optional): Logger to log a warning if the secret store declared in the connectorTestSuitesOptions is not available. Defaults to None.
289
+
290
+
Raises:
291
+
SecretNotFoundError: Raised if the secret store declared in the connectorTestSuitesOptions is not available and raise_on_missing_secret_store is truthy.
292
+
293
+
Returns:
294
+
List[Secret]: List of secrets declared in the connectorTestSuitesOptions for a test suite name.
"""Get secrets declared in metadata connectorTestSuitesOptions for a test suite name.
76
-
It will use the secret store alias declared in connectorTestSuitesOptions.
77
-
If the secret store is not available a warning or and error could be raised according to the raise_on_missing_secret_store parameter value.
78
-
We usually want to raise an error when running in CI context and log a warning when running locally, as locally we can fallback on local secrets.
79
-
80
-
Args:
81
-
connector_test_suites_options (List[Dict[str, str | Dict]]): The connector under test test suite options
82
-
suite_name (str): The test suite name
83
-
secret_stores (Dict[str, SecretStore]): The available secrets stores
84
-
raise_on_missing_secret_store (bool, optional): Raise an error if the secret store declared in the connectorTestSuitesOptions is not available. Defaults to True.
85
-
logger (logging.Logger | None, optional): Logger to log a warning if the secret store declared in the connectorTestSuitesOptions is not available. Defaults to None.
86
-
87
-
Raises:
88
-
SecretNotFoundError: Raised if the secret store declared in the connectorTestSuitesOptions is not available and raise_on_missing_secret_store is truthy.
89
-
90
-
Returns:
91
-
List[Secret]: List of secrets declared in the connectorTestSuitesOptions for a test suite name.
0 commit comments