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

cmd/operator-sdk/run: use Windows binary suffix with '--local' #2481

Merged
merged 4 commits into from
Feb 20, 2020

Conversation

al45tair
Copy link
Contributor

@al45tair al45tair commented Jan 29, 2020

On Windows, we need to add the .exe suffix to the executable that is
generated by the operator-sdk run --local command, otherwise it will
fail because the file doesn't have an executable extension.

Closes #2480

On Windows, we need to add the .exe suffix to the executable that is
generated by the operator-sdk run --local command, otherwise it will
fail because the file doesn't have an executable extension.

Fixes operator-framework#2480
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 29, 2020
Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

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

Just a suggestion for an improvement that would make this change applicable anywhere we do Go builds within the SDK.

cmd/operator-sdk/run/local.go Outdated Show resolved Hide resolved
@al45tair
Copy link
Contributor Author

Hmmm. That test failure doesn't seem to be my doing.

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

Hi @al45tair,

It shows be missing just the CHANGELOG.MD entry. Something as for example.

Fix command operator-sdk run --local which as not working on Windows. #2481

CHANGELOG.md Outdated Show resolved Hide resolved
Co-Authored-By: Camila Macedo <cmacedo@redhat.com>
Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

It shows ok for me 👍

/lgtm

@joelanford @estroz @hasbro17 WDYT?

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 16, 2020
Copy link
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

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

/lgtm

@estroz estroz changed the title cmd/operator-sdk: fix run --local on Windows cmd/operator-sdk/run: use Windows binary suffix with '--local' Feb 20, 2020
@estroz estroz merged commit f56cce7 into operator-framework:master Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On Windows, operator-sdk run --local doesn't work.
5 participants