Skip to content
Snippets Groups Projects
Commit ae0ed0e6 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

reverted staging step

parent c2d4eb61
No related branches found
No related tags found
4 merge requests!39Dev nico,!23Master,!22Master,!20reverted staging step
stages:
- build
- staging
- deploy
docker-build:
docker-build-master:
# Official docker image.
image: docker:latest
stage: build
......@@ -73,25 +72,6 @@ docker-deploy-acceptance:
only:
- acceptance
# deploy acceptance version on 'dop457.astron.nl'
docker-staging-acceptance:
image: docker:latest
stage: staging
before_script:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan dop457.astron.nl >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- ssh -o StrictHostKeyChecking=no vermaas@dop457.astron.nl "docker pull "$CI_REGISTRY_IMAGE""
- ssh -o StrictHostKeyChecking=no vermaas@dop457.astron.nl "docker-compose -p atdb -f /data/docker_compose/docker-compose-atdb-ldv-acc-cd.yml up -d"
when: manual
only:
- release
# deploy release version on 'sdc.astron.nl'
docker-deploy-release:
image: docker:latest
......
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