Skip to content

Commit 3035980

Browse files
ci: sample build in Cloud Build (#1548)
* ci: sample build in Cloud Build * trigger build * trigger build * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot
1 parent 5101165 commit 3035980

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.cloudbuild/samples_build.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
steps:
2+
- name: gcr.io/cloud-devrel-public-resources/java8
3+
entrypoint: ls
4+
args: [
5+
'-alt',
6+
]
7+
- name: gcr.io/cloud-devrel-public-resources/java8
8+
entrypoint: curl
9+
args: [
10+
'--header',
11+
'Metadata-Flavor: Google',
12+
'http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/email'
13+
]
14+
- name: gcr.io/cloud-devrel-public-resources/java8
15+
entrypoint: pwd
16+
- name: gcr.io/cloud-devrel-public-resources/java8
17+
entrypoint: bash
18+
args: [
19+
'.kokoro/build.sh'
20+
]
21+
env:
22+
- 'JOB_TYPE=samples'
23+
- 'GOOGLE_CLOUD_PROJECT=cloud-java-ci-sample'
24+
- name: gcr.io/cloud-devrel-public-resources/java8
25+
entrypoint: echo
26+
args: [
27+
'Sample job succeeded',
28+
]
29+
timeout: 3600s
30+
options:
31+
defaultLogsBucketBehavior: REGIONAL_USER_OWNED_BUCKET
32+

0 commit comments

Comments
 (0)