Skip to content

Commit

Permalink
Ansible bump deps (#4734)
Browse files Browse the repository at this point in the history
* Bump python and ansible dependencies

Regenerate samples

Add changelog

Signed-off-by: Fabian von Feilitzsch <fabian@fabianism.us>

* Update changelog to obey formatting conventions

Signed-off-by: Fabian von Feilitzsch <fabian@fabianism.us>
  • Loading branch information
fabianvf committed Apr 9, 2021
1 parent 6f0a0db commit d31e4e8
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 44 deletions.
21 changes: 21 additions & 0 deletions changelog/fragments/ansible-dep-bump.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
entries:
- description: |
For Ansible-based Operators: Update Python dependencies.
- openshift (0.11.2 -> 0.12.0)
- kubernetes (11.0.0 -> 12.0.1)
- ansible-runner (1.4.6 -> 1.4.7)
- ansible (2.9.15 -> 2.9.19)
kind: "change"
breaking: false
- description: |
(ansible/v1) Update scaffolded requirements.yml to pull in newer versions of the Ansible collections.
- community.kubernetes (1.1.1 -> 1.2.1)
- operator_sdk.util (0.1.0 -> 0.2.0)
kind: "change"
breaking: false
migration:
header: (ansible/v1) Update Ansible collections
body: >
In your requirements.yml, change the `version` field for community.kubernetes to `1.2.1`,
and the `version` field for `operator_sdk.util` to `0.2.0`.
6 changes: 3 additions & 3 deletions images/ansible-operator/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ verify_ssl = true
name = "pypi"

[packages]
ansible-runner = "==1.4.6"
ansible-runner = "~=1.4.7"
ansible-runner-http = "==1.0.0"
ipaddress = "==1.0.23"
openshift = "==0.11.2"
ansible = "==2.10.7"
openshift = "~=0.12.0"
ansible = "~=2.9.15"
jmespath = "==0.10.0"
# cryptography needs to be pinned to 3.3.2 as this is the last version
# before its setup requires rust, which is not available via RPM in the
Expand Down
51 changes: 14 additions & 37 deletions images/ansible-operator/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (f *RequirementsYml) SetTemplateDefaults() error {
const requirementsYmlTmpl = `---
collections:
- name: community.kubernetes
version: "==1.1.1"
version: "1.2.1"
- name: operator_sdk.util
version: "0.1.0"
version: "0.2.0"
`
4 changes: 2 additions & 2 deletions testdata/ansible/memcached-operator/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
collections:
- name: community.kubernetes
version: "==1.1.1"
version: "1.2.1"
- name: operator_sdk.util
version: "0.1.0"
version: "0.2.0"

0 comments on commit d31e4e8

Please sign in to comment.