Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rolf Erik Sesseng Aas
tdt4242-base
Commits
b6408e8b
Commit
b6408e8b
authored
Mar 19, 2021
by
Sigurd Røstad Augdal
Browse files
Update .gitlab-ci.yml, docker-compose.yml files - second try.
parent
f447e43a
Pipeline
#118625
passed with stages
in 5 minutes and 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b6408e8b
...
...
@@ -60,7 +60,6 @@ deploy-stage:
only
:
-
develop
stage
:
deploy
--skip-cleanup
:
true
before_script
:
-
apt-get update -qy
-
apt-get install -y ruby-dev
...
...
@@ -68,14 +67,13 @@ deploy-stage:
script
:
-
echo "Deploying to Heroku stage"
-
dpl --provider=heroku --app=$HEROKU_FRONTEND_APP_STAGE --api-key=$HEROKU_API_KEY
-
dpl --provider=heroku --app=$HEROKU_BACKEND_APP_STAGE --api-key=$HEROKU_API_KEY
-
dpl --provider=heroku --app=$HEROKU_BACKEND_APP_STAGE --api-key=$HEROKU_API_KEY
--skip-cleanup=true
deploy-prod
:
image
:
ruby:latest
only
:
-
master
stage
:
deploy
--skip-cleanup
:
true
before_script
:
-
apt-get update -qy
-
apt-get install -y ruby-dev
...
...
@@ -83,5 +81,5 @@ deploy-prod:
script
:
-
echo "Deploying to Heroku production"
-
dpl --provider=heroku --app=$HEROKU_FRONTEND_APP_PRODUCTION --api-key=$HEROKU_API_KEY
-
dpl --provider=heroku --app=$HEROKU_BACKEND_APP_PRODUCTION --api-key=$HEROKU_API_KEY
-
dpl --provider=heroku --app=$HEROKU_BACKEND_APP_PRODUCTION --api-key=$HEROKU_API_KEY
--skip-cleanup=true
docker-compose.yml
View file @
b6408e8b
...
...
@@ -6,7 +6,6 @@ services:
build
:
context
:
backend/secfit/
dockerfile
:
Dockerfile
skip_cleanup
:
true
args
:
DJANGO_SUPERUSER_USERNAME
:
"
${DJANGO_SUPERUSER_USERNAME}"
DJANGO_SUPERUSER_PASSWORD
:
"
${DJANGO_SUPERUSER_PASSWORD}"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment