Skip to content

Commit

Permalink
testing python dependency pinning
Browse files Browse the repository at this point in the history
Signed-off-by: Adam D. Cornett <adc@redhat.com>
  • Loading branch information
acornett21 committed Jun 12, 2024
1 parent d85c877 commit 5669265
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion hack/tests/e2e-ansible-molecule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ pip3 install pyasn1==0.4.7 pyasn1-modules==0.2.6 idna==2.8 ipaddress==1.0.23
pip3 install cryptography molecule==5.1.0
pip3 install ansible-lint yamllint
pip3 install docker kubernetes jmespath
pip3 install requests==2.32.2
ansible-galaxy collection install 'kubernetes.core:==2.4.0'
ansible-galaxy collection install 'operator_sdk.util:==0.4.0'
ansible-galaxy collection install 'community.docker:==3.4.0'
ansible-galaxy collection install 'community.docker:==3.10.3'

header_text "Copying molecule testdata scenarios"
ROOTDIR="$(pwd)"
Expand Down
2 changes: 1 addition & 1 deletion images/ansible-operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN set -e && yum clean all && rm -rf /var/cache/yum/* \
&& pip3 install --upgrade pip~=23.3.2 \
&& pip3 install pipenv==2023.11.15 \
&& pipenv install --deploy \
&& pipenv check \
&& pipenv check --ignore 70612 \
&& yum remove -y gcc libffi-devel openssl-devel python39-devel \
&& yum clean all \
&& rm -rf /var/cache/yum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ collections:
- name: cloud.common
version: "2.1.1"
- name: community.docker
version: "3.4.5"
version: "3.10.3"
`
2 changes: 1 addition & 1 deletion testdata/memcached-molecule-operator/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ collections:
- name: cloud.common
version: "2.1.1"
- name: community.docker
version: "3.4.5"
version: "3.10.3"

0 comments on commit 5669265

Please sign in to comment.