Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible bump deps #4734

Merged
merged 2 commits into from
Apr 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"