-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: sample build in Cloud Build (#2444)
* ci: sample build in Cloud Build * empty commit to trigger Cloud Build * adding the service account email * ci: test CI * domain:google.com Following googleapis/java-pubsub#1943 * service account * format * using the samples@ account * ci: test CI * empty commit to trigger Cloud Build after b/329758593 * project number as env var * Available binding identities * sample id * stop introducing a new env var for Kokoro * chore: switch kms keys to point to new project keys * lint * remove unnecessary ; * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Sydney Munro <[email protected]> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e1fb857
commit 7c86ad0
Showing
7 changed files
with
85 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
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' | ||
- 'GOOGLE_CLOUD_PROJECT_NUMBER=615621127317' | ||
- 'IT_SERVICE_ACCOUNT_EMAIL=samples@cloud-java-ci-sample.iam.gserviceaccount.com' | ||
- name: gcr.io/cloud-devrel-public-resources/java8 | ||
entrypoint: echo | ||
args: [ | ||
'Sample job succeeded', | ||
] | ||
timeout: 3600s | ||
options: | ||
defaultLogsBucketBehavior: REGIONAL_USER_OWNED_BUCKET | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters