diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4bd9f8019320029a11172a0f31fe3e609694c39a..f82ea229d6f7a3a49cebab76cde646c15aae2d95 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: