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

fix ansible e2e #1348

Merged
merged 5 commits into from
Apr 25, 2019
Merged

fix ansible e2e #1348

merged 5 commits into from
Apr 25, 2019

Conversation

estroz
Copy link
Member

@estroz estroz commented Apr 25, 2019

Description of the change: pin python library versions in internal/pkg/scaffold/ansible/dockerfilehybrid.go and internal/pkg/scaffold/ansible/build_test_framework_dockerfile.go.

Motivation for the change:

@estroz estroz added kind/bug Categorizes issue or PR as related to a bug. language/ansible Issue is related to an Ansible operator project labels Apr 25, 2019
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 25, 2019
@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 25, 2019
@@ -51,8 +51,14 @@ RUN yum remove -y ansible python-idna
RUN yum install -y inotify-tools && yum clean all
RUN pip uninstall ansible-runner -y

RUN pip install --upgrade setuptools
RUN pip install ansible ansible-runner openshift kubernetes ansible-runner-http idna==2.7
RUN pip install --upgrade setuptools==41.0.1
Copy link
Member Author

@estroz estroz Apr 25, 2019

Choose a reason for hiding this comment

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

These versions are from a pip list of the latest dependencies.

pin ansible-runner and molecule versions so their 'six' dependency
does not conflict
@estroz estroz changed the title [WIP] fix ansible e2e fix ansible e2e Apr 25, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 25, 2019
@estroz
Copy link
Member Author

estroz commented Apr 25, 2019

/cc @shawn-hurley @jmrodri @dymurray

RUN yum install -y python-devel gcc libffi-devel && pip install molecule

RUN yum install -y python-devel gcc libffi-devel
RUN pip install molecule==2.20.1
Copy link
Member Author

Choose a reason for hiding this comment

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

Latest molecule version.

@shawn-hurley
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 25, 2019
@fabianvf
Copy link
Member

/lgtm

@estroz estroz merged commit b07f64c into operator-framework:master Apr 25, 2019
@estroz estroz deleted the fix-ansible-e2e branch April 25, 2019 18:02
estroz pushed a commit to estroz/operator-sdk that referenced this pull request Apr 25, 2019
* internal/pkg/scaffold/ansible/dockerfilehybrid.go: fix anisble and dependency versions

* fix urllib3 so requests and kubernetes do not conflict

* internal/pkg/scaffold/ansible/build_test_framework_dockerfile.go:
pin ansible-runner and molecule versions so their 'six' dependency
does not conflict

* use ansible-runner 1.2

* use 0.8.0<=kubernetes<0.9.0 and openshift==0.8.8
estroz pushed a commit that referenced this pull request Apr 26, 2019
* fix ansible e2e (#1348)

* internal/pkg/scaffold/ansible/dockerfilehybrid.go: fix anisble and dependency versions

* fix urllib3 so requests and kubernetes do not conflict

* internal/pkg/scaffold/ansible/build_test_framework_dockerfile.go:
pin ansible-runner and molecule versions so their 'six' dependency
does not conflict

* use ansible-runner 1.2

* use 0.8.0<=kubernetes<0.9.0 and openshift==0.8.8

* CHANGELOG.md: bug fix entry for pinning ansible dep versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. language/ansible Issue is related to an Ansible operator project lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants