-
Notifications
You must be signed in to change notification settings - Fork 14
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
✨ Get pod list #154
✨ Get pod list #154
Conversation
Signed-off-by: Shawn Hurley <shawn@hurley.page>
Signed-off-by: Shawn Hurley <shawn@hurley.page>
7579759
to
7b8caf0
Compare
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.
Thanks for PR, looks good to me, just added few comments.
@@ -23,7 +23,7 @@ jobs: | |||
uses: konveyor/tackle2-operator/.github/actions/install-tackle@main | |||
- uses: actions/setup-go@v3 | |||
with: | |||
go-version: '1.19' | |||
go-version: '1.22' |
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.
No big deal, but I'd prefer use the same go versions for on-PR and nightly-executed workflows.
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.
Yeah this was a change that had to be reverted sorry about leaving that in
cl, err := client.New(config.GetConfigOrDie(), client.Options{}) | ||
if err != nil { | ||
t.Fatalf("failed to create client: %v", err) | ||
} |
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'd suggest make this optional (use an env variable like KUBEDEBUG similar to https://github.com/konveyor/go-konveyor-tests?tab=readme-ov-file#test-execution-options, or just skip if client creation failed).
I'm sure it brings value for debugging, but not each test execution (e.g. local or jenkins) has available KUBECONFIG.
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.
That is good point, will make the change!
When we are failing to run tasks, getting the pods will help determine what is happening.