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

Add more detailed steps for deployment #66

Merged
merged 6 commits into from
Sep 3, 2024
Merged

Add more detailed steps for deployment #66

merged 6 commits into from
Sep 3, 2024

Conversation

dhinus
Copy link
Member

@dhinus dhinus commented Aug 22, 2024

I'm not sure that this covers all possible edge cases, but it should cover the common use case where you want to test a PR after another one has been merged by someone else and your branch is stale. Please let me know if you think that something is missing.

I also moved "point the web proxy at the new cluster" to the "Fresh deploy" section, because I don't think it's required when doing a standard deploy.

vivian-rook
vivian-rook previously approved these changes Aug 22, 2024
Copy link
Contributor

@vivian-rook vivian-rook left a comment

Choose a reason for hiding this comment

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

I modified the instructions slightly to reference that github can update as well. Not sure if it is worth noting that if all is configured correctly github should block merges on stale branches.

@dhinus
Copy link
Member Author

dhinus commented Aug 22, 2024

Not sure if it is worth noting that if all is configured correctly github should block merges on stale branches.

Yeah I think it's worth noting it.

My main concern was to prevent deploying stale branches without noticing, I think that is still possible if you don't notice the "conflict" warning in Github and proceed to run "deploy.sh"?

@vivian-rook
Copy link
Contributor

My main concern was to prevent deploying stale branches without noticing, I think that is still possible if you don't notice the "conflict" warning in Github and proceed to run "deploy.sh"?

This is correct. Github can't stop you from deploying, only merging. If we wanted to be really paranoid we could maybe update deploy.sh to check if the branch is stale. Though I'm not sure it is worth the extra complexity.

@dhinus dhinus merged commit a32c9ac into main Sep 3, 2024
3 checks passed
@dhinus dhinus deleted the deploy-procedure branch September 3, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants