Skip to content

Commit 0ab099b

Browse files
committed
chore: update tested versions
1 parent 2eb6c3b commit 0ab099b

3 files changed

Lines changed: 4 additions & 14 deletions

File tree

.github/workflows/ci-testing.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,8 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
netbox-version:
37-
- v4.1.0
38-
- v4.1.1
39-
- v4.1.2
40-
- v4.1.3
41-
- v4.1.4
42-
- v4.1.5
43-
- v4.1.6
44-
- v4.1.7
45-
- v4.1.8
46-
# - v4.1.9 has a regression - do not use
47-
- v4.1.10
48-
- v4.1.11
37+
# - v4.2.1 has a bug where mac addresses cannot be assigned
38+
- v4.2.2
4939
steps:
5040
- uses: actions/checkout@v4
5141
- name: Set up Go

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TEST_FUNC?=TestAccNetboxMACAddr*
33
GOFMT_FILES?=$$(find . -name '*.go' | grep -v vendor)
44
DOCKER_COMPOSE=docker compose
55

6-
export NETBOX_VERSION=v4.2.1
6+
export NETBOX_VERSION=v4.2.2
77
export NETBOX_SERVER_URL=http://localhost:8001
88
export NETBOX_API_TOKEN=0123456789abcdef0123456789abcdef01234567
99
export NETBOX_TOKEN=$(NETBOX_API_TOKEN)

netbox/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func providerConfigure(ctx context.Context, data *schema.ResourceData) (interfac
331331

332332
netboxVersion := res.GetPayload().(map[string]interface{})["netbox-version"].(string)
333333

334-
supportedVersions := []string{"4.1.0", "4.1.1", "4.1.2", "4.1.3", "4.1.4", "4.1.5", "4.1.6", "4.1.7", "4.1.8", "4.1.10", "4.1.11"}
334+
supportedVersions := []string{"4.2.2"}
335335

336336
if !slices.Contains(supportedVersions, netboxVersion) {
337337
// Currently, there is no way to test these warnings. There is an issue to track this: https://github.com/hashicorp/terraform-plugin-sdk/issues/864

0 commit comments

Comments
 (0)