Skip to content

Instantly share code, notes, and snippets.

View jed204's full-sized avatar

Jed Danner jed204

  • Los Angeles, CA
View GitHub Profile
@jed204
jed204 / cloudbuild.yaml
Created October 30, 2019 05:36
Google Cloud Build Maven Build with Cache
steps:
# Grab cached M2 repo
- name: gcr.io/cloud-builders/gsutil
id: Get M2 Cache
args: ['cp', 'gs://BUCKET_NAME/m2.tar.gz', 'm2.tar.gz']
# See https://github.com/GoogleCloudPlatform/cloud-builders-community to get the tar command
- name: gcr.io/PROJECT_ID/tar
id: Expand M2 Cache
args: ['xpzf', 'm2.tar.gz']
# Optional, we had some extra settings to include
### Keybase proof
I hereby claim:
* I am jed204 on github.
* I am jdanner (https://keybase.io/jdanner) on keybase.
* I have a public key whose fingerprint is F2C1 D4FE 907F 1F42 BE87 32AF 5EA7 8C47 25B6 F0D7
To claim this, I am signing this object: