Skip to content
Snippets Groups Projects
Commit 35a6e43b authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

fix deployment script for starting OOD proxy

- Consolidated duplicate `script` blocks into one
- Corrected YAML indentation for the `script` block
parent d073cbe4
No related branches found
No related tags found
No related merge requests found
......@@ -405,16 +405,14 @@ start_ood_proxy:
stage: deploy
script:
- echo "Deploy OOD proxy"
- |
openstack server create --image $GPU_PLACEHOLDER_IMAGE --network cicd-net --flavor $GPU_PLACEHOLDER_FLAVOR $GPU_PLACEHOLDER_NAME
export PROXY_IP=$(openstack server show $GPU_PLACEHOLDER_NAME -f value -c addresses | cut -d'=' -f2)
echo "OOD Proxy started with IP: $PROXY_IP"
environment:
name: knightly
tags:
- build
script:
- |
- openstack server create --image $GPU_PLACEHOLDER_IMAGE --network cicd-net --flavor $GPU_PLACEHOLDER_FLAVOR $GPU_PLACEHOLDER_NAME
- export PROXY_IP=$(openstack server show $PROXY_INSTANCE_NAME -f value -c addresses | cut -d'=' -f2)
- echo "OOD Proxy started with IP: $PROXY_IP"
- |
when: manual
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
......
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