-
Notifications
You must be signed in to change notification settings - Fork 112
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
Publish nightly releases #600
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @imjasonh. Thanks for your PR. I'm waiting for a shipwright-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
ada27dd
to
3203a0e
Compare
Tested this in my own fork. This run produced this release: https:/ImJasonH/build-1/releases/tag/untagged-aad4f80e82cadbb1c018 In my fork,
|
Cool! A quick question, will it generate a nightly tag or release every time? Or where we store the nightly build or release? |
This will create a new untagged draft release every day (see my fork's release for an example), which includes an image in quay.io for each nightly build. This is obviously somewhat sub-optimal, since it spams draft releases, and can make it harder to find real tagged releases. Actually, I realized while writing this response that draft releases aren't visible outside of repo collaborators, this is what my fork's releases look like to me: This might be fine for the short term, since it means nightly release are only visible to collaborators... 🤔 We should improve on this, by:
|
Thanks Jason, I am not sure why it reports And if the proposal of the nightly release is just for testing, should we just keep one nightly release? Or do we need to keep every nightly release somewhere? |
That's because the release is still a Draft, which means only repo contributors (me) can see it.
I think it'd be useful to keep at least a few days' back, it can be really helpful in pinpointing when a regression was introduced. |
@imjasonh thanks for this. I think the problem we want to solve with nightly releases is
(sorry for the above quoting, just wanna ensure we are on the same line of thought). I really like this idea, but to be honest, the spamming of draft releases is not very appealing. I think the git release is the right place to host our |
Yeah, I completely agree 😞 I think we could instead have one Nightly release that we update with new nightly YAMLs, always appending new release assets, and maybe trimming off old ones as needed. This will be a bit more involved to write up, but I think overall worth it in the end. If that sounds good to you I can keep working on it. It'd be really nice not to introduce a new service we depend on (S3, Google Cloud Storage, etc.) just to host YAMLs. This means one more moving piece in the CI, and one more set of creds to manage and share. |
definitely. Pls ask for help if needed.
I think credentials wise is not too much of a trouble, e.g. we do this now for quay, where the setup was very simple. Aiming to reduce dependencies for CI make sense. |
Closing this for now while I rework it to append to an existing release. |
Changes
This will run at midnight EST and produce a
nightly-YYYY-MM-DD.yaml
(and-debug.yaml
) attached to a new (draft, pre-release) GitHub Release each night.Note: This creates new GitHub Releases each day, and I assume this will become unwieldy at some point. Ideas welcome.
Related to discussion in #599
Submitter Checklist
See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes