Skip to content

Commit

Permalink
Release notes for v1.6.1 (#213)
Browse files Browse the repository at this point in the history
* [FIX] Unit test fix for 2.16 and devel

* [FIX] Example playbooks.

* Release notes for v1.6.1
  • Loading branch information
JchhatbarInfoblox authored Dec 19, 2023
1 parent 51f6dca commit 8bf75a1
Show file tree
Hide file tree
Showing 15 changed files with 38 additions and 25 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansible-version: [stable-2.10]
ansible-version: [stable-2.14]
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
ansible-version: [stable-2.13, stable-2.14, stable-2.15, stable-2.16, devel]
ansible-version: [stable-2.14, stable-2.15, stable-2.16, devel]
exclude:
- ansible-version: devel
python-version: '3.8'
Expand All @@ -63,8 +63,6 @@ jobs:
python-version: '3.8'
- ansible-version: stable-2.14
python-version: '3.8'
- ansible-version: stable-2.13
python-version: '3.11'

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -95,9 +93,7 @@ jobs:

- name: Generate coverage report
run: |
if [ "${{ matrix.ansible-version }}" == "stable-2.13" ]; then
pip install coverage==4.5.4;
elif [ "${{ matrix.ansible-version }}" == "stable-2.14" ]; then
if [ "${{ matrix.ansible-version }}" == "stable-2.14" ]; then
pip install coverage==6.5.0;
elif [ "${{ matrix.ansible-version }}" == "stable-2.15" ]; then
pip install coverage==6.5.0;
Expand All @@ -119,7 +115,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
ansible-version: [stable-2.13, stable-2.14, stable-2.15, stable-2.16, devel]
ansible-version: [stable-2.14, stable-2.15, stable-2.16, devel]
exclude:
- ansible-version: devel
python-version: '3.8'
Expand All @@ -133,8 +129,6 @@ jobs:
python-version: '3.8'
- ansible-version: stable-2.14
python-version: '3.8'
- ansible-version: stable-2.13
python-version: '3.11'
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
Expand Down Expand Up @@ -192,7 +186,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansible-version: [stable-2.13, stable-2.14, stable-2.15, stable-2.16, devel]
ansible-version: [stable-2.14, stable-2.15, stable-2.16, devel]

steps:
- name: Set up Python 3.10
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ Infoblox.Nios_Modules Release Notes
===================================

.. contents:: Topics
v1.6.1
======

Release Summary
---------------
This release includes the updates of plug-in version 1.6.0 and the following documentation changes:
Ansible core version in the dependencies updated to 2.14 or later.

Minor Changes
-------------
Ansible core version in the dependencies updated to 2.14 or later.

v1.6.0
======
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Dependencies

- Python version 3.10 or later

- Ansible version 2.16 or later
- Ansible Core version 2.14 or later

- NIOS 8.6.x and 9.0.x

Expand Down Expand Up @@ -184,7 +184,7 @@ Dates TBD
Current release
---------------

1.6.0 on 14 Dec 2023
1.6.1 on 19 Dec 2023

Versioning
=========
Expand Down
2 changes: 1 addition & 1 deletion changelogs/.plugin-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ plugins:
shell: {}
strategy: {}
vars: {}
version: 1.6.0
version: 1.6.1
7 changes: 7 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,3 +253,10 @@ releases:
name: nios_dtc_topology
namespace: ''
release_date: '2023-12-14'
1.6.1:
changes:
minor_changes:
- Ansible core version in the dependencies updated to 2.14 or later.
release_summary: 'This release includes the updates of plug-in version 1.6.0 and the following documentation changes:
Ansible core version in the dependencies updated to 2.14 or later.'
release_date: '2023-12-19'
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace: infoblox
name: nios_modules

# The version of the collection. Must be compatible with semantic versioning
version: 1.6.0
version: 1.6.1

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
requires_ansible: '>=2.9.10'
requires_ansible: '>=2.14.0'
2 changes: 1 addition & 1 deletion playbooks/delete_cname_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

connection: local
tasks:
- name: Create Nios CNAME record
- name: Delete Nios CNAME record
infoblox.nios_modules.nios_cname_record:
name: cname.ansible.com
canonical: realhost.ansible.com
Expand Down
4 changes: 2 additions & 2 deletions playbooks/delete_dtc_topology.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

connection: local
tasks:
- name: Delete a DTC Topology
nios_dtc_topology:
- name: delete a DTC Topology
infoblox.nios_modules.nios_dtc_topology:
name: a_topology
state: absent
provider: "{{ nios_provider }}"
2 changes: 1 addition & 1 deletion playbooks/delete_mx_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

connection: local
tasks:
- name: Create Nios MX record
- name: delete Nios MX record
infoblox.nios_modules.nios_mx_record:
name: ansible.com
mx: mailhost.ansible.com
Expand Down
2 changes: 1 addition & 1 deletion playbooks/delete_txt_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

connection: local
tasks:
- name: Create Nios TXT record
- name: delete Nios TXT record
infoblox.nios_modules.nios_txt_record:
name: fqdn.txt.ansible.com
text: example_text
Expand Down
2 changes: 1 addition & 1 deletion playbooks/restart_services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
connection: local
tasks:
- name: Restart Services
nios_restartservices:
infoblox.nios_modules.nios_restartservices:
provider: "{{ nios_provider }}"
...
2 changes: 1 addition & 1 deletion playbooks/update_member.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
password: cloudadmin
connection: local
tasks:
- name: create member
- name: update member host name
infoblox.nios_modules.nios_member:
host_name: {old_name: block1.localdomain, new_name: member01.localdomain}
master_candidate: false
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ pytest-xdist
mock
pytest-mock
pytest-cov==2.8.0
coverage
coverage==7.3.2
pygobject
launchpadlib
3 changes: 2 additions & 1 deletion tests/unit/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ pytest-xdist
mock
pytest-mock
pytest-cov
coverage
coverage==7.3.2

0 comments on commit 8bf75a1

Please sign in to comment.