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

enable shared runners and switch to 'sdc-dev' tag

parent 085a697d
No related branches found
No related tags found
No related merge requests found
Pipeline #41884 passed
...@@ -18,10 +18,12 @@ docker-build: ...@@ -18,10 +18,12 @@ docker-build:
# - master # - master
# deploy master or branch to 'sdc-dev.astron.nl' # deploy to 'sdc-dev.astron.nl'
docker-deploy-to-test: docker-deploy-to-test:
image: docker:latest image: docker:latest
stage: deploy_to_test stage: deploy_to_test
tags:
- "sdc-dev"
before_script: before_script:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
...@@ -39,10 +41,12 @@ docker-deploy-to-test: ...@@ -39,10 +41,12 @@ docker-deploy-to-test:
# only: # only:
# - master # - master
# deploy master branch to 'sdc.astron.nl' # deploy to 'sdc.astron.nl'
docker-deploy-master-to-production: docker-deploy-to-production:
image: docker:latest image: docker:latest
stage: deploy_to_production stage: deploy_to_production
tags:
- "sdc-dev"
before_script: before_script:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
...@@ -56,5 +60,5 @@ docker-deploy-master-to-production: ...@@ -56,5 +60,5 @@ docker-deploy-master-to-production:
- ssh -o StrictHostKeyChecking=no sdco@dop821.astron.nl "docker pull "$CI_REGISTRY_IMAGE"" - ssh -o StrictHostKeyChecking=no sdco@dop821.astron.nl "docker pull "$CI_REGISTRY_IMAGE""
- ssh -o StrictHostKeyChecking=no sdco@dop821.astron.nl "docker-compose -p atdb -f /opt/dockercompose/atdb-ldv-compose/docker-compose-production-cd.yml up -d" - ssh -o StrictHostKeyChecking=no sdco@dop821.astron.nl "docker-compose -p atdb -f /opt/dockercompose/atdb-ldv-compose/docker-compose-production-cd.yml up -d"
when: manual when: manual
only: # only:
- master # - master
\ No newline at end of file \ No newline at end of file
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{% include 'taskdatabase/pagination.html' %} {% include 'taskdatabase/pagination.html' %}
</div> </div>
</div> </div>
<p class="footer"> Version 22 December 2022 - 12:00 <p class="footer"> Version 23 December 2022 - 8:00
</div> </div>
......
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