From 440986f8e97038b0abeaea5a3b3124c0321aa75b Mon Sep 17 00:00:00 2001 From: Nat Morris Date: Wed, 9 Oct 2024 21:16:08 +0100 Subject: [PATCH 1/2] feat: Initial plugin manifest --- netbox-plugin.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 netbox-plugin.yaml diff --git a/netbox-plugin.yaml b/netbox-plugin.yaml new file mode 100644 index 0000000..6c15bc4 --- /dev/null +++ b/netbox-plugin.yaml @@ -0,0 +1,12 @@ +version: 0.1 +package_name: netbox-bgp +compatibility: + - release: 0.14.0 + netbox_min: 4.1.0 + netbox_max: 4.1.3 + - release: 0.13.3 + netbox_min: 4.0.9 + netbox_max: 4.0.11 + - release: 0.13.2 + netbox_min: 4.0.0 + netbox_max: 4.0.9 From 4d25e6171fb5fff5c168ca918135f27699822ebf Mon Sep 17 00:00:00 2001 From: Nat Morris Date: Wed, 9 Oct 2024 21:16:52 +0100 Subject: [PATCH 2/2] feat: Trigger central workflows when the manifest changes --- .github/workflows/manifest-modified.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/manifest-modified.yaml diff --git a/.github/workflows/manifest-modified.yaml b/.github/workflows/manifest-modified.yaml new file mode 100644 index 0000000..28bd89e --- /dev/null +++ b/.github/workflows/manifest-modified.yaml @@ -0,0 +1,15 @@ +name: NetBox plugin manifest modified + +on: + push: + branches: [ develop ] + paths: + - netbox-plugin.yaml + +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: false + +jobs: + manifest-modified: + uses: netboxlabs/public-workflows/.github/workflows/reusable-plugin-manifest-modified.yml@release