-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, but this does not work.
I can push to the old location but not the new one:
porridge@kielonek:~/projects/go/src/k8s.io/contrib/perfdash$ gcloud docker -- tag gcr.io/google_containers/perfdash:0.8 k8s.gcr.io/perfdash:0.8
porridge@kielonek:~/projects/go/src/k8s.io/contrib/perfdash$ gcloud docker -- push k8s.gcr.io/perfdash:0.8
The push refers to a repository [k8s.gcr.io/perfdash]
45f4f6715eed: Pushing [==================================================>] 137.2 kB
eacb8c6cad16: Pushing [==========================> ] 2.819 MB/5.321 MB
df6868d54704: Pushing [=====================> ] 2.805 MB/6.572 MB
8880784f79cf: Pushing [====> ] 3.518 MB/36.78 MB
46ecc6c4543a: Pushing [> ] 2.126 MB/163.5 MB
5f70bf18a086: Waiting
unexpected EOF
# (The above retries several times before failing)
porridge@kielonek:~/projects/go/src/k8s.io/contrib/perfdash$ gcloud docker -- tag gcr.io/google_containers/perfdash:0.8 gcr.io/google_containers/perfdash:0.8-test
porridge@kielonek:~/projects/go/src/k8s.io/contrib/perfdash$ gcloud docker -- push gcr.io/google_containers/perfdash:0.8-test
The push refers to a repository [gcr.io/google_containers/perfdash]
45f4f6715eed: Layer already exists
eacb8c6cad16: Layer already exists
df6868d54704: Layer already exists
8880784f79cf: Layer already exists
46ecc6c4543a: Layer already exists
5f70bf18a086: Layer already exists
0.8-test: digest: sha256:b1ed038f1e032ea33fb48672d779f96a4c225140381ec8ba7ee29648dae2981f size: 1783
@dekkagaijin I, too, am experiencing issues. This all worked at some point.
|
2 possible solutions:
|
Confirmed, update worked for me
…On Thu, Dec 28, 2017 at 11:18 AM, Jake Sanders ***@***.***> wrote:
2 possible solutions: updated gcloud to >= 183.0.0 (where k8s.gcr.io was
added as a default domain) or use gcloud docker -s k8s.gcr.io -- push ...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2814 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFVgVHCaf2uNGvliyE1B62fMImRIUGMUks5tE-migaJpZM4RLSS9>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The -s
flag worked as well.
/lgtm
/approve |
@thockin PR needs rebase |
/approve |
election/Makefile
Outdated
@@ -3,10 +3,10 @@ all: push | |||
# 0.0 shouldn't clobber any released builds | |||
# current latest is 0.5 | |||
TAG = 0.0 | |||
PREFIX = gcr.io/google_containers/leader-elector | |||
PREFIX = k8s.gcr.io/leader-elector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PREFIX = staging-k8s.gcr.io/leader-elector
election/Makefile
Outdated
|
||
NODEJS_TAG = 0.1 | ||
NODEJS_PREFIX = gcr.io/google_containers/nodejs-election-client | ||
NODEJS_PREFIX = k8s.gcr.io/nodejs-election-client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NODEJS_PREFIX = staging-k8s.gcr.io/nodejs-election-client
election/Makefile
Outdated
|
||
NODEJS_TAG = 0.1 | ||
NODEJS_PREFIX = gcr.io/google_containers/nodejs-election-client | ||
NODEJS_PREFIX = k8s.gcr.io/nodejs-election-client | ||
|
||
server: | ||
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' -o server example/main.go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
push
below will need to be modified to:
gcloud docker -s staging-k8s.gcr.io -- push ...
Might be good to have a REGISTRY var
exec-healthz/Makefile
Outdated
@@ -19,7 +19,7 @@ BIN := exechealthz | |||
PKG := k8s.io/contrib/exec-healthz | |||
|
|||
# Where to push the docker image. | |||
REGISTRY ?= gcr.io/google_containers | |||
REGISTRY ?= k8s.gcr.io |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REGISTRY ?= staging-k8s.gcr.io
and...
push:
...
@gcloud docker -s $(REGISTRY) -- push $(IMAGE):$(VERSION)
exec-healthz/README.md
Outdated
@@ -12,19 +12,19 @@ How to build and push all images: | |||
# Build for linux/amd64 (default) | |||
$ make push TAG=1.0 | |||
$ make push TAG=1.0 ARCH=amd64 | |||
# ---> gcr.io/google_containers/exechealthz-amd64:1.0 | |||
# ---> k8s.gcr.io/exechealthz-amd64:1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
staging-k8s.gcr.io
all the way down
node-perf-dash/Makefile
Outdated
@@ -3,7 +3,7 @@ all: push | |||
# See pod.yaml for the version currently running-- bump this ahead before rebuilding! | |||
TAG = v0.3 | |||
|
|||
REPO = gcr.io/google_containers | |||
REPO = k8s.gcr.io |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REGISTRY = staging-k8s.gcr.io
REPO = $(REGISTRY)
...
push: container
gcloud docker -s $(REGISTRY) -- push $(REPO)/node-perf-dash:$(TAG)
peer-finder/Makefile
Outdated
@@ -15,7 +15,7 @@ | |||
all: push | |||
|
|||
TAG = 0.1 | |||
PREFIX = gcr.io/google_containers/peer-finder | |||
PREFIX = k8s.gcr.io/peer-finder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REGISTRY = staging-k8s.gcr.io
PREFIX = $(REGISTRY)/peer-finder
...
push: container
gcloud docker -s $(REGISTRY) -- push $(PREFIX):$(TAG)
perfdash/Makefile
Outdated
@@ -3,16 +3,16 @@ all: push | |||
# See pod.yaml for the version currently running-- bump this ahead before rebuilding! | |||
TAG = 0.8 | |||
|
|||
PROJ = google_containers | |||
REPO = k8s.gcr.io |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REGISTRY = staging-k8s.gcr.io
REPO = $(REGISTRY)
...
push: container
gcloud docker -s
scale-demo/vegeta/Makefile
Outdated
|
||
push: container | ||
gcloud docker -- push gcr.io/google_containers/loader:$(TAG) | ||
gcloud docker -- push k8s.gcr.io/loader:$(TAG) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gcloud docker -s staging-k8s.gcr.io -- push staging-k8s.gcr.io/loader:$(TAG)
service-loadbalancer/Makefile
Outdated
@@ -2,7 +2,7 @@ all: push | |||
|
|||
# 0.0 shouldn't clobber any released builds | |||
TAG ?= 0.4 | |||
PREFIX ?= gcr.io/google_containers/servicelb | |||
PREFIX ?= k8s.gcr.io/servicelb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REGISTRY ?= staging-k8s.gcr.io
PREFIX ?= $(REGISTRY)/servicelb
...
push: container
$(GCLOUD) docker -s $(REGISTRY) -- push $(PREFIX):$(TAG)
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mikedanese, MrHohn, porridge, thockin Assign the PR to them by writing The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/lgtm cancel //PR changed after LGTM, removing LGTM. @MrHohn @caesarxuchao @eparis @porridge @thockin |
@thockin PR needs rebase |
This PR was auto-generated. Please apply human expertise to review for correctness.
Followup to kubernetes/kubernetes#54174 and kubernetes/kubernetes#57824
xref kubernetes/release#281