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 just docker rebuild command #719

Merged
merged 7 commits into from
Dec 8, 2024
Merged

Add just docker rebuild command #719

merged 7 commits into from
Dec 8, 2024

Conversation

Splines
Copy link
Member

@Splines Splines commented Dec 1, 2024

This PR adds a new just docker rebuild command that rebuilds MaMpf (and webpacker if the env is set to test, e.g. just docker rebuild test). Note that just docker rebuild env="test" is not working as command due to limitations of just, see casey/just#476.

Off-topic: also deleted an unnecessary comment.

@fosterfarrell9
Copy link
Collaborator

Could you possibly add an option for an attached mode?

@Splines
Copy link
Member Author

Splines commented Dec 8, 2024

Could you possibly add an option for an attached mode?

I've removed the startup command such the command really only does what it sais: rebuild the containers. If you still want to start the containers afterwards, chaining of commands should work, e.g. just docker rebuild && just docker up-logs.

Note that I won't run through the tests as we don't have tests for .justfiles and only those files were changed in this PR.

@Splines Splines merged commit 1e19a40 into dev Dec 8, 2024
2 of 4 checks passed
@Splines Splines deleted the just/rebuild branch December 8, 2024 16:06
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