kubernetes / test-infra

Test infrastructure for the Kubernetes project.
Apache License 2.0
3.83k stars 2.64k forks source link

federation push hyperkube image does not work using bazel build #4947

Closed shashidharatd closed 6 years ago

shashidharatd commented 6 years ago

We are trying to migrate federation pre-submit jobs from jenkins to prow. So we have below query:

Issue with federation using bazel build: kubetest --build=bazel option seems to be not working for federation. We could change our existing mechanism of building and pushing hyperkube image to bazel, if bazel supports customisation of docker image build and push, so that we can specify the registry and the tag.

@ixdy, do you have any suggestions, on how to progress?

Here is the build log which failed to push hyperkube image. https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/46662/pull-kubernetes-federation-e2e-gce-canary/629/

/cc @kubernetes/sig-multicluster-bugs @madhusudancs @marun @irfan @krzyzacy

shashidharatd commented 6 years ago

/assign @ixdy

BenTheElder commented 6 years ago

cc @krzyzacy for Jenkins -> Prow

shashidharatd commented 6 years ago

This is a non-issue for federation now, since image is not pushed to registry after build and instead will be pushed by federation-up.sh script during federation control plane bring-up.