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: ...@@ -405,16 +405,14 @@ start_ood_proxy:
stage: deploy stage: deploy
script: script:
- echo "Deploy OOD proxy" - 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: environment:
name: knightly name: knightly
tags: tags:
- build - 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 when: manual
rules: rules:
- if: $CI_PIPELINE_SOURCE == "schedule" - 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