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

Make sure configured minishift profile is active #79

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

psiroky
Copy link

@psiroky psiroky commented Sep 5, 2018

Before setting the configration options, like
skip-check-openshift-version, the configured profile needs to be active.
Before this change, the config options were applied to whatever profile
was configured as active, before the contra-env-setup got executed.

Before setting the configration options, like
skip-check-openshift-version, the configured profile needs to be active.
Before this change, the config options were applied to whatever profile
was configured as active, before the contra-env-setup got executed.
@@ -46,8 +49,7 @@
dest: "{{ minishift_dest_dir }}/minishift.iso"
timeout: 120

# Check if the minishift profile exists
- name: "Check if the minishift profile exists"
- name: "Check if the minishift profile is running"
Copy link
Member

Choose a reason for hiding this comment

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

We don't need to also check if the profile exists or by setting it active we accomplish that?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, by activating the profile, we also make sure that it exists (minishift profile set <name> will create the profile if it does not exist).

Copy link
Member

@arilivigni arilivigni left a comment

Choose a reason for hiding this comment

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

LGTM

@arilivigni arilivigni merged commit 81ad581 into CentOS-PaaS-SIG:master Sep 5, 2018
@psiroky psiroky deleted the fix-profile-exists branch September 6, 2018 10:56
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

2 participants