Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
24927126
You need to sign in or sign up before continuing.
Verified
Commit
24927126
authored
5 years ago
by
Quentin Duchemin
Browse files
Options
Downloads
Patches
Plain Diff
[CI] Force docker-compose to pull newer versions of images
parent
4aca4fd0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker_test.sh
+2
-0
2 additions, 0 deletions
docker_test.sh
with
2 additions
and
0 deletions
docker_test.sh
+
2
−
0
View file @
24927126
...
...
@@ -56,6 +56,8 @@ for v in $(docker-compose config --volumes); do
done
echo
-e
"
\n
==== Pull new versions of images ===="
# For some reasons, sometime docker-compose does not pull the newer image. Force this!
docker-compose config |
grep
"image:"
|
cut
-d
':'
-f
2- | xargs docker image
rm
||
true
docker-compose pull
echo
-e
"
\n
==== Replace production URL with testing URL in all files ===="
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment