Skip to content

Commit

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

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

* add ansible-lint file

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

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update CHANGELOG.rst

Co-authored-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>

* Update changelogs/changelog.yaml

---------

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
  • Loading branch information
3 people authored Dec 1, 2023
1 parent 0101621 commit 81fd56e
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
profile: production

exclude_paths:
- changelogs/changelog.yaml
13 changes: 13 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: ansible-lint
on: # yamllint disable-line rule:truthy
pull_request:
branches: ["main"]
jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@main
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ on: # yamllint disable-line rule:truthy
- cron: '0 0 * * *'

jobs:
ansible-lint:
uses: ansible-network/github_actions/.github/workflows/ansible-lint.yml@main
changelog:
uses: ansible-network/github_actions/.github/workflows/changelog.yml@main
if: github.event_name == 'pull_request'
Expand All @@ -31,7 +29,6 @@ jobs:
all_green:
if: ${{ always() }}
needs:
- ansible-lint
- changelog
- sanity
- unit-galaxy
Expand All @@ -41,7 +38,6 @@ jobs:
- run: >-
python -c "assert 'failure' not in
set([
'${{ needs.ansible-lint.result }}',
'${{ needs.changelog.result }}',
'${{ needs.sanity.result }}',
'${{ needs.unit-galaxy.result }}',
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 @@ Cisco Asa Collection Release Notes
.. contents:: Topics


v5.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 `v4.0.3`.

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

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

v4.0.3
======

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Ansible Cisco ASA collection includes a variety of Ansible content to help a
<!--start requires_ansible-->
## Ansible version compatibility

This collection has been tested against following Ansible versions: **>=2.9.10**.
This collection has been tested against following Ansible versions: **>=2.14.0**.

For collections that support Ansible 2.9, please ensure you update your `network_os` to use the
fully qualified collection name (for example, `cisco.ios.ios`).
Expand Down
11 changes: 11 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,14 @@ releases:
- codecov_pr.yml
- lint_fixtures.yaml
release_date: "2023-10-31"
5.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
fragments:
- lint_fixtures.yaml
release_date: "2023-11-30"
3 changes: 0 additions & 3 deletions changelogs/fragments/lint_fixtures.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors:
- Ansible Security Community (ansible-security)
dependencies:
"ansible.netcommon": ">=2.5.1"
"ansible.netcommon": ">=6.0.0"
license_file: LICENSE
name: asa
namespace: cisco
Expand All @@ -13,4 +13,4 @@ issues: https://github.com/ansible-collections/cisco.asa/issues
tags: [cisco, asa, networking, security]
# NOTE(pabelanger): We create an empty version key to keep ansible-galaxy
# happy. We dynamically inject version info based on git information.
version: 4.0.3
version: 5.0.0
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
requires_ansible: ">=2.9.10"
requires_ansible: ">=2.14.0"
plugin_routing:
action:
asa_acls:
Expand Down
3 changes: 3 additions & 0 deletions tests/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
modules:
python_requires: ">=3.9"

0 comments on commit 81fd56e

Please sign in to comment.