-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix: use argocli image from PR in CI + revert #12736 #13018
Conversation
Signed-off-by: Alan Clucas <alan@clucas.org>
…Fixes argoproj#12025 (argoproj#12736)" This reverts commit f1ab5aa. Signed-off-by: Alan Clucas <alan@clucas.org>
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
When I looked into this issue, the CLI was calling ListWorkflows, however ListWorkflows was returning an empty list. |
That may add up to my comment in #12736 (comment) |
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.
I think the CI changes can be optimized.
Also, I would've personally taken a more targeted approach to fixing this than a full revert (which is going to make the history a lot messier on top of other things); there's only a handful of lines from #12736 that affect non-Server CLI commands
if err != nil { | ||
return nil, nil, err | ||
} | ||
return ctx, &argoKubeClient{instanceIDService, wfClient, wfStore}, nil |
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.
per #12736 (comment), I suspect this is the erroring block
Signed-off-by: Alan Clucas <alan@clucas.org> Co-authored-by: Anton Gilgur <agilgur5@gmail.com> (cherry picked from commit 2f15709)
Backported to
|
Fix for CI
This PR fixes CI. It is in two commits, and best read as such
The argocli image is now built and injected into k3d in CI. All uses of it and argoexec in CI are modified to have
imagePullPolicy: Never
to fail if they're not using it. (This is not ideal, we should use a different image and or tag to avoid accidents in future). All uses are now prefixed withquay.io
as that's the name we generate.The revert of #12736 fixes CI, without the revert it still fails (locally). Even with the revert but without building argocli and pushing it into k3d it will fail. Once argocli is built and pushed test-executor passes.