Skip to content

Commit

Permalink
Make sure 3.9.0 is tested in CI and mentioned in README; fix RPM URLs…
Browse files Browse the repository at this point in the history
… again (#188)

* Make sure 3.9.0 is tested in CI and mentioned in README.

* Fix RPM URL for 3.9.0 release.
  • Loading branch information
felixfontein authored Jun 28, 2024
1 parent c291624 commit c3623de
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
- 3.7.3
- 3.8.0
- 3.8.1
- 3.9.0
python_version:
- ''
include:
Expand Down Expand Up @@ -124,7 +125,7 @@ jobs:
sops_version: 3.8.1
- ansible: stable-2.17
docker_container: fedora39
sops_version: 3.8.1
sops_version: 3.9.0
# devel
- ansible: devel
docker_container: quay.io/ansible-community/test-image:archlinux
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The following table shows which versions of sops were tested with which versions
|---|---|
|0.1.0|`3.5.0+`|
|1.0.6|`3.5.0+`|
|`main` branch|`3.5.0`, `3.6.0`, `3.7.3`, `3.8.0`|
|`main` branch|`3.5.0`, `3.6.0`, `3.7.3`, `3.8.0`, `3.8.1`, `3.9.0`|

## Tested with Ansible

Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/188-sops-3.9.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- "Fix RPM URL for the 3.9.0 release (https://github.com/ansible-collections/community.sops/pull/188)."
5 changes: 4 additions & 1 deletion roles/install/vars/OS-RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ _community_sops_install_system_packages_unsigned_github:
}}{{
_community_sops_install_effective_sops_version.replace('-', '.')
}}{{
(_community_sops_install_effective_sops_version is version('3.8.0', '<')) | ternary('-1', '')
(
_community_sops_install_effective_sops_version is version('3.8.0', '<') or
_community_sops_install_effective_sops_version is version('3.9.0', '>=')
) | ternary('-1', '')
}}.{{
ansible_facts.architecture
}}.rpm
Expand Down

0 comments on commit c3623de

Please sign in to comment.