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

make version only listed in one place

parent 26808a04
No related branches found
No related tags found
2 merge requests!1605Merge 2.8.2.3 work to main,!1492tweak the pipeline
......@@ -24,6 +24,7 @@ variables:
POSTGRES_DB: archive
POSTGRES_USER: "archive"
POSTGRES_PASSWORD: "docker"
RELEASE_VERSION: 2.8.2.1.dev1
image: docker:19.03.12
......
......@@ -14,37 +14,33 @@
- ln -s "$(which python3)" /home/ssa/bin/python3.10
- export PATH=$PATH:/home/ssa/bin
- pip install pex
- pex ${PEX_SOURCE} -c ${PACKAGE_NAME} -o ./${PACKAGE_NAME} -i https://gitlab.nrao.edu/api/v4/projects/621/packages/pypi/simple --python-shebang /home/ssa/bin/python3.10 --disable-cache
- pex ${PIP_NAME}==${RELEASE_VERSION} -c ${PACKAGE_NAME} -o ./${PACKAGE_NAME} -i https://gitlab.nrao.edu/api/v4/projects/621/packages/pypi/simple --python-shebang /home/ssa/bin/python3.10 --disable-cache
- echo "Releasing PEX to sbin area - ${PACKAGE_NAME}"
- scp ${PACKAGE_NAME} root@shipman.aoc.nrao.edu:/lustre/aoc/cluster/pipeline/dsoc-${DEPLOY_ENV}/workspaces/sbin/
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /(^[0-9]\.[0-9]|^[0-9]\.[0-9]\.[0-9])-DEVELOPMENT/'
variables:
DEPLOY_ENV: "dev"
PEX_SOURCE: ${PIP_NAME}==2.8.2.1rc1
changes:
- apps/cli/executables/pexable/${PACKAGE_NAME}/**/*
# Uncomment for pipeline testing only
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
variables:
DEPLOY_ENV: "dev"
PEX_SOURCE: ${PIP_NAME}==2.8.2.1rc1
changes:
- apps/cli/executables/pexable/${PACKAGE_NAME}/**/*
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/'
variables:
DEPLOY_ENV: "test"
PEX_SOURCE: ${PIP_NAME}==2.8.2.1rc1
changes:
- apps/cli/executables/pexable/${PACKAGE_NAME}/**/*
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables:
DEPLOY_ENV: "test"
PEX_SOURCE: ${PIP_NAME}==2.8.2.1rc1
changes:
- apps/cli/executables/pexable/${PACKAGE_NAME}/**/*
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables:
DEPLOY_ENV: "prod"
PEX_SOURCE: ${PIP_NAME}==${CI_COMMIT_TAG}
changes:
- apps/cli/executables/pexable/${PACKAGE_NAME}/**/*
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