This repository was archived by the owner on Oct 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -220,25 +220,29 @@ build:
220220 branch : master
221221 type : foreground
222222 command : |
223- export PATH="$HOME/.local/bin:$PATH"
224- sudo apt-get update
225- sudo apt install python3-pip -y
226- python3 -m pip install -U pip
223+ export PYENV_ROOT="/opt/pyenv"
224+ pyenv install 3.7.9
225+ pyenv global 3.7.9
226+ sudo unlink /usr/bin/python3
227+ sudo ln -s $(which python3) /usr/bin/python3
228+ sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.9/lib/python3.7/site-packages/lsb_release.py
227229 export DEPLOY_PIP_USERNAME=$REPO_VATICLE_USERNAME
228230 export DEPLOY_PIP_PASSWORD=$REPO_VATICLE_PASSWORD
229231 bazel run --define version=$(git rev-parse HEAD) //:deploy-pip -- snapshot
230232 test-deployment-pip :
231- image : vaticle-ubuntu-22 .04
233+ image : vaticle-ubuntu-20 .04
232234 dependencies : [deploy-pip-snapshot]
233235 filter :
234236 owner : vaticle
235237 branch : master
236238 type : foreground
237239 command : |
238- export PATH="$HOME/.local/bin:$PATH"
239- sudo apt-get update
240- sudo apt install python3-pip -y
241- python3 -m pip install -U pip
240+ export PYENV_ROOT="/opt/pyenv"
241+ pyenv install 3.7.9
242+ pyenv global 3.7.9
243+ sudo unlink /usr/bin/python3
244+ sudo ln -s $(which python3) /usr/bin/python3
245+ sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.9/lib/python3.7/site-packages/lsb_release.py
242246 bazel run //tests:typedb-extractor -- typedb-all-linux
243247 ./typedb-all-linux/typedb server &
244248 python3 -m pip install --extra-index-url https://repo.vaticle.com/repository/pypi-snapshot/simple typedb-client==0.0.0-$FACTORY_COMMIT
You can’t perform that action at this time.
0 commit comments