-
Notifications
You must be signed in to change notification settings - Fork 892
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
[1.9] chore: skip push event for branches of dependabot. #4976
[1.9] chore: skip push event for branches of dependabot. #4976
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
Just reminder, you can use hack/cherry_pick_pull.sh
to do this work, probably easier.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The test seems unrelated:
/retest |
Yes, i run this scripts first and it's failed, have not see any conflict, so i skip cherry pick with the scripts. ...
Applying: chore: skip push event for branches of dependabot.
Using index info to reconstruct a base tree...
M .github/workflows/ci.yml
M .github/workflows/cli.yaml
error: patch failed: .github/workflows/ci-image-scanning.yaml:1
error: .github/workflows/ci-image-scanning.yaml: patch does not apply
error: Did you hand edit your patch?
... |
Tested on kubernetes 1.29 and karmada-aggregated-apiserver have some error about APIPriorityAndFairness
|
try again |
seems like karmada-aggregated-apiserver is using the latest image and not the local build image from release-1.9 ...
Image: "docker.io/karmada/karmada-aggregated-apiserver:latest" with ID "sha256:c520dd5ad28b2c00e23a2864b5491d6a242ed70f5cc0e56282b16f4265fa6a2e" not yet present on node "karmada-host-control-plane", loading...
Start init karmada control plane...
... $ docker exec karmada-host-control-plane crictl images --digests
IMAGE TAG DIGEST IMAGE ID SIZE
docker.io/karmada/karmada-aggregated-apiserver latest 91dfe34aa3cef 41ae560c9c94d 43MB
docker.io/library/import-2024-05-23 <none> 7ff1525d0a91a c520dd5ad28b2 101MB
|
it's successed when i add Containers: []corev1.Container{
{
Name: karmadaAggregatedAPIServerDeploymentAndServiceName,
Image: i.karmadaAggregatedAPIServerImage(),
Command: command,
ImagePullPolicy: corev1.PullIfNotPresent,
... |
Oh? I'm afraid there is something wrong.
Can you explain it a little bit? I don't get how this fixed the previous problem. |
This is actually two questions:
Besides, we should add imagePullPolicy Refer to #4815, changes have been made in the master branch, we just need to cherry-pick them to release-1.9. |
Thanks for your time, i have not into it again yet, actually i believe that i advocated not using the latest image tag, but i have not found the history.I think a better approach is to update the tags used by the test image rather than backport a new features. WDYT? like use tag of |
Given that we will fix the CI issue on the release branch, I am supposed to fix it the way we did on the master branch. That is backporting the #4815 to release-1.9. But as @liangyuanpeng mentioned, we usually don't backport features onto release branches, so, I think we can backport part of #4815, just change the default ImagePullPolicy to |
get it |
Hi @liangyuanpeng, you can rebase this PR now. |
Co-authored-by: zhzhuang-zju <[email protected]> Co-authored-by: RainbowMango <[email protected]> Signed-off-by: Lan Liang <[email protected]>
44d61a2
to
021f00b
Compare
/lgtm |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
cherry pick #4762 to release-1.9, after #4932, dependabot will create PR for release branchs, and we need to skip some push event for dependabot.
releated:
/assign @RainbowMango
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: