1061 Rebuild script improvements #1074

Open
a24timsv wants to merge 2 commits from 1061-Rebuild-script-improvements into team_1_week_7
Collaborator

Made it so that the rebuild scripts stop and remove all old containers before starting up new ones, essentially making it so that not matter which branch you come from, you will always build the correct containers.

Also, not related to this issue at all, but removed a init container from file service. I've discussed this with @a24noabe and in his words "Helt fritt fram att optimera, Mr Docker".

Related issue: #1061

Made it so that the rebuild scripts stop and remove all old containers before starting up new ones, essentially making it so that not matter which branch you come from, you will always build the correct containers. Also, not related to this issue at all, but removed a init container from file service. I've discussed this with @a24noabe and in his words _"Helt fritt fram att optimera, Mr Docker"_. Related issue: #1061
Added docker stop and docker rm before starting containers, should make building more consistent.

We should also discuss if we should prune before building.
Added pruning to the scripts. Also removed some unnecessary stuff from the file service compose file (me and Noah talked about it)
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 1061-Rebuild-script-improvements:1061-Rebuild-script-improvements
git switch 1061-Rebuild-script-improvements

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch team_1_week_7
git merge --no-ff 1061-Rebuild-script-improvements
git switch 1061-Rebuild-script-improvements
git rebase team_1_week_7
git switch team_1_week_7
git merge --ff-only 1061-Rebuild-script-improvements
git switch 1061-Rebuild-script-improvements
git rebase team_1_week_7
git switch team_1_week_7
git merge --no-ff 1061-Rebuild-script-improvements
git switch team_1_week_7
git merge --squash 1061-Rebuild-script-improvements
git switch team_1_week_7
git merge --ff-only 1061-Rebuild-script-improvements
git switch team_1_week_7
git merge 1061-Rebuild-script-improvements
git push origin team_1_week_7
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!1074
No description provided.