Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit 3588531

Browse files
author
Alex Walker
authored
Don't run test-deployment in CI (#135)
## What is the goal of this PR? Temporarily comment out test-deployment from CI until we implement it properly
1 parent 5487cc0 commit 3588531

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

.grabl/automation.yml

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -102,30 +102,31 @@ build:
102102
export DEPLOY_PIP_USERNAME=$REPO_GRAKN_USERNAME
103103
export DEPLOY_PIP_PASSWORD=$REPO_GRAKN_PASSWORD
104104
bazel run --define version=$(git rev-parse HEAD) //:deploy-pip -- snapshot
105-
test-deployment:
106-
machine: graknlabs-ubuntu-20.04
107-
dependencies: [deploy-pip-snapshot]
108-
filter:
109-
owner: graknlabs
110-
branch: master
111-
type: foreground
112-
script: |
113-
pyenv global 3.6.10
114-
sudo unlink /usr/bin/python3
115-
sudo ln -s $(which python3) /usr/bin/python3
116-
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
117-
ARTIFACT_USERNAME=$REPO_GRAKN_USERNAME \
118-
ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD \
119-
bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
120-
bazel run //:grakn-extractor -- dist/grakn-core-server-linux
121-
nohup ./dist/grakn-core-server-linux/grakn server start
122-
sleep 60
123-
echo -n "0.0.0-$GRABL_COMMIT" > VERSION
124-
sed -i -e "s/CLIENT_PYTHON_VERSION_MARKER/$(cat VERSION)/g" test/deployment/requirements.txt
125-
cat test/deployment/requirements.txt
126-
pip install --upgrade pip
127-
pip install -r test/deployment/requirements.txt
128-
cd test/deployment/ && python -m unittest test
105+
# TODO: fix test-deployment
106+
# test-deployment:
107+
# machine: graknlabs-ubuntu-20.04
108+
# dependencies: [deploy-pip-snapshot]
109+
# filter:
110+
# owner: graknlabs
111+
# branch: master
112+
# type: foreground
113+
# script: |
114+
# pyenv global 3.6.10
115+
# sudo unlink /usr/bin/python3
116+
# sudo ln -s $(which python3) /usr/bin/python3
117+
# sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
118+
# ARTIFACT_USERNAME=$REPO_GRAKN_USERNAME \
119+
# ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD \
120+
# bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
121+
# bazel run //:grakn-extractor -- dist/grakn-core-server-linux
122+
# nohup ./dist/grakn-core-server-linux/grakn server start
123+
# sleep 60
124+
# echo -n "0.0.0-$GRABL_COMMIT" > VERSION
125+
# sed -i -e "s/CLIENT_PYTHON_VERSION_MARKER/$(cat VERSION)/g" test/deployment/requirements.txt
126+
# cat test/deployment/requirements.txt
127+
# pip install --upgrade pip
128+
# pip install -r test/deployment/requirements.txt
129+
# cd test/deployment/ && python -m unittest test
129130

130131
release:
131132
filter:

0 commit comments

Comments
 (0)