Skip to content

Pin controller-runtime to v0.1.4 #828

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 2 commits into from
Dec 7, 2018

Conversation

lilic
Copy link
Member

@lilic lilic commented Dec 7, 2018

Description of the change:
When you specify a version without an operator, dep automatically uses
the ^ operator by default. That means it will take the major range.
That broke building of generated operators due to missing dependencies
in controller-runtime latest release.

Motivation for the change:

operator-sdk master is currently broken. See #827 (comment)

@lilic lilic requested a review from shawn-hurley December 7, 2018 11:40
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 7, 2018
Copy link
Member

@shawn-hurley shawn-hurley left a comment

Choose a reason for hiding this comment

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

I am also able to re-create this bug in a different project that relies on controller-runtime. LGTM

lilic added 2 commits December 7, 2018 16:07
When you specify a version without an operator, dep automatically uses
the ^ operator by default. That means it will take the major range.
That broke building of generated operators due to missing dependencies
in controller-runtime latest release.
@lilic lilic force-pushed the lili/pin-controller-runtime branch from 36c1c8d to 205899c Compare December 7, 2018 15:07
@lilic lilic changed the title Pin controller-runtime to specific commit v0.1.4 Pin controller-runtime to v0.1.4 Dec 7, 2018
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.

LGTM 👍

@lilic lilic merged commit b0dce88 into operator-framework:master Dec 7, 2018
@lilic lilic deleted the lili/pin-controller-runtime branch December 7, 2018 15:30
hasbro17 added a commit that referenced this pull request Dec 10, 2018
* pkg/scaffold: Adjust gopkgtoml test to reflect change

* pkg/scaffold: Pin controller-runtime to exactly v0.1.4

When you specify a version without an operator, dep automatically uses
the ^ operator by default. That means it will take the major range.
That broke building of generated operators due to missing dependencies
in controller-runtime latest release.

* pkg/ansible/runner: logs the stdout and stderr from ansible-runner if the command exits non-zero

This is helpful in a case where ansible-runner itself is broken, such as when a
python library it depends on gets installed at an incompatible version (a
problem we've encountered multile times).

* test/ansible-operator/Dockerfile: lock idna to 2.7 (#813)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

4 participants