Skip to content

Commit

Permalink
Merge pull request #1791 from xmudrii/stage-noclobber
Browse files Browse the repository at this point in the history
Disable noClobber for uploading source tree tarball
  • Loading branch information
k8s-ci-robot authored Nov 25, 2020
2 parents 333bd8a + 73398db commit 9f7aa6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/build/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ func (bi *Instance) StageLocalSourceTree(workDir, buildVersion string) error {
logrus.Infof("Uploading source tree tarball to GCS")
bi.objStore.SetOptions(
bi.objStore.WithAllowMissing(false),
bi.objStore.WithNoClobber(false),
)
if err := bi.objStore.CopyToRemote(
tarballPath,
Expand Down

0 comments on commit 9f7aa6e

Please sign in to comment.