Closed RainbowMango closed 2 years ago
I think it is enough to build daily, no need to build with each commits.
I think it is enough to build daily, no need to build with each commits.
I guess you mean to run the workflows by onschedule.
What's your concern about running on each push event?
It is useless since there is only one latest
image.
Also all commits should be merged by pr, push event still works for them?
It needs to make sure CI pass before pushing image
Also all commits should be merged by pr, push event still works for them?
Yes, I think so.
Should we publish image to docker hub as well ?
Should we publish image to docker hub as well ?
Dockerhub has limited bandwidth for free open source projects, we can use the Github Container registry (ghcr.io) instead.
/assign @kevin-wangzefeng
/hold cancel
New changes are detected. LGTM label has been removed.
Seems in this PR, we have a Skipped
jobs defined in the workflow
, tide
failed to merge the PR...
@daixiang0 Do you know why?
/hold
Found an error from tide
, and don't know why yet.
{"base-sha":"ff11128c69551df5c500d7b2ea9adbd8edb46b48","branch":"master","component":"tide","controller":"sync","error":"status code 422 not one of [201], body: {\"message\":\"Validation Failed\",\"errors\":[{\"resource\":\"Status\",\"code\":\"custom\",\"message\":\"This SHA and context has reached the maximum number of statuses.\"}],\"documentation_url\":\"https://docs.github.com/rest/reference/repos#create-a-commit-status\"}","file":"prow/tide/tide.go:1207","func":"k8s.io/test-infra/prow/tide.(*Controller).mergePRs","level":"error","merge-targets":[395],"msg":"Unable to set tide context to SUCCESS.","org":"karmada-io","pr":395,"repo":"karmada","severity":"error","sha":"dc5657513c6781010e51e9216a85fc34836b609f","time":"2021-06-05T02:37:48Z"}
Seems its check logic needs optimization, please see doc, maybe skip-unknown-contexts
help.
Thanks @daixiang0 !!!, Let's give it a try.
/hold cancel
New changes are detected. LGTM label has been removed.
+ context_options:
+ # Treat unknown contexts as optional
+ skip-unknown-contexts: true
Added skip-unknown-contexts
global configuration, seems still not working.
Try update image version, if still failed, may ask in its slack.
New changes are detected. LGTM label has been removed.
[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by:
The full list of commands accepted by this bot can be found here.
The pull request process is described here
New changes are detected. LGTM label has been removed.
Don't have time to dig out the reason why prow failed to ignore the skipped
jobs.
Moving forward with the temporary solution.
/hold cancel
/hold
as tide
still can't merge...
close pr, restart tide and reopen
New changes are detected. LGTM label has been removed.
What type of PR is this? /kind cleanup
What this PR does / why we need it: When a new push happened on the
master
branch (such as merged a PR), the workflows will build thelatest
images and upload them to the registry.Which issue(s) this PR fixes: Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
/hold for @kevin-wangzefeng @XiShanYongYe-Chang @daixiang0 take a look.