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

Makefile CLUSTER_TYPE auto discovery #664

Merged
merged 4 commits into from
May 9, 2022

Conversation

kaovilai
Copy link
Member

@kaovilai kaovilai commented May 4, 2022

No description provided.

@kaovilai kaovilai changed the title CLUSTER_TYPE auto discovery Makefile CLUSTER_TYPE auto discovery May 4, 2022
@kaovilai kaovilai requested review from deepakraj1997 and removed request for rayfordj and pranavgaikwad May 4, 2022 06:51
Makefile Outdated
@@ -1,5 +1,5 @@
OADP_TEST_NAMESPACE ?= openshift-adp
CLUSTER_TYPE ?= aws
CLUSTER_TYPE ?= $(shell oc get infrastructures cluster -o jsonpath='{.status.platform}' | awk '{print tolower($0)}')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a heads up here, OC client, if you look this, you can see that OC CLI has been exposed at this DIR, its working probably cause this directory is in PATH, which wasnt the case when I added the CLI in the release repository. In future if this happens to fail due to client not being found, we can use this directly from the path.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deepakraj1997 I don't know which line you were referencing. The link didn't contain line number

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nvm.. the link contained line number.. but it just wasn't part of this PR's diff and the link didn't work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oop, sorry, looks like you got it resolved. Thanks!

@openshift-ci
Copy link

openshift-ci bot commented May 5, 2022

@kaovilai: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@dymurray dymurray merged commit 178c3cd into openshift:master May 9, 2022
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.

None yet

3 participants