-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Clean up environment variables in tests and on CI (#2543)
Before fixing #2294 and #2242 we need to have a clean CI env. After this PR it should be possible to completely remove following environment variables from the secrets: - AWS_EXTERNAL_BUCKET_URL (it has TEST_SF_TF_AWS_EXTERNAL_BUCKET_URL replacement) - AWS_EXTERNAL_KEY_ID (it has TEST_SF_TF_AWS_EXTERNAL_KEY_ID replacement) - AWS_EXTERNAL_ROLE_ARN (it has TEST_SF_TF_AWS_EXTERNAL_ROLE_ARN replacement) - AWS_EXTERNAL_SECRET_KEY (it has TEST_SF_TF_AWS_EXTERNAL_SECRET_KEY replacement) - AZURE_EXTERNAL_BUCKET_URL (it has TEST_SF_TF_AZURE_EXTERNAL_BUCKET_URL replacement) - AZURE_EXTERNAL_SAS_TOKEN (it has TEST_SF_TF_AZURE_EXTERNAL_SAS_TOKEN replacement) - AZURE_EXTERNAL_TENANT_ID (it has TEST_SF_TF_AZURE_EXTERNAL_TENANT_ID replacement) - GCS_EXTERNAL_BUCKET_URL (it has TEST_SF_TF_GCS_EXTERNAL_BUCKET_URL replacement) - SKIP_EMAIL_INTEGRATION_TESTS (not used) - SKIP_EXTERNAL_TABLE_TEST (not used anymore) - SKIP_NOTIFICATION_INTEGRATION_TESTS (not used) - SKIP_STREAM_TEST (not used anymore) - SNOWFLAKE_ACCOUNT (we use the config now, this shouldn't be needed) - SNOWFLAKE_ACCOUNT_SECOND (not used anymore) - SNOWFLAKE_ACCOUNT_THIRD (not used anymore) - SNOWFLAKE_PASSWORD (we use the config now, this shouldn't be needed) - SNOWFLAKE_ROLE (we use the config now, this shouldn't be needed) - SNOWFLAKE_USER (we use the config now, this shouldn't be needed) There are three more that should be removed but they should be approached more carefully: - SNOWFLAKE_WAREHOUSE (we do not have it in our config, so it is taken from env; test what happens without setting a warehouse by running the tests locally with the config similar to the CI one) - SNOWFLAKE_PORT (we do not have this in our config, let's check if the tests will work without this - they should not fail) - SNOWFLAKE_PROTOCOL (we do not have this in our config, there is a default, it should be fine without it)
- Loading branch information
1 parent
b379565
commit 9a10cb1
Showing
5 changed files
with
16 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters