diff --git a/releasing/cloudbuild.sh b/releasing/cloudbuild.sh index ace95fb86..d282e4c20 100755 --- a/releasing/cloudbuild.sh +++ b/releasing/cloudbuild.sh @@ -116,8 +116,14 @@ EOF cat $configFile -/bin/goreleaser release \ +date + +time /goreleaser release \ + --timeout 10m \ + --parallelism 4 \ --config=$configFile \ --release-notes=$changeLogFile \ --rm-dist \ - --skip-validate $remainingArgs + --skip-validate $remainingArgs + +date diff --git a/releasing/cloudbuild.yaml b/releasing/cloudbuild.yaml index b6697bbb1..97557eea1 100644 --- a/releasing/cloudbuild.yaml +++ b/releasing/cloudbuild.yaml @@ -36,8 +36,8 @@ steps: # Run goreleaser indirectly via a shell script # to configure it properly. -- name: goreleaser/goreleaser:v0.138.0 - timeout: 720s +- name: goreleaser/goreleaser:v0.155.0 + timeout: 12m entrypoint: /bin/sh dir: myClone secretEnv: ['GITHUB_TOKEN'] @@ -49,7 +49,7 @@ steps: # the release and leave the 'dist' directory in place. # Overall timeout -timeout: 800s +timeout: 14m # golreleaser expects the GITHUB_TOKEN env var to hold the github token # it needs to write the released package and notes back to github.