Skip to content
Snippets Groups Projects
Commit 6bf91ad5 authored by Maria Petrova-El Sayed's avatar Maria Petrova-El Sayed
Browse files

mark next steps for CD

parent 35760b52
Branches
Tags
2 merge requests!3Update .gitlab-ci.yml,!2Merge CI/CD settings and get current progress on docker-compose
Pipeline #71193 failed
...@@ -53,8 +53,13 @@ deploy: ...@@ -53,8 +53,13 @@ deploy:
- pip install python-openstackclient - pip install python-openstackclient
- openstack image list - openstack image list
- openstack server create --flavor s1 --image 149a65b5-aeb8-499f-aaa6-ec966bd28dd6 pipeline-inst - openstack server create --flavor s1 --image 149a65b5-aeb8-499f-aaa6-ec966bd28dd6 pipeline-inst
- docker build --no-cache=true --pull -f ./apiserver/Dockerfile . # - reassign floating ip
- docker run # - login on the new instance pipeline-inst
- sudo docker network create net #net is the docker internal network.. put it in a Variable?
- sudo docker-compose up -d
# - docker build --no-cache=true --pull -f ./apiserver/Dockerfile -t api-test . #pull from $CI_REGISTRY
# - sudo docker run --name api-test-cloud --network net -e VIRTUAL_HOST="zam10028.zam.kfa-juelich.de" -e LETSENCRYPT_HOST="zam10028.zam.kfa-juelich.de" -d api-test
# - openstack server destroy pipeline-inst #old
# This should be an automatic push of the docker image into gitLab container repository # This should be an automatic push of the docker image into gitLab container repository
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment