Skip to content

Commit

Permalink
[Major] Prepare release 4.0.0 (#26)
Browse files Browse the repository at this point in the history
* [Major] Prepare release 4.0.0

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix lint issues

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update core version

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

---------

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
  • Loading branch information
rohitthakur2590 authored Dec 1, 2023
1 parent 092de35 commit a50589b
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 72 deletions.
2 changes: 2 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
profile: production

exclude_paths:
- changelogs/changelog.yaml
skip_list:
# this rule error out correct vars names for network validated content
- var-naming[no-role-prefix]
48 changes: 1 addition & 47 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,40 +22,10 @@ jobs:
matrix_include: "[]"
matrix_exclude: >-
[
{
"ansible-version": "stable-2.9"
},
{
"ansible-version": "stable-2.12",
},
{
"ansible-version": "stable-2.13",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.13",
"python-version": "3.11"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.8"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.12"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.8"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.12"
Expand All @@ -64,33 +34,17 @@ jobs:
"ansible-version": "stable-2.16",
"python-version": "3.9"
},
{
"ansible-version": "milestone",
"python-version": "3.7"
},
{
"ansible-version": "milestone",
"python-version": "3.8"
},
{
"ansible-version": "milestone",
"python-version": "3.9"
},
{
"ansible-version": "devel",
"python-version": "3.7"
},
{
"ansible-version": "devel",
"python-version": "3.8"
},
{
"ansible-version": "devel",
"python-version": "3.9"
},
]
all_green:
if: ${{ always() && (github.event_name != 'schedule') }}
if: ${{ always() }}
needs:
- changelog
- sanity
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ Network Ospf Collection Release Notes
.. contents:: Topics


v4.0.0
======

Release Summary
---------------

Starting from this release, the minimum `ansible-core` version this collection requires is `2.14.0`. The last known version compatible with ansible-core<2.14 is `v3.0.0`

Major Changes
-------------

- Bumping `requires_ansible` to `>=2.14.0`, since previous ansible-core versions are EoL now.

v3.0.0
======

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The `network.ospf` enables users to manage the OSPF resources independent of pla

## Tested with Ansible

Tested with ansible-core 2.13 releases.
Tested with ansible-core 2.14 releases.

## Installation
#### Install from Automation Hub
Expand Down
46 changes: 29 additions & 17 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,47 @@ releases:
1.0.0:
changes:
bugfixes:
- Fix when no neighbor is present.
- Update directory structure for filter plugin.
- Fix when no neighbor is present.
- Update directory structure for filter plugin.
minor_changes:
- place remediate task in include dir.
- place remediate task in include dir.
fragments:
- change_dir_structures.yaml
- move_remediate_to_includes.yaml
- trivial.yaml
- trivial_lint_fixes.yaml
- update_examples.yaml
- update_workflow.yaml
- change_dir_structures.yaml
- move_remediate_to_includes.yaml
- trivial.yaml
- trivial_lint_fixes.yaml
- update_examples.yaml
- update_workflow.yaml
release_date: '2023-02-23'
2.0.0:
changes:
bugfixes:
- rename var in task.
- rename var in task.
major_changes:
- Add support for scm operations and remove inventory_directory attribute.
- Add support for scm operations and remove inventory_directory attribute.
fragments:
- fix_health_check_var_name.yaml
- scm_enablement_and_doc_changes.yaml
- fix_health_check_var_name.yaml
- scm_enablement_and_doc_changes.yaml
release_date: '2023-05-11'
3.0.0:
changes:
doc_changes:
- Update docs, tests and GH matrix.
- Update docs, tests and GH matrix.
major_changes:
- Change `actions` to `operations`
- Change `actions` to `operations`
fragments:
- rename_actions_to_operations.yaml
- update_docs.yaml
- rename_actions_to_operations.yaml
- update_docs.yaml
release_date: '2023-07-25'
4.0.0:
changes:
major_changes:
- Bumping `requires_ansible` to `>=2.14.0`, since previous ansible-core versions
are EoL now.
release_summary:
Starting from this release, the minimum `ansible-core` version
this collection requires is `2.14.0`. The last known version compatible with
ansible-core<2.14 is `v3.0.0`.
fragments:
- lint_fixes.yaml
release_date: '2023-12-01'
3 changes: 0 additions & 3 deletions changelogs/fragments/lint_fixes.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
authors:
- Rohit Thakur (rohitthakur2590)
dependencies:
"ansible.netcommon": ">=5.1.1"
"ansible.utils": ">=2.9.0"
"ansible.netcommon": ">=6.0.0"
"ansible.utils": ">=3.0.0"
license_file: LICENSE
name: ospf
description: Ansible Network OSPF enables user to manage the OSPF resources independent of platforms and perform OSPF health checks.
Expand All @@ -12,4 +12,4 @@ readme: README.md
repository: https://github.com/redhat-cop/network.ospf
issues: https://github.com/redhat-cop/network.ospf/issues
tags: [networking]
version: 3.0.0
version: 4.0.0
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.13.0"
requires_ansible: ">=2.14.0"

0 comments on commit a50589b

Please sign in to comment.