kubernetes/cluster/gce
Kubernetes Submit Queue cdc9770346 Merge pull request #46792 from ianchakeres/avoid-redundant-copy-to-staging
Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792)

Avoid redundant copying of tars during kube-up for gce if the same file already exists

**What this PR does / why we need it**: 

Whenever I execute cluster/kube-up.sh it copies my tar files to google cloud, even if the files haven't changed. This PR checks to see whether the files already exist, and avoids uploading them again. These files are large and can take a long time to upload.

**Which issue this PR fixes**: fixes #46791

**Special notes for your reviewer**:

Here is the new output:

cluster/kube-up.sh 
... Starting cluster in us-central1-b using provider gce
... calling verify-prereqs
... calling verify-kube-binaries
... calling kube-up
Project: PROJECT
Zone: us-central1-b
+++ Staging server tars to Google Storage: gs://kubernetes-staging-PROJECT/kubernetes-devel
+++ kubernetes-server-linux-amd64.tar.gz uploaded earlier, cloud and local file md5 match (md5 = 3a095kcf27267a71fe58f91f89fab1bc)


**Release note**:
```cluster/kube-up.sh on gce now avoids redundant copying of kubernetes tars if the local and cloud files' md5 hash match```
2017-06-23 02:59:31 -07:00
..
container-linux Merge pull request #47632 from mwielgus/node-taints-scripts 2017-06-20 18:18:59 -07:00
debian remove support for debian masters in GCE 2017-02-28 09:54:07 -08:00
gci Don't audit log tokens in TokenReviews 2017-06-22 13:38:44 -07:00
BUILD Use cos-stable-59-9460-64-0 instead of cos-beta-59-9460-20-0. 2017-06-16 13:48:50 -07:00
config-common.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
config-default.sh Remove limits from ip-masq-agent for now. 2017-06-22 17:01:22 -07:00
config-test.sh Remove limits from ip-masq-agent for now. 2017-06-22 17:01:22 -07:00
configure-vm.sh Merge pull request #47632 from mwielgus/node-taints-scripts 2017-06-20 18:18:59 -07:00
cos Symlink cluster/gce/cos to cluster/gce/gci 2017-03-15 15:31:51 -07:00
delete-stranded-load-balancers.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
list-resources.sh Don't fail if the grep fails to match any resources 2017-02-22 14:55:57 -08:00
OWNERS adding vishh to gce cluster owners 2017-02-27 10:58:43 -08:00
ubuntu Makes cluster/gce/ubuntu to be a symlink to cluster/gce/gci and changes the gci's [master|node].yaml to enable kubernetes.target. 2017-04-25 16:19:00 -07:00
upgrade.sh Respect PDBs during GCE node upgrades. 2017-06-01 17:58:45 -07:00
util.sh Merge pull request #46792 from ianchakeres/avoid-redundant-copy-to-staging 2017-06-23 02:59:31 -07:00