-
Notifications
You must be signed in to change notification settings - Fork 4.5k
airbyte-ci: run live tests against connection listed in metadata #42574
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
airbyte-ci: run live tests against connection listed in metadata #42574
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
7376bc3
to
74c3b4e
Compare
74c3b4e
to
d0fa5f2
Compare
sentry_dsn: ${{ secrets.SENTRY_AIRBYTE_CI_DSN }} | ||
git_branch: ${{ github.head_ref }} | ||
git_revision: ${{ steps.fetch_last_commit_id_pr.outputs.commit_id }} | ||
github_token: ${{ env.PAT }} | ||
github_maintenance_token: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer not to have to use this in addition to env.PAT
, but env.PAT
isn't scoped properly to run the live tests, and secrets. GH_PAT_MAINTENANCE_OSS
isn't scoped properly for the rest of the tests.
@@ -50,6 +50,7 @@ def __init__( | |||
ci_gcp_credentials: Optional[Secret] = None, | |||
ci_git_user: Optional[str] = None, | |||
ci_github_access_token: Optional[Secret] = None, | |||
ci_github_maintenance_token: Optional[Secret] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd really love to use ci_github_access_token
here, and make the extra effort of generating a token / PAT with the right level of permissions. I don't think there's a strong reason to differentiate both token logically in code.
airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/common.py
Show resolved
Hide resolved
d0fa5f2
to
dd250a4
Compare
885afa9
to
2256e56
Compare
ce1a216
to
0015590
Compare
16f815a
to
c5ec8d7
Compare
de12765
to
54928cf
Compare
This reverts commit 54928cf.
❤️
|
What
Updates the connectors test pipeline to run live tests if there's a sandbox account.
Depends on #42860 and #42577, which adds the live tests configuration info to the metadata.yaml for each connector that has a sandbox account in integration-test-sandboxes workspace.
Closes #42465.