Skip to content

Commit

Permalink
Pin top level Python dependencies (operator-framework#4321)
Browse files Browse the repository at this point in the history
This rolls back the version of Ansible installed in the Ansible base
image, fixing a syntax error in the Dockerfile.

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>
  • Loading branch information
asmacdo authored and reinvantveer committed Feb 5, 2021
1 parent 31ed5ef commit 8367ffb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 9 additions & 0 deletions changelog/fragments/pin-ansible-2.9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# entries is a list of entries to include in
# release notes and/or the migration guide
entries:
- description: >
(ansible/v1) Pin all top level Python requirements. This fixes a bug that
erroneously installed Ansible 2.10.z instead of Ansible 2.9.z.
kind: "bugfix"
breaking: false
9 changes: 5 additions & 4 deletions images/ansible-operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ RUN yum clean all && rm -rf /var/cache/yum/* \
&& yum -y update \
&& yum install -y libffi-devel openssl-devel python36-devel gcc python3-pip python3-setuptools \
&& pip3 install --no-cache-dir \
ipaddress \
ansible-runner==1.3.4 \
ansible-runner-http==1.0.0 \
openshift~=0.10.0 \
ansible~=2.9 \
jmespath \
ipaddress==1.0.23 \
kubernetes==10.1.0 \
openshift==0.10.3 \
ansible==2.9.15 \
jmespath==0.10.0 \
&& yum remove -y gcc libffi-devel openssl-devel python36-devel \
&& yum clean all \
&& rm -rf /var/cache/yum
Expand Down

0 comments on commit 8367ffb

Please sign in to comment.