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

Commit 70487b7

Browse files
committed
Re-enable cluster tests
1 parent bffe460 commit 70487b7

File tree

1 file changed

+31
-33
lines changed

1 file changed

+31
-33
lines changed

.grabl/automation.yml

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,20 @@ build:
6464
export ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
6565
bazel run @vaticle_dependencies//distribution/artifact:create-netrc
6666
.grabl/test-core.sh //tests/behaviour/connection/... --test_output=errors --jobs=1
67-
# test-behaviour-connection-cluster:
68-
# image: vaticle-ubuntu-21.04
69-
# type: foreground
70-
# command: |
71-
# pyenv global 3.6.10
72-
# pip3 install -U pip
73-
# pip install -r requirements_dev.txt
74-
# sudo unlink /usr/bin/python3
75-
# sudo ln -s $(which python3) /usr/bin/python3
76-
# sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
77-
# export ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
78-
# export ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
79-
# bazel run @vaticle_dependencies//distribution/artifact:create-netrc
80-
# .grabl/test-cluster.sh //tests/behaviour/connection/... --test_output=errors --jobs=1
67+
test-behaviour-connection-cluster:
68+
image: vaticle-ubuntu-21.04
69+
type: foreground
70+
command: |
71+
pyenv global 3.6.10
72+
pip3 install -U pip
73+
pip install -r requirements_dev.txt
74+
sudo unlink /usr/bin/python3
75+
sudo ln -s $(which python3) /usr/bin/python3
76+
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
77+
export ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
78+
export ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
79+
bazel run @vaticle_dependencies//distribution/artifact:create-netrc
80+
.grabl/test-cluster.sh //tests/behaviour/connection/... --test_output=errors --jobs=1
8181
test-behaviour-concept-core:
8282
image: vaticle-ubuntu-21.04
8383
type: foreground
@@ -121,21 +121,21 @@ build:
121121
bazel run @vaticle_dependencies//distribution/artifact:create-netrc
122122
.grabl/test-core.sh //tests/behaviour/typeql/language/match/... --test_output=errors
123123
.grabl/test-core.sh //tests/behaviour/typeql/language/get/... --test_output=errors
124-
# test-behaviour-match-cluster:
125-
# image: vaticle-ubuntu-21.04
126-
# type: foreground
127-
# command: |
128-
# pyenv global 3.6.10
129-
# pip3 install -U pip
130-
# pip install -r requirements_dev.txt
131-
# sudo unlink /usr/bin/python3
132-
# sudo ln -s $(which python3) /usr/bin/python3
133-
# sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
134-
# export ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
135-
# export ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
136-
# bazel run @vaticle_dependencies//distribution/artifact:create-netrc
137-
# .grabl/test-cluster.sh //tests/behaviour/typeql/language/match/... --test_output=errors
138-
# .grabl/test-cluster.sh //tests/behaviour/typeql/language/get/... --test_output=errors
124+
test-behaviour-match-cluster:
125+
image: vaticle-ubuntu-21.04
126+
type: foreground
127+
command: |
128+
pyenv global 3.6.10
129+
pip3 install -U pip
130+
pip install -r requirements_dev.txt
131+
sudo unlink /usr/bin/python3
132+
sudo ln -s $(which python3) /usr/bin/python3
133+
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
134+
export ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
135+
export ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
136+
bazel run @vaticle_dependencies//distribution/artifact:create-netrc
137+
.grabl/test-cluster.sh //tests/behaviour/typeql/language/match/... --test_output=errors
138+
.grabl/test-cluster.sh //tests/behaviour/typeql/language/get/... --test_output=errors
139139
test-behaviour-writable-core:
140140
image: vaticle-ubuntu-21.04
141141
type: foreground
@@ -217,11 +217,9 @@ build:
217217
image: vaticle-ubuntu-21.04
218218
dependencies: [
219219
build,
220-
test-behaviour-connection-core,
221-
# test-behaviour-connection-cluster,
220+
test-behaviour-connection-core, test-behaviour-connection-cluster,
222221
test-behaviour-concept-core, test-behaviour-concept-cluster,
223-
test-behaviour-match-core,
224-
# test-behaviour-match-cluster,
222+
test-behaviour-match-core, test-behaviour-match-cluster,
225223
test-behaviour-writable-core, test-behaviour-writable-cluster,
226224
test-behaviour-definable-core, test-behaviour-definable-cluster,
227225
test-failover-cluster

0 commit comments

Comments
 (0)