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

Support CICD #477

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Support CICD #477

merged 2 commits into from
Apr 16, 2024

Conversation

maddsua
Copy link
Contributor

@maddsua maddsua commented Jan 21, 2024

ADMIN NOTE: This flag is now --ci (#490)

Support CICD deploys by staying until the build stage is complete and reporting it's result in exit code

Changes:

  • Added new up command argument: cicd
    When this argument is provided, cli won't stream deploy logs and will exit immediately after deploy status changes to SUCCESS.
    This required changing wait_for_failure function to support this case. In both of them it will cause the cli to exit with either error exit code or zero, which would indicate success.

@maddsua maddsua marked this pull request as ready for review January 21, 2024 21:53
@maddsua
Copy link
Contributor Author

maddsua commented Jan 21, 2024

By the way, can we make a release after this PR is merged? We had docker image ready for almost 3 months now and it's still not published

@coffee-cup coffee-cup added the release/minor Author minor release label Apr 16, 2024
Copy link
Contributor

@coffee-cup coffee-cup left a comment

Choose a reason for hiding this comment

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

Thanks for this PR! And sorry it has taken so long to move forward. I've renamed --cicd to --ci, but everything else looks good. I will cut a release once everything is merged and green.

@coffee-cup coffee-cup merged commit 1860576 into railwayapp:master Apr 16, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/minor Author minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants