Fix cloudbuild dependencies
@@ -47,9 +47,16 @@ steps:
timeout: 5m
args: ['./scripts/run_cargo_crev']
+ - name: 'gcr.io/oak-ci/oak:latest'
+ id: check_formatting
+ waitFor: ['git_init']
+ timeout: 30m
+ entrypoint: 'bash'
+ args: ['./scripts/check_formatting']
+
- name: 'gcr.io/oak-ci/oak:latest'
id: build_server_no_debug
- waitFor: ['bazel_init']
+ waitFor: ['bazel_init', 'check_formatting']
timeout: 60m
entrypoint: 'bash'
args: ['./scripts/build_server', '-s', 'logless']
@@ -162,13 +169,6 @@ steps:
entrypoint: 'bash'
args: ['./scripts/build_examples_android']
- - name: 'gcr.io/oak-ci/oak:latest'
- id: check_formatting
- waitFor: ['git_init', 'build_android_image']
- timeout: 30m
- entrypoint: 'bash'
- args: ['./scripts/check_formatting']
-
- name: 'gcr.io/oak-ci/oak:latest'
id: check_cargo_deny
waitFor: ['check_formatting', 'git_check_diff']
