Skip to content

Commit

Permalink
Pin cifmw dependencies
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pablintino committed Dec 30, 2024
1 parent c2e4f9f commit 9835da5
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 17 deletions.
3 changes: 1 addition & 2 deletions common-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
ansible-core>=2.14.0
ansible-core==2.15.13
oauthlib>=3.2.0 # k8s lib that requires manual upgrade
kubernetes
kubernetes-validate
openstacksdk
jsonschema>=4.20.0

# Allows to unpin cryptography
pyOpenSSL>=22.1.0
28 changes: 14 additions & 14 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,20 @@ tags:
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
# range specifiers can be set and are separated by ','
dependencies:
'git+https://github.com/containers/ansible-podman-collections': 'main'
'git+https://github.com/ansible-collections/community.general': 'main'
'git+https://github.com/ansible-collections/ansible.posix': 'main'
'git+https://github.com/ansible-collections/ansible.utils': 'main'
'git+https://github.com/ansible-collections/community.libvirt': 'main'
'git+https://github.com/ansible-collections/community.crypto': 'main'
'git+https://github.com/ansible-collections/kubernetes.core': 'main'
'git+https://github.com/ansible-collections/ansible.netcommon': 'main'
'git+https://github.com/openstack/ansible-config_template': 'master'
'git+https://github.com/ansible-collections/junipernetworks.junos': 'main'
'git+https://github.com/ansible-collections/cisco.ios': 'main'
'git+https://github.com/ansible-collections/mellanox.onyx': 'master'
'git+https://github.com/openshift/community.okd': 'main'
'git+https://github.com/ovirt/ovirt-ansible-collection': 'master'
'git+https://github.com/containers/ansible-podman-collections': '1.16.2'
'git+https://github.com/ansible-collections/community.general': '10.0.1'
'git+https://github.com/ansible-collections/ansible.posix': '1.6.2'
'git+https://github.com/ansible-collections/ansible.utils': 'v5.1.2'
'git+https://github.com/ansible-collections/community.libvirt': '1.3.0'
'git+https://github.com/ansible-collections/community.crypto': '2.22.3'
'git+https://github.com/ansible-collections/kubernetes.core': '5.0.0'
'git+https://github.com/ansible-collections/ansible.netcommon': 'v7.1.0'
'git+https://github.com/openstack/ansible-config_template': '2.1.1'
'git+https://github.com/ansible-collections/junipernetworks.junos': 'v9.1.0'
'git+https://github.com/ansible-collections/cisco.ios': 'v9.0.3'
'git+https://github.com/ansible-collections/mellanox.onyx': 'master' # Unmaintained, no tags
'git+https://github.com/openshift/community.okd': '4.0.0'
'git+https://github.com/ovirt/ovirt-ansible-collection': '3.2.0-1'

# The URL of the originating SCM repository
repository: https://github.com/openstack-k8s-operators/ci-framework
Expand Down
13 changes: 13 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,42 @@
collections:
- name: https://github.com/ansible-collections/ansible.posix
type: git
version: "1.6.2"
- name: https://github.com/ansible-collections/ansible.utils
type: git
version: "v5.1.2"
- name: https://github.com/ansible-collections/community.general
type: git
version: "10.0.1"
- name: https://github.com/ansible-collections/community.crypto
type: git
version: "2.22.3"
- name: https://github.com/containers/ansible-podman-collections
type: git
version: "1.16.2"
- name: https://github.com/ansible-collections/community.libvirt
type: git
version: "1.3.0"
- name: https://github.com/ansible-collections/kubernetes.core
type: git
version: "5.0.0"
- name: https://github.com/ansible-collections/ansible.netcommon
type: git
version: "v7.1.0"
- name: https://github.com/openstack/ansible-config_template
type: git
version: "2.1.1"
- name: https://github.com/ansible-collections/junipernetworks.junos
type: git
version: "v9.1.0"
- name: https://github.com/ansible-collections/cisco.ios
type: git
version: "v9.0.3"
- name: https://github.com/ansible-collections/mellanox.onyx
type: git
- name: https://github.com/openshift/community.okd
type: git
version: "4.0.0"
- name: https://github.com/ovirt/ovirt-ansible-collection
type: git
version: "3.2.0-1"
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ansible-core>=2.14.0
ansible-core==2.15.13

# Molecule Deps
molecule>=5.1.0,<6.0.0
Expand Down

0 comments on commit 9835da5

Please sign in to comment.