Skip to content
Snippets Groups Projects
Commit 194f07f5 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

feat: Automate ood knightly build and deploy in a single pipeline

parent a43040d4
No related branches found
No related tags found
No related merge requests found
Pipeline #14109 canceled with stages
in 2 minutes and 34 seconds
...@@ -210,7 +210,7 @@ build_ood_image: ...@@ -210,7 +210,7 @@ build_ood_image:
reports: reports:
dotenv: image.env dotenv: image.env
rules: rules:
- if: $PIPELINE_TARGET == "build" && $BUILD_TARGET == "ood" - if: $BUILD_TARGET == "ood"
when: always when: always
deploy_http_proxy_node: deploy_http_proxy_node:
...@@ -380,6 +380,7 @@ deploy_ood_node: ...@@ -380,6 +380,7 @@ deploy_ood_node:
tags: tags:
- build - build
script: script:
- OOD_IMAGE_ID="${BUILT_OOD_IMAGE_ID:-$OOD_IMAGE_ID}"
- openstack image set --accept $OOD_IMAGE_ID || true - openstack image set --accept $OOD_IMAGE_ID || true
- FAILED=false - FAILED=false
- | - |
...@@ -424,5 +425,5 @@ deploy_ood_node: ...@@ -424,5 +425,5 @@ deploy_ood_node:
openstack server add floating ip $OOD_INSTANCE_ID $OOD_FLOATING_IP openstack server add floating ip $OOD_INSTANCE_ID $OOD_FLOATING_IP
done done
rules: rules:
- if: $PIPELINE_TARGET == "deploy" && $OOD_IMAGE_ID - if: $DEPLOY_TARGET == "ood"
when: always when: always
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