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

adding database migration to CI/CD pipeline

parent 37d6feda
Branches
No related tags found
No related merge requests found
Pipeline #7155 failed
...@@ -47,7 +47,6 @@ docker-deploy-master: ...@@ -47,7 +47,6 @@ docker-deploy-master:
script: script:
- ssh -o StrictHostKeyChecking=no vermaas@sdc.astron.nl "docker pull "$CI_REGISTRY_IMAGE"" - ssh -o StrictHostKeyChecking=no vermaas@sdc.astron.nl "docker pull "$CI_REGISTRY_IMAGE""
- ssh -o StrictHostKeyChecking=no vermaas@sdc.astron.nl "docker-compose -p atdb -f /docker_compose/atdb-ldv/docker-compose-cd.yml up -d" - ssh -o StrictHostKeyChecking=no vermaas@sdc.astron.nl "docker-compose -p atdb -f /docker_compose/atdb-ldv/docker-compose-cd.yml up -d"
- ssh -o StrictHostKeyChecking=no vermaas@sdc.astron.nl "docker exec -it atdb-ldv python manage.py makemigrations taskdatabase --settings atdb.settings.docker_sdc"
when: manual when: manual
only: only:
- master - master
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment