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

try tweaking pex stage python path

parent 3792c722
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1406Fixing pex installation.
Pipeline #10434 passed
......@@ -9,6 +9,9 @@
- echo "$SSH_PRIVATE_KEY" | ssh-add - > ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config'
script:
- mkdir -p /home/ssa/bin
- ln -s "$(which python3)" /home/ssa/bin/python3.10
- export PATH=$PATH:/home/ssa/bin
- pip install pex
- pex ${PIP_NAME} -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}"
......@@ -28,4 +31,4 @@
DEPLOY_ENV: "test"
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables:
DEPLOY_ENV: "prod"
\ No newline at end of file
DEPLOY_ENV: "prod"
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