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 y/n for ignoring changes during deploy + show git diff #10443

Merged

Conversation

cdrini
Copy link
Collaborator

@cdrini cdrini commented Feb 12, 2025

Feature; make the deploy script easier to use by (1) showing the git diff when there are changes on prod, and (2) offering the deploy-runner the option to ignore the changes in-line.

This also fixes a subtle bug, where you could add IGNORE_CHANGES=1 after seeing errors on one node, but not realize that you're also blowing away changes on other nodes that haven't been displayed yet!

Technical

Testing

Tested on this latest deploy.

Screenshot

image

Stakeholders

@mekarpeles
Copy link
Member

Great change, ty

@mekarpeles mekarpeles merged commit 77d6d80 into internetarchive:master Feb 13, 2025
4 checks passed
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.

2 participants