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

Correct typos. Bigger size for the cloud instance

parent 53fd5877
No related branches found
No related tags found
No related merge requests found
Pipeline #84264 passed
......@@ -33,8 +33,6 @@ test:
deploy-test:
stage: deploy
environment: Testing
only:
- mptest
when: manual
variables:
OS_AUTH_TYPE: v3applicationcredential
......@@ -46,7 +44,7 @@ deploy-test:
script:
- echo "Starting the full testing deployment of airflows example."
- pip install python-openstackclient
- INSTANCE_ID=`openstack server create -f value -c id --prefix IMAGE_ --flavor m2 --image 149a65b5-aeb8-499f-aaa6-ec966bd28dd6 --user-data scripts/cloudinit.yml --security-group ssh --security-group airflows --security-group www --security-group https airflow-testing`
- INSTANCE_ID=`openstack server create -f value -c id --prefix IMAGE_ --flavor m4 --image 149a65b5-aeb8-499f-aaa6-ec966bd28dd6 --user-data scripts/cloudinit.yml --security-group ssh --security-group airflows --security-group www --security-group https airflow-testing`
- 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
- openstack server add floating ip $INSTANCE_ID $FLOATING_IP
- echo "Done"
......@@ -67,7 +67,7 @@ runcmd:
- sudo sh -c "echo \"_PIP_ADDITIONAL_REQUIREMENTS=$reqs\" >> /home/maria/data-logistics-service/dockers/.env"
- echo "Bringing up the docker containers"
- docker-compose -f ./dockers/docker-compose.yaml --project-directory ../airflow --verbose up airflow-init
- docker-compose -f ./dockers/docker-compose.yaml --project-directory ../airflow . up
- docker-compose -f ./dockers/docker-compose.yaml --project-directory ../airflow up -d
# - /bin/bash ./scripts/deployment.sh .
final_message: "The system is finally up, after $UPTIME seconds"
\ No newline at end of file
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