Skip to content
Snippets Groups Projects
Commit 2c91bee6 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Add deployment job to gitlab-ci

parent 5ace0078
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ variables:
stages:
- build
- release
- deploy
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
......@@ -48,3 +49,23 @@ release-python-server-image:
- docker push "$PYTHON_SERVER_IMAGE:latest"
only:
- tags
deploy-production:
tags:
- docker
stage: deploy
image: registry.esss.lu.se/ics-docker/tower-cli:latest
before_script: []
script:
- >
tower-cli job launch
-h ${TOWER_HOST}
-t ${TOWER_OAUTH_TOKEN}
-J deploy-public-operations-screen
--monitor
environment:
name: production
url: https://pos.esss.lu.se
only:
- tags
when: manual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment