Skip to content

Commit ac6e09d

Browse files
Add bazel cache
1 parent 3644955 commit ac6e09d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.factory/automation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ build:
3333
build:
3434
image: vaticle-ubuntu-22.04
3535
command: |
36+
bazel run @vaticle_dependencies//tool/bazelinstall:remote_cache_setup.sh
3637
bazel build //...
3738
bazel run @vaticle_dependencies//tool/checkstyle:test-coverage
3839
bazel test $(bazel query 'kind(checkstyle_test, //...)') --test_output=errors
3940
build-dependency:
4041
image: vaticle-ubuntu-22.04
4142
command: |
43+
bazel run @vaticle_dependencies//tool/bazelinstall:remote_cache_setup.sh
4244
dependencies/maven/update.sh
4345
git diff --exit-code dependencies/maven/artifacts.snapshot
4446
bazel run @vaticle_dependencies//tool/unuseddeps:unused-deps -- list
@@ -49,6 +51,7 @@ build:
4951
dependencies: [build, build-dependency]
5052
image: vaticle-ubuntu-22.04
5153
command: |
54+
bazel run @vaticle_dependencies//tool/bazelinstall:remote_cache_setup.sh
5255
export DEPLOY_CRATE_TOKEN=$REPO_TYPEDB_CRATES_TOKEN
5356
bazel run --define version=$(git rev-parse HEAD) //grpc/rust:deploy_crate -- snapshot
5457
deploy-npm-snapshot:

0 commit comments

Comments
 (0)