Skip to content
Snippets Groups Projects
Commit e1fba791 authored by Brittany Faciane's avatar Brittany Faciane
Browse files

simplifying release process

parent 0d80cf34
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1406Fixing pex installation.
Pipeline #10398 failed
......@@ -9,10 +9,7 @@
- echo "$SSH_PRIVATE_KEY" | ssh-add - > ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config'
script:
- pip install pex
- pex ${PIP_NAME} -c ${PACKAGE_NAME} -o ./${PACKAGE_NAME} -i https://gitlab.nrao.edu/api/v4/projects/621/packages/pypi/simple"
- echo "Releasing PEX to sbin area - ${PACKAGE_NAME}"
- |
RELEASE_CMD="cd /lustre/aoc/cluster/pipeline/dsoc-dev/workspaces/sbin/ && \
pip install pex \
pex ${PIP_NAME} -c ${PACKAGE_NAME} -o ./${PACKAGE_NAME} -i https://gitlab.nrao.edu/api/v4/projects/621/packages/pypi/simple"
- B64CMD=$(echo "$RELEASE_CMD" | base64 | sed ':a;N;$!ba;s/\n//g')
- ssh -A shipman.aoc.nrao.edu "echo ${B64CMD} | base64 -d | bash"
- scp ${PACKAGE_NAME} vlapipe@wirth:/lustre/aoc/cluster/pipeline/dsoc-dev/workspaces/sbin/
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