Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
strudel2_backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Show more breadcrumbs
hpc-team
strudel2_backend
Commits
7e02dae8
Commit
7e02dae8
authored
6 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
still trying to get this deploy working
parent
3f8fa126
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
7e02dae8
...
...
@@ -37,10 +37,10 @@ deploy_dev:
script
:
-
echo "deploying dev"
-
docker login -u $DOCKERHUBUSER -p $DOCKERHUBPASSWORD docker.io
-
docker stop l1ll1/tes:latest || e
xit
0
-
docker ps -a -q | xargs -I{} docker rm {} || e
xit
0
-
docker images -q | xargs -I{} docker rmi {} || e
xit
0
-
docker stop l1ll1/tes:latest || e
cho "Failed to stop existing container"
-
docker ps -a -q | xargs -I{} docker rm {} || e
cho "No containers to remove"
-
docker images -q | xargs -I{} docker rmi {} || e
cho "No images to remove"
-
docker pull l1ll1/tes:latest
-
docker run -p
8
080:8080 l1ll1/tes:latest
-
docker run -p
6
080:8080 l1ll1/tes:latest
|| echo "Unable to start image ... possibly the old wsgi process is still running?"
dependencies
:
-
build
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