Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define separate profile for Azure cloud tests #18996

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

losipiuk
Copy link
Member

Define separate profile for Azure cloud tests to keep how we handle tests which require external infrastructure consistent in the codebase.

As a consequence this drops EnabledIfEnvironmentVariable annotation. The benefit is that with expicit profile and the way how we build condition guarding if tests should be run in ci.yml (use of CI_SKIP_SECRETS_PRESENCE_CHECKS) makes it much less probable to have false confidence that we run tests, when they are skipped. With EnabledIfEnvironmentVariable we could easily skip tests if we secrets propageted to env variables were not set in github.

Remaining work item is to actually fill environment variables values in ci.yml.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

.github/workflows/ci.yml Outdated Show resolved Hide resolved
Define separate profile for Azure cloud tests to keep how we handle
tests which require external infrastructure consistent in the codebase.

As a consequence this drops EnabledIfEnvironmentVariable annotation.
The benefit is that with expicit profile and the way how we
build condition guarding if tests should be run in ci.yml (use of
CI_SKIP_SECRETS_PRESENCE_CHECKS) makes it much less probable to
have false confidence that we run tests, when they are skipped.
With EnabledIfEnvironmentVariable we could easily skip tests if
we secrets propageted to env variables were not set in github.

Remaining work item is to actually fill environment variables values in
ci.yml.
ABFS_FLAT_ACCESS_KEY: todo
ABFS_ACCOUNT: todo
ABFS_ACCESS_KEY: todo
# todo(https://github.com/trinodb/trino/issues/18998) Enable when we have env variables in place
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@losipiuk losipiuk merged commit cabc7c7 into trinodb:master Sep 11, 2023
1 check passed
@github-actions github-actions bot added this to the 427 milestone Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants