Skip to content

Commit

Permalink
ci: sample build in Cloud Build
Browse files Browse the repository at this point in the history
  • Loading branch information
suztomo committed Feb 27, 2024
1 parent d217fa8 commit d85aa5f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .cloudbuild/samples_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
steps:
- name: gcr.io/cloud-devrel-public-resources/java8
entrypoint: ls
args: [
'-alt',
]
- name: gcr.io/cloud-devrel-public-resources/java8
entrypoint: curl
args: [
'--header',
'Metadata-Flavor: Google',
'http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/email'
]
- name: gcr.io/cloud-devrel-public-resources/java8
entrypoint: pwd
- name: gcr.io/cloud-devrel-public-resources/java8
entrypoint: bash
args: [
'.kokoro/build.sh'
]
env:
- 'JOB_TYPE=samples'
- 'GOOGLE_CLOUD_PROJECT=cloud-java-ci-sample'
- name: gcr.io/cloud-devrel-public-resources/java8
entrypoint: echo
args: [
'Sample job succeeded',
]
timeout: 3600s
options:
defaultLogsBucketBehavior: REGIONAL_USER_OWNED_BUCKET

0 comments on commit d85aa5f

Please sign in to comment.