Skip to content

Powershell Core Dectection #3500

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

Merged
merged 1 commit into from
Feb 8, 2023
Merged

Powershell Core Dectection #3500

merged 1 commit into from
Feb 8, 2023

Conversation

stjeffrey
Copy link
Contributor

This will allow Powershell Core to be detected on Windows as Powershell instead of falling back to default cmd which causes errors when running commands like crc oc-env.

This will allow Powershell Core to be detected on Windows as Powershell instead of falling back to default cmd which causes errors when running commands like crc oc-env.
@openshift-ci
Copy link

openshift-ci bot commented Feb 6, 2023

Hi @stjeffrey. Thanks for your PR.

I'm waiting for a crc-org member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@openshift-ci openshift-ci bot requested review from cfergeau and evidolob February 6, 2023 18:38
@adrianriobo
Copy link
Contributor

/ok-to-test

@openshift-ci
Copy link

openshift-ci bot commented Feb 7, 2023

@stjeffrey: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/integration-crc e3b2ec9 link true /test integration-crc
ci/prow/e2e-crc e3b2ec9 link true /test e2e-crc

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.

@gbraad
Copy link
Contributor

gbraad commented Feb 7, 2023

This addresses an old discussion we (@adrianriobo and I) had #2353

@stjeffrey does everything work as expected? That was my only concern at that time.

@stjeffrey
Copy link
Contributor Author

This addresses an old discussion we (@adrianriobo and I) had #2353

@stjeffrey does everything work as expected? That was my only concern at that time.

Looks like the PR was already merged but I just wanted to reply to your question.
I must admint I was mostly concerned about using oc and podman commands with this patch and did not consider if it would work for things like crc setup. Given the existing codebase though with the fallback being CMD, in the context of Powershell Core I can't see how it could possibly make it any worse.

@openshift-ci
Copy link

openshift-ci bot commented Feb 8, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anjannath, gbraad

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Successfully merging this pull request may close these issues.

4 participants