-
Notifications
You must be signed in to change notification settings - Fork 70
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
ci: split PR build and release build to manually trigger builds of artifacts #838
Conversation
…rsions Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Need to get the permissions right, probably. Resources |
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
…roach The problem could lay somewhere else, the reason for it not working, could be, that from a PR we don't have access to the owned repository. It might just magically work, when it is merged. Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
The problem could lay somewhere else, the reason for it not working could be that from a PR we don't have access to the owned repository. It might just magically work, when it is merged. If that's still not the case, the last approach would be, to use something like So all the Currently, we would need to remove and re-set the |
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
|
Also, this: Could you give it a rough look, @aawsome because I'm unsure if the direction is fine? Thanks a lot! Personally, I think it would help a lot to have only the basic checks running, and the platform builds only when we explicitly ask for them. |
We have a few possibilities with the nightly builds on https://github.com/rustic-rs/nightly now:
|
This changes the CI
release
workflow to be split intorelease builds
ofrelease/
andmain
branch andPR builds
(which are triggered manually) for PRs with the labelS-build
.I think this is beneficial, because we run the full build pipeline for each commit, which is a waste of resources. When we can just trigger it manually once we think a PR is in a state we want to create artifacts (e.g. for testing)
The flow is as follows:
S-build
S-build
S-build
(for retriggering the build workflow)This needs to be merged after #843 as the release workflow needs to be changed WRT to uploading binaries which was not working before.