Skip to content
Snippets Groups Projects
Commit c88f2470 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

try deploying again with version tag

parent 840213c3
No related branches found
Tags 2.8.0
2 merge requests!1452Merge 2.8.2 to main,!1396changes for local builds
Pipeline #10340 passed
......@@ -436,7 +436,7 @@ deploy:
# This sed command finds and replaces "dsoc_ENV_secrets:" with "dsoc_${DEPLOY_ENV}_secrets:"
- sed -i "s/dsoc_ENV_secrets:/dsoc_${DEPLOY_ENV}_secrets:/g" docker-compose.yml
- sed -i "s/naasc_ENV_secrets:/naasc_${DEPLOY_ENV}_secrets:/g" docker-compose.yml
- ENV=$DEPLOY_ENV TAG=$IMAGE_TAG DL_HOST=$DL_HOST ENV_HOST=$ENV_HOST BASE_REGISTRY_URL=$REGISTRY_URL docker stack deploy --compose-file docker-compose.yml --with-registry-auth workspaces-${DEPLOY_ENV}
- ENV=$DEPLOY_ENV TAG=$IMAGE_TAG DL_HOST=$DL_HOST ENV_HOST=$ENV_HOST WS_VERSION=$ BASE_REGISTRY_URL=$REGISTRY_URL docker stack deploy --compose-file docker-compose.yml --with-registry-auth workspaces-${DEPLOY_ENV}
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
variables:
......@@ -447,6 +447,7 @@ deploy:
DL_HOST: https://dl-nrao.nrao.edu
# override ENV_HOST
ENV_HOST: ws-dev.nrao.edu
VERSION: 0.0.1+$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables:
IMAGE_TAG: $CI_COMMIT_TAG
......
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