Skip to content

Commit

Permalink
test: drop test support for netbox 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Peters authored and FlxPeters committed Oct 10, 2024
1 parent c4d44b0 commit e6af40d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e6af40d

Please sign in to comment.