Skip to content
Snippets Groups Projects
Commit 0c1e7b78 authored by Brittany Faciane's avatar Brittany Faciane Committed by Daniel Lyons
Browse files

fixing pex puller permissions

parent 3f9f069a
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1327Convert from flit to poetry
......@@ -48,6 +48,7 @@ COPY --chown=vlapipe:vlapipe ./services/workflow/pex-requirements.txt ./pex-requ
RUN SETUPTOOLS_SCM_PRETEND_VERSION=${WS_VERSION} pip install --user -r pex-requirements.txt
FROM base as server-pex
USER root
COPY --chown=vlapipe:vlapipe ./services/workflow/bin/install-pexes.sh ./install-pexes.sh
RUN . ./install-pexes.sh
......
......@@ -19,6 +19,6 @@ for row in $(echo "${pexes}" | jq -r '.[] | @base64'); do
_jq() {
echo ${row} | base64 --decode | jq -r ${1}
}
curl --header "PRIVATE-TOKEN: glpat-vPamXXk4PZPe8GQAzmY2" "https://gitlab.nrao.edu/api/v4/projects/621/packages/generic/$(_jq '.name')/$(_jq '.version')/$(_jq '.name')-$(_jq '.version')-py3-none-any.whl" --output "$(_jq '.altname')-$(_jq '.version')-py3-none-any.whl"
curl --header "PRIVATE-TOKEN: glpat-vPamXXk4PZPe8GQAzmY2" "https://gitlab.nrao.edu/api/v4/projects/621/packages/generic/$(_jq '.name')/$(_jq '.version')/$(_jq '.name')-$(_jq '.version')-py3-none-any.whl" --output "$(_jq '.name')-$(_jq '.version')-py3-none-any.whl"
pip3 install "$(_jq '.name')-$(_jq '.version')-py3-none-any.whl"
done
\ No newline at end of file
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