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

airbyte-ci: promote and rollback publish pipeline for RC #44877

Conversation

alafanechere
Copy link
Contributor

@alafanechere alafanechere commented Aug 28, 2024

What

Relates to https://github.com/airbytehq/airbyte-internal-issues/issues/9254

In #44876 we introduce new metadata service command to promote and rollback a connector release candidate.
This PR orchestrate these commands in airbyte-ci connectors publish by declaring three rollout modes and related pipelines:
RolloutMode.PUBLISH: The original publish pipeline
RolloutMode.ROLLBACK: Calls the metadata service rollback-release-candidate command
RolloutMode.PROMOTE: Calls the metadata service promote-release-candidate command AND push the latest image tag to DockerHub.

Copy link

vercel bot commented Aug 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Sep 2, 2024 2:09pm

Copy link
Contributor Author

alafanechere commented Aug 28, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alafanechere and the rest of your teammates on Graphite Graphite

@alafanechere alafanechere force-pushed the augustin/08-28-airbyte-ci_publish_promote_and_rollback_release_candidates branch from 806550e to aab660b Compare August 28, 2024 21:58
@alafanechere alafanechere force-pushed the augustin/08-28-airbyte-ci_promote_and_rollback_publish_pipeline_for_RC branch from 2bbd5ef to ce20bb2 Compare August 28, 2024 21:59
@alafanechere alafanechere marked this pull request as ready for review August 29, 2024 10:08
@alafanechere alafanechere requested a review from a team as a code owner August 29, 2024 10:08
@alafanechere alafanechere force-pushed the augustin/08-28-airbyte-ci_promote_and_rollback_publish_pipeline_for_RC branch 2 times, most recently from cf954e9 to 9cefd36 Compare August 29, 2024 10:55
Copy link
Contributor

@clnoll clnoll left a comment

Choose a reason for hiding this comment

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

Just one question for you!

) -> bool:

if promote_release_candidate and rollback_release_candidate:
raise click.UsageError("You can't promote and rollback a release candidate at the same time.")
Copy link
Contributor

Choose a reason for hiding this comment

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

These should all be mutually exclusive, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, gaslighting the RC and saying that it definitely is going above and beyond, but no promotion this time. Classic.

@alafanechere alafanechere force-pushed the augustin/08-28-airbyte-ci_publish_promote_and_rollback_release_candidates branch from aab660b to f54609d Compare September 2, 2024 14:08
@alafanechere alafanechere force-pushed the augustin/08-28-airbyte-ci_promote_and_rollback_publish_pipeline_for_RC branch from 9cefd36 to 5e7cd41 Compare September 2, 2024 14:09
@octavia-squidington-iv octavia-squidington-iv requested a review from a team September 19, 2024 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants