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

Log uncommitted changes during deploy #396

Merged
merged 4 commits into from Jul 25, 2023

Conversation

igor-alexandrov
Copy link
Contributor

@igor-alexandrov igor-alexandrov commented Jul 21, 2023

MRSK adds uncommitted suffix to the image name if there are any not committed files during deploy process. On the one side this is super helpful, when you deploy from your local host. On the other side this causes some problems during deploy from CD – you don't know what exactly changed during CD process (actions may leave some garbage after them). To find out what should be added to .gitignore, I usually add additional step to the job, which runs git status --porcelain.

Other users also have such questions: #378.

This PR adds logging of uncommitted changes before MRSK.builder.push command.

@dhh dhh requested a review from djmb July 24, 2023 12:17
Copy link
Collaborator

@djmb djmb left a comment

Choose a reason for hiding this comment

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

Thanks @igor-alexandrov, this looks like a good change! Just one request to update the message.

lib/mrsk/cli/build.rb Outdated Show resolved Hide resolved
@djmb djmb merged commit 752ff53 into basecamp:main Jul 25, 2023
6 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.

None yet

2 participants