Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Conversation

shawn-hurley
Copy link
Contributor

When we are failing to run tasks, getting the pods will help determine what is happening.

Signed-off-by: Shawn Hurley <shawn@hurley.page>
Signed-off-by: Shawn Hurley <shawn@hurley.page>
Copy link
Member

@aufi aufi left a 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'
Copy link
Member

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.

Copy link
Contributor Author

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)
}
Copy link
Member

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.

Copy link
Contributor Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants