Skip to content

Commit

Permalink
Added init step in the cloudbuild.yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
halio-g committed Sep 6, 2023
1 parent c804255 commit 0dfbd4b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cloudbuild/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ steps:
id: 'docker-build'
args: ['build', '--tag=gcr.io/$PROJECT_ID/dataproc-spark-spanner-connector-presubmit', '-f', 'cloudbuild/Dockerfile', '.']

# 2. Fetch maven and dependencies
- name: 'gcr.io/$PROJECT_ID/dataproc-spark-spanner-connector-presubmit'
id: 'init'
waitFor: ['docker-build']
entrypoint: 'bash'
args: ['/workspace/cloudbuild/presubmit.sh', 'init']


timeout: 3600s
options:
machineType: 'N1_HIGHCPU_32'

0 comments on commit 0dfbd4b

Please sign in to comment.