-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
cloud availability updater: automatic PR creation #22568
cloud availability updater: automatic PR creation #22568
Conversation
e59fbde
to
b9910e2
Compare
Airbyte Code Coverage
|
no dryrun
b9910e2
to
97b34ef
Compare
@alafanechere is there an example PR you have made that demonstrates this? That's the unit test for this PR :D |
# schedule: | ||
## 1pm UTC is 6am PDT. | ||
## same time as Generate Build Report | ||
# - cron: "0 13 * * *" |
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.
👍 disabled for now
tools/ci_connector_ops/ci_connector_ops/qa_engine/cloud_availability_updater.py
Show resolved
Hide resolved
return git.Repo.clone_from( | ||
AIRBYTE_PLATFORM_INTERNAL_GITHUB_REPO_URL, local_repo_path, branch=AIRBYTE_PLATFORM_INTERNAL_MAIN_BRANCH_NAME | ||
) |
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.
Yeah, I guess we have to clone the platform repo to open a PR
What
Closes https://github.com/airbytehq/airbyte-internal-issues/issues/3777
We want to automatically open PR on our internal platform repo for each connector eligible for Cloud.
How
deploy_eligible_connectors_to_cloud_repo
which:run-qa-engine
github action workflow with the required env var to perform PR creation.An example of the automatically created PR is available here.
Recommended reading order
airbyte/tools/ci_connector_ops/ci_connector_ops/qa_engine/cloud_availability_updater.py
Line 145 in 97b34ef
airbyte/tools/ci_connector_ops/ci_connector_ops/qa_engine/cloud_availability_updater.py
Line 121 in 97b34ef
airbyte/tools/ci_connector_ops/ci_connector_ops/qa_engine/cloud_availability_updater.py
Line 97 in 97b34ef
airbyte/tools/ci_connector_ops/ci_connector_ops/qa_engine/cloud_availability_updater.py
Line 87 in 97b34ef
airbyte/.github/workflows/run-qa-engine.yml
Line 1 in 97b34ef
🚨 User Impact 🚨
None as the Run QA Engine workflow scheduling is disabled.