-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
push-build.sh container image pushes should precede staging GCS artifacts and writing version markers #1693
Comments
FYI @kubernetes/ci-signal, as this broadly explains some build job failures you may be seeing. |
There is strong overlap with kubernetes/test-infra#18808 Saving the version marker for last hopefully addresses most of the concerns that prevent us from overwriting incomplete builds. |
ref: - kubernetes#1693 - kubernetes/test-infra#18808 Signed-off-by: Stephen Augustus <saugustus@vmware.com>
Where do we stand on trying to make this happen in v1.21 timeframe? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
looks like WIP |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened:
Tracking issue for https://kubernetes.slack.com/archives/CJH2GBF7Y/p1604669572198400.
Noticed in kubernetes/test-infra#19483.
Our attempts to move the
ci-kubernetes-build
to Community Infra are failing because container images are not successfully getting pushed.Comment from @ameukam (kubernetes/test-infra#19483 (comment)):
That's a credential issue that needs to be fixed in parallel.
This issue is specifically for some of my expectations around push-build.sh behavior.
What you expected to happen:
This is a fail-fast scenario.
If we know that a build is supposed to push GCR images, we should check that we're able to do that first, instead of build artifacts and waiting for the container push failure at the end of the scenario.
In
scenarios/kubernetes_build.py
https://github.com/kubernetes/test-infra/blob/329444781ba13be597917343cca4aa1b92366b6d/scenarios/kubernetes_build.py#L45-L84
If we consider a "complete" build to also include container images, this check should verify that those exist as well before claiming a build is not required.
The current push-build.sh logic:
release/push-build.sh
Lines 867 to 918 in 4c6b5aa
Here, we should probably attempt to publish artifacts in the following order:
That way, if images fail to push, then the build job fails before copying to GCS.
If there's nothing in the bucket, then the check in #1 will cause a new build to always be attempted.
@hasheddan -- I'll leave you to divide up the work as appropriate.
/assign @hasheddan @ameukam @cpanato
cc: @kubernetes/release-engineering @spiffxp
/priority critical-urgent
How to reproduce it (as minimally and precisely as possible):
See kubernetes/test-infra#19483.
Anything else we need to know?:
Environment:
cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: