From e6af40d36787cb1eedeb36ba5b85684531aae5e9 Mon Sep 17 00:00:00 2001 From: Felix Peters Date: Thu, 10 Oct 2024 22:58:52 +0200 Subject: [PATCH] test: drop test support for netbox 3.x --- .github/workflows/ci.yml | 10 +++------- README.md | 3 ++- tasks.py | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cf898d..0a2e04a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,14 +30,10 @@ jobs: strategy: matrix: netbox-version: - - v3.3.2 - - v3.4.4 - - v3.5.3 - - v3.6.7 - - v3.7.8 - v4.0.11 - - v4.1.3 - - latest + # https://github.com/FlxPeters/netbox-plugin-prometheus-sd/issues/202 + # - v4.1.3 + # - latest steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index ba5fcf1..fd70ed5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ This plugin implements API endpoints in Netbox to make devices, services, IPs an ## Compatibility -We aim to support the latest major versions of Netbox. For now we support Netbox `>= 3.3` including bugfix versions. +We aim to support the latest major versions of Netbox. +For now we support Netbox `>= 4.0` including bugfix versions. Older versions may work, but without any guarantee. Check the `.github/workflows/ci.yml` pipeline for the current tested builds. Other versions may work, but we do not test them explicitly. All relevant target versions are tested in CI. diff --git a/tasks.py b/tasks.py index d600626..3b6217c 100644 --- a/tasks.py +++ b/tasks.py @@ -7,7 +7,7 @@ NAME = os.getenv("IMAGE_NAME", "netbox-plugin-prometheus") PWD = os.getcwd() -COMPOSE_BIN = "docker compose" +COMPOSE_BIN = os.getenv("COMPOSE_BIN", "docker compose") COMPOSE_FILE = "develop/docker-compose.yml" DOCKER_FILE = "develop/Dockerfile" BUILD_NAME = "netbox_prometheus_sd"