Skip to content

Commit a53fd0b

Browse files
Pin cifmw dependencies
Till this commit we were not pinning the dependencies, resulting in break jobs as soon as a dependency changed underneath without notice. This commit pins all the dependencies to given known versions.
1 parent 556924a commit a53fd0b

File tree

4 files changed

+54
-43
lines changed

4 files changed

+54
-43
lines changed

common-requirements.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
ansible-core>=2.14.0
2-
oauthlib>=3.2.0 # k8s lib that requires manual upgrade
3-
kubernetes
4-
kubernetes-validate
5-
openstacksdk
6-
jsonschema>=4.20.0
7-
8-
# Allows to unpin cryptography
9-
pyOpenSSL>=22.1.0
1+
ansible-core==2.15.13
2+
oauthlib==3.2.2
3+
kubernetes==31.0.0
4+
kubernetes-validate==1.31.0
5+
openstacksdk==4.1.0
6+
jsonschema==4.23.0
7+
pyOpenSSL==24.2.1

galaxy.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,20 @@ tags:
7171
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
7272
# range specifiers can be set and are separated by ','
7373
dependencies:
74-
'git+https://github.com/containers/ansible-podman-collections': 'main'
75-
'git+https://github.com/ansible-collections/community.general': 'main'
76-
'git+https://github.com/ansible-collections/ansible.posix': 'main'
77-
'git+https://github.com/ansible-collections/ansible.utils': 'main'
78-
'git+https://github.com/ansible-collections/community.libvirt': 'main'
79-
'git+https://github.com/ansible-collections/community.crypto': 'main'
80-
'git+https://github.com/ansible-collections/kubernetes.core': 'main'
81-
'git+https://github.com/ansible-collections/ansible.netcommon': 'main'
82-
'git+https://github.com/openstack/ansible-config_template': 'master'
83-
'git+https://github.com/ansible-collections/junipernetworks.junos': 'main'
84-
'git+https://github.com/ansible-collections/cisco.ios': 'main'
85-
'git+https://github.com/ansible-collections/mellanox.onyx': 'master'
86-
'git+https://github.com/openshift/community.okd': 'main'
87-
'git+https://github.com/ovirt/ovirt-ansible-collection': 'master'
74+
'git+https://github.com/containers/ansible-podman-collections': '1.16.2'
75+
'git+https://github.com/ansible-collections/community.general': '10.0.1'
76+
'git+https://github.com/ansible-collections/ansible.posix': '1.6.2'
77+
'git+https://github.com/ansible-collections/ansible.utils': 'v5.1.2'
78+
'git+https://github.com/ansible-collections/community.libvirt': '1.3.0'
79+
'git+https://github.com/ansible-collections/community.crypto': '2.22.3'
80+
'git+https://github.com/ansible-collections/kubernetes.core': '5.0.0'
81+
'git+https://github.com/ansible-collections/ansible.netcommon': 'v7.1.0'
82+
'git+https://github.com/openstack/ansible-config_template': '2.1.1'
83+
'git+https://github.com/ansible-collections/junipernetworks.junos': 'v9.1.0'
84+
'git+https://github.com/ansible-collections/cisco.ios': 'v9.0.3'
85+
'git+https://github.com/ansible-collections/mellanox.onyx': 'master' # Unmaintained, no tags
86+
'git+https://github.com/openshift/community.okd': '4.0.0'
87+
'git+https://github.com/ovirt/ovirt-ansible-collection': '3.2.0-1'
8888

8989
# The URL of the originating SCM repository
9090
repository: https://github.com/openstack-k8s-operators/ci-framework

requirements.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,42 @@
1717
collections:
1818
- name: https://github.com/ansible-collections/ansible.posix
1919
type: git
20+
version: "1.6.2"
2021
- name: https://github.com/ansible-collections/ansible.utils
2122
type: git
23+
version: "v5.1.2"
2224
- name: https://github.com/ansible-collections/community.general
2325
type: git
26+
version: "10.0.1"
2427
- name: https://github.com/ansible-collections/community.crypto
2528
type: git
29+
version: "2.22.3"
2630
- name: https://github.com/containers/ansible-podman-collections
2731
type: git
32+
version: "1.16.2"
2833
- name: https://github.com/ansible-collections/community.libvirt
2934
type: git
35+
version: "1.3.0"
3036
- name: https://github.com/ansible-collections/kubernetes.core
3137
type: git
38+
version: "5.0.0"
3239
- name: https://github.com/ansible-collections/ansible.netcommon
3340
type: git
41+
version: "v7.1.0"
3442
- name: https://github.com/openstack/ansible-config_template
3543
type: git
44+
version: "2.1.1"
3645
- name: https://github.com/ansible-collections/junipernetworks.junos
3746
type: git
47+
version: "v9.1.0"
3848
- name: https://github.com/ansible-collections/cisco.ios
3949
type: git
50+
version: "v9.0.3"
4051
- name: https://github.com/ansible-collections/mellanox.onyx
4152
type: git
4253
- name: https://github.com/openshift/community.okd
4354
type: git
55+
version: "4.0.0"
4456
- name: https://github.com/ovirt/ovirt-ansible-collection
4557
type: git
58+
version: "3.2.0-1"

test-requirements.txt

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
ansible-core>=2.14.0
1+
ansible-core==2.15.13
22

33
# Molecule Deps
4-
molecule>=5.1.0,<6.0.0
5-
molecule-plugins[podman]
6-
ruamel.yaml
7-
ansi2html
8-
dogpile.cache>=0.9.2
9-
jmespath # required by devscripts role
10-
netaddr # required by libvirt_manager role
11-
dnspython # required by community.general.dig
4+
molecule==5.1.0
5+
molecule-plugins[podman]==23.5.0
6+
ruamel.yaml==0.18.6
7+
ansi2html==1.9.2
8+
dogpile.cache==1.3.3
9+
jmespath==1.0.1 # required by devscripts role
10+
netaddr==1.3.0 # required by libvirt_manager role
11+
dnspython==2.7.0 # required by community.general.dig
1212

1313
# UT Deps
14-
pytest
15-
pytest-cov
16-
pytest-html
17-
pytest-testinfra
18-
pytest-xdist
19-
mock
14+
pytest==8.3.3
15+
pytest-cov==6.0.0
16+
pytest-html==4.1.1
17+
pytest-testinfra==10.1.1
18+
pytest-xdist==3.6.1
19+
mock==5.1.0
2020

2121
# CI Deps
22-
pre-commit # MIT
23-
yamllint
24-
pyspelling
25-
mkdocs-pymdownx-material-extras
22+
pre-commit==4.0.1
23+
yamllint==1.35.1
24+
pyspelling==2.10
25+
mkdocs-pymdownx-material-extras==2.6
2626

2727
# Common requirements
28-
ansi2txt
28+
ansi2txt==0.2.0

0 commit comments

Comments
 (0)