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

Update .gitlab-ci.yml file

parent 570473fc
Branches
Tags
No related merge requests found
Pipeline #77313 failed
...@@ -6,7 +6,6 @@ stages: ...@@ -6,7 +6,6 @@ stages:
- build - build
- publish - publish
- deploy - deploy
- test
test: test:
stage: test stage: test
...@@ -29,7 +28,7 @@ deploy-test: ...@@ -29,7 +28,7 @@ deploy-test:
stage: deploy stage: deploy
environment: Testing environment: Testing
only: only:
- mptest && web - mptest
when: manual when: manual
variables: variables:
OS_AUTH_TYPE: v3applicationcredential OS_AUTH_TYPE: v3applicationcredential
...@@ -40,7 +39,6 @@ deploy-test: ...@@ -40,7 +39,6 @@ deploy-test:
FLOATING_IP: 134.94.199.220 FLOATING_IP: 134.94.199.220
script: script:
- echo "Starting the full testing deployment of airflows example." - echo "Starting the full testing deployment of airflows example."
# - sed -i 's_datacatalog.fz_zam10036.zam.kfa_g' deploy_scripts/cloudinit.yml
- pip install python-openstackclient - pip install python-openstackclient
- INSTANCE_ID=`openstack server create -f value -c id --prefix IMAGE_ --flavor s2 --image 149a65b5-aeb8-499f-aaa6-ec966bd28dd6 --user-data cloudinit.yml --security-group ssh --security-group airflows --security-group www --security-group https testing-deployment` - INSTANCE_ID=`openstack server create -f value -c id --prefix IMAGE_ --flavor s2 --image 149a65b5-aeb8-499f-aaa6-ec966bd28dd6 --user-data cloudinit.yml --security-group ssh --security-group airflows --security-group www --security-group https testing-deployment`
- while [ "`openstack server show $INSTANCE_ID -c addresses -f value`" = "{}" ]; do sleep 5; done # wait until an address is available to attach the floating ip - while [ "`openstack server show $INSTANCE_ID -c addresses -f value`" = "{}" ]; do sleep 5; done # wait until an address is available to attach the floating ip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment