From cdacd99dc6c9e3a08b44fa962341f42d2b2e3142 Mon Sep 17 00:00:00 2001 From: Krish Moodbidri <krish94@uab.edu> Date: Wed, 25 Sep 2024 09:55:32 -0500 Subject: [PATCH] Update file .gitlab-ci.yml --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4bd9f80..f82ea22 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -372,6 +372,23 @@ test_ood_image_mr: rules: - if: $CI_MERGE_REQUEST_ID +deploy_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 + when: manual + rules: + - if: $CI_PIPELINE_SOURCE == "schedule" + when: always + deploy_review: stage: deploy script: -- GitLab