@@ -50,36 +50,34 @@ build:
50
50
export ARTIFACT_USERNAME=$REPO_GRAKN_USERNAME
51
51
export ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD
52
52
bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
53
- bazel build //...
54
- bazel run @graknlabs_dependencies//tool/checkstyle:test-coverage
55
- bazel test $(bazel query 'kind(checkstyle_test, //...)') --test_output=errors
53
+ bazel build --config=rbe //...
54
+ bazel run --config=rbe @graknlabs_dependencies//tool/checkstyle:test-coverage
55
+ bazel test --config=rbe $(bazel query 'kind(checkstyle_test, //...)') --test_output=errors
56
56
build-dependency :
57
57
image : graknlabs-ubuntu-20.04
58
58
command : |
59
59
dependencies/maven/update.sh
60
60
git diff --exit-code dependencies/maven/artifacts.snapshot
61
- bazel run @graknlabs_dependencies//tool/unuseddeps:unused-deps -- list
61
+ bazel run --config=rbe @graknlabs_dependencies//tool/unuseddeps:unused-deps -- list
62
62
test-integration :
63
63
image : graknlabs-ubuntu-20.04
64
64
command : |
65
65
export ARTIFACT_USERNAME=$REPO_GRAKN_USERNAME
66
66
export ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD
67
67
bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
68
- bazel test //test/integration/... --test_output=streamed
69
- # TODO: use --config=rbe once Grakn Core runs in RBE
68
+ bazel test --config=rbe //test/integration/... --test_output=streamed
70
69
test-behaviour :
71
70
image : graknlabs-ubuntu-20.04
72
71
command : |
73
72
export ARTIFACT_USERNAME=$REPO_GRAKN_USERNAME
74
73
export ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD
75
74
bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
76
- bazel test //test/behaviour/connection/... --test_output=streamed --jobs=1
77
- bazel test //test/behaviour/concept/... --test_output=streamed
78
- bazel test //test/behaviour/graql/language/match/... --test_output=streamed
79
- bazel test //test/behaviour/graql/language/get/... --test_output=streamed
80
- bazel test //test/behaviour/graql/language/define/... --test_output=streamed
75
+ bazel test --config=rbe //test/behaviour/connection/... --test_output=streamed --jobs=1
76
+ bazel test --config=rbe //test/behaviour/concept/... --test_output=streamed
77
+ bazel test --config=rbe //test/behaviour/graql/language/match/... --test_output=streamed
78
+ bazel test --config=rbe //test/behaviour/graql/language/get/... --test_output=streamed
79
+ bazel test --config=rbe //test/behaviour/graql/language/define/... --test_output=streamed
81
80
# TODO: delete --jobs=1 if we fix the issue with excess memory usage
82
- # TODO: use --config=rbe once Grakn Core runs in RBE
83
81
# TODO: add more Graql Language tests as they are fixed
84
82
deploy-maven-snapshot :
85
83
image : graknlabs-ubuntu-20.04
90
88
command : |
91
89
export DEPLOY_MAVEN_USERNAME=$REPO_GRAKN_USERNAME
92
90
export DEPLOY_MAVEN_PASSWORD=$REPO_GRAKN_PASSWORD
93
- bazel run --define version=$(git rev-parse HEAD) //:deploy-maven -- snapshot
91
+ bazel run --config=rbe -- define version=$(git rev-parse HEAD) //:deploy-maven -- snapshot
94
92
test-deployment-maven :
95
93
image : graknlabs-ubuntu-20.04
96
94
dependencies : [deploy-maven-snapshot]
@@ -123,11 +121,11 @@ release:
123
121
export RELEASE_NOTES_TOKEN=$REPO_GITHUB_TOKEN
124
122
bazel run @graknlabs_dependencies//tool/release:create-notes -- client-java $(cat VERSION) ./RELEASE_TEMPLATE.md
125
123
export DEPLOY_GITHUB_TOKEN=$REPO_GITHUB_TOKEN
126
- bazel run --define version=$(cat VERSION) //:deploy-github -- $GRABL_COMMIT
124
+ bazel run --config=rbe -- define version=$(cat VERSION) //:deploy-github -- $GRABL_COMMIT
127
125
deploy-maven-release :
128
126
image : graknlabs-ubuntu-20.04
129
127
dependencies : [deploy-github]
130
128
command : |
131
129
export DEPLOY_MAVEN_USERNAME=$REPO_GRAKN_USERNAME
132
130
export DEPLOY_MAVEN_PASSWORD=$REPO_GRAKN_PASSWORD
133
- bazel run --define version=$(cat VERSION) //:deploy-maven -- release
131
+ bazel run --config=rbe -- define version=$(cat VERSION) //:deploy-maven -- release
0 commit comments