Skip to content

Commit

Permalink
Merge pull request #4 from postal-io/m2-cache
Browse files Browse the repository at this point in the history
ci: stop copying m2 cache
  • Loading branch information
jpenglert authored Oct 3, 2023
2 parents fd1965b + 07746b5 commit fdecf77
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ steps:
entrypoint: 'mvn'
id: Test and Build
args: ['-Dmaven.repo.local=/workspace/.m2/repository', '--settings', 'postal.io-settings.xml', '-Dgit.tag=$TAG_NAME', 'deploy']
# Update M2 repo cache
- name: gcr.io/postal-dev-environment-1/tar
id: Compress M2 Cache
args: ['cpzf', 'm2.tar.gz', '.m2']
- name: gcr.io/cloud-builders/gsutil
id: Save M2 Cache
args: ['cp', 'm2.tar.gz', 'gs://postal-mvn-repo/m2.tar.gz']
options:
machineType: N1_HIGHCPU_8
tags: ['library', 'packagecloud']

0 comments on commit fdecf77

Please sign in to comment.