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

run as user 'sdc' on dop814, instead of 'vermaas'

parent 425c9b05
Branches
Tags
1 merge request!261updating ci/cd pipeline with stages and do it as user 'sdc' instead of 'vermaas'
Pipeline #37905 passed
...@@ -33,8 +33,8 @@ docker-deploy-to-test: ...@@ -33,8 +33,8 @@ docker-deploy-to-test:
- ssh-keyscan dop814.astron.nl >> ~/.ssh/known_hosts - ssh-keyscan dop814.astron.nl >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
script: script:
- ssh -o StrictHostKeyChecking=no vermaas@dop814.astron.nl "docker pull "$CI_REGISTRY_IMAGE"" - ssh -o StrictHostKeyChecking=no sdc@dop814.astron.nl "docker pull "$CI_REGISTRY_IMAGE""
- ssh -o StrictHostKeyChecking=no vermaas@dop814.astron.nl "docker-compose -p atdb -f /docker_compose/atdb-ldv/docker-compose-dev-cd.yml up -d" - ssh -o StrictHostKeyChecking=no sdc@dop814.astron.nl "docker-compose -p atdb -f /docker_compose/atdb-ldv/docker-compose-dev-cd.yml up -d"
when: manual when: manual
# only: # only:
# - master # - master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment