Skip to content

Commit 42bf7d0

Browse files
authored
Merge pull request #1258 from netbox-community/devel
Release v3.19.0
2 parents c1fe586 + 3af3aac commit 42bf7d0

File tree

590 files changed

+29716
-7432
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

590 files changed

+29716
-7432
lines changed

.ansible-lint

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
profile: production
3+
4+
exclude_paths:
5+
- .cache/ # implicit unless exclude_paths is defined in config
6+
- .venv/
7+
- .github/
8+
9+
skip_list:
10+
- args[module]
11+
- no-handler
12+
- yaml[key-duplicates]
13+
- yaml[line-length]
14+
15+
offline: false

.ansible-lint-ignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This file contains ignores rule violations for ansible-lint
2+
changelogs/fragments/ yaml[comments]
3+
changelogs/changelog.yaml yaml[indentation]

.github/workflows/main.yml

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,26 @@ jobs:
1010
steps:
1111

1212
- name: Checkout repo
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Run black
1616
uses: psf/black@stable
1717

18-
- name: 'Yamllint'
19-
uses: karancode/yamllint-github-action@master
20-
21-
#- name: Run isort
22-
# uses: jamescurtin/isort-action@master
23-
24-
#- name: Run ruff
25-
# uses: chartboost/ruff-action@v1
26-
2718
unit_testing:
28-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-20.04
2920
needs: linting
3021
strategy:
3122
fail-fast: false
3223
matrix:
33-
python-version: ["3.9", "3.10", "3.11"]
24+
python-version: ["3.10", "3.11"]
3425

3526
steps:
3627

3728
- name: Checkout repo
38-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3930

4031
- name: Set up Python ${{ matrix.python-version }}
41-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
4233
with:
4334
python-version: ${{ matrix.python-version }}
4435

@@ -71,24 +62,22 @@ jobs:
7162
runs-on: ubuntu-latest
7263
needs: unit_testing
7364
env:
74-
python-version: "3.9"
65+
python-version: "3.10"
7566
strategy:
7667
fail-fast: false
7768
matrix:
7869
include:
79-
- VERSION: "v3.5"
80-
NETBOX_DOCKER_VERSION: 2.6.1
8170
- VERSION: "v3.6"
8271
NETBOX_DOCKER_VERSION: 2.7.0
8372
- VERSION: "v3.7"
8473
NETBOX_DOCKER_VERSION: 2.7.0
85-
# If we want to integration test wiht all supported Python:
86-
#python-version: ["3.9", "3.10", "3.11"]
74+
- VERSION: "v4.0"
75+
NETBOX_DOCKER_VERSION: 2.9.1
8776

8877
steps:
8978

9079
- name: Checkout repo
91-
uses: actions/checkout@v3
80+
uses: actions/checkout@v4
9281

9382
- name: Clone & Start netbox-docker containers - ${{ matrix.VERSION }}
9483
run: |
@@ -102,7 +91,7 @@ jobs:
10291
cd ..
10392
10493
- name: Set up Python ${{ env.python-version }}
105-
uses: actions/setup-python@v4
94+
uses: actions/setup-python@v5
10695
with:
10796
python-version: ${{ env.python-version }}
10897

.github/workflows/tests.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: "CI"
3+
4+
concurrency:
5+
group: ${{ github.head_ref || github.run_id }}
6+
cancel-in-progress: true
7+
8+
on: # yamllint disable-line rule:truthy
9+
pull_request:
10+
branches: [master, devel]
11+
workflow_dispatch:
12+
schedule:
13+
- cron: '0 0 * * *'
14+
15+
jobs:
16+
changelog:
17+
uses: ansible/ansible-content-actions/.github/workflows/changelog.yaml@main
18+
if: github.event_name == 'pull_request' && github.base_ref == 'devel'
19+
build-import:
20+
uses: ansible/ansible-content-actions/.github/workflows/build_import.yaml@main
21+
ansible-lint:
22+
uses: ansible/ansible-content-actions/.github/workflows/ansible_lint.yaml@main
23+
sanity:
24+
uses: minitriga/ansible-content-actions/.github/workflows/sanity.yaml@patch-1
25+
unit-galaxy:
26+
uses: minitriga/ansible-content-actions/.github/workflows/unit.yaml@patch-1
27+
unit-source:
28+
uses: ansible-network/github_actions/.github/workflows/unit_source.yml@main
29+
with:
30+
collection_pre_install: >-
31+
git+https://github.com/ansible-collections/ansible.utils.git
32+
all_green:
33+
if: ${{ always() }}
34+
needs:
35+
- changelog
36+
- sanity
37+
- ansible-lint
38+
- unit-galaxy
39+
- unit-source
40+
runs-on: ubuntu-latest
41+
steps:
42+
- run: >-
43+
python -c "assert 'failure' not in
44+
set([
45+
'${{ needs.changelog.result }}',
46+
'${{ needs.sanity.result }}',
47+
'${{ needs.unit-galaxy.result }}',
48+
'${{ needs.unit-source.result }}',
49+
'${{ needs.ansible-lint.result }}'
50+
])"

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
version: 2
3-
#sphinx:
4-
# configuration: docs/conf.py
3+
# sphinx:
4+
# configuration: docs/conf.py
55

66
build:
77
os: ubuntu-22.04

.yamllint

Lines changed: 0 additions & 32 deletions
This file was deleted.

CHANGELOG.rst

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@ NetBox.NetBox Release Notes
44

55
.. contents:: Topics
66

7+
v3.19.0
8+
=======
9+
10+
Minor Changes
11+
-------------
12+
13+
- Add cluster host to dynamic inventory response `#1219 <https://github.com/netbox-community/ansible_modules/pull/1219>`_
14+
- Add galaxy-importer to CI process `#1245 <https://github.com/netbox-community/ansible_modules/issues/1245>`_
15+
- Adjust modules to support NetBox v4.0.0 `#1234 <https://github.com/netbox-community/ansible_modules/pull/1234>`_
16+
- Bump jinja2 from 3.1.2 to 3.1.4 `#1226 <https://github.com/netbox-community/ansible_modules/pull/1226>`_
17+
- Bump requests from 2.31.0 to 2.32.0 `#1236 <https://github.com/netbox-community/ansible_modules/pull/1236>`_
18+
- Drop obsolete Ansible and Python versions and fix tests `#1241 <https://github.com/netbox-community/ansible_modules/issues/1241>`_
19+
- Get ansible-lint passing again (sequence after `#1241 <https://github.com/netbox-community/ansible_modules/issues/1241>`_) `#1243 <https://github.com/netbox-community/ansible_modules/issues/1243>`_
20+
- Update CI process to follow Ansible Collection Standards `#1247 <https://github.com/netbox-community/ansible_modules/issues/1247>`_
21+
- Update CI to use master instead of main. `#1253 <https://github.com/netbox-community/ansible_modules/issues/1253>`_
22+
- Update ansible-lint to ignore changelog file for yaml indentation. `#1256 <https://github.com/netbox-community/ansible_modules/issues/1256>`_
23+
- Update top-level README with new minimum Ansible version (sequence after `#1241 <https://github.com/netbox-community/ansible_modules/issues/1241>`_ `#1244 <https://github.com/netbox-community/ansible_modules/issues/1244>`_
24+
- Updated CI to only run changelog job if PR into devel branch is detected. `#1251 <https://github.com/netbox-community/ansible_modules/issues/1251>`_
25+
- Updated CI to support NetBox 4.0 `#1230 <https://github.com/netbox-community/ansible_modules/pull/1230>`_
26+
- Updates to top-level README.md to align collection with Ansible best practices `#1238 <https://github.com/netbox-community/ansible_modules/issues/1238>`_
27+
28+
Bugfixes
29+
--------
30+
31+
- Added ALLOWED_QUERY_PARAMS module_bay by device `#1228 <https://github.com/netbox-community/ansible_modules/pull/1228>`_
32+
- Added label to power outlet `#1222 <https://github.com/netbox-community/ansible_modules/pull/1222>`_
33+
- Added power outlet type iec-60320-c21 to power outlet template and power outlet modules `#1229 <https://github.com/netbox-community/ansible_modules/issues/1229>`_
34+
- Extend query param for parent_location `#1233 <https://github.com/netbox-community/ansible_modules/issues/1233>`_
735

836
v3.18.0
937
=======
@@ -449,7 +477,6 @@ Release Summary
449477
This release should fix obvious broken changes between collection and NetBox 2.11, but there is most likely more. Please report as they're encountered.
450478
**packages** is now a required Python package and is already included in Ansible 2.10, but anyone using Ansible 2.9 or below must manually pip install the library.
451479

452-
453480
Major Changes
454481
-------------
455482

0 commit comments

Comments
 (0)