Prepare for upgrade to NetBox v4.0.6 (#40)

Closes #38
This commit is contained in:
wkoot
2024-07-09 22:15:58 +02:00
committed by GitHub
parent 230b3b5115
commit 86215f43a6
18 changed files with 179 additions and 216 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
ARG PYTHON_VERSION=3.10
ARG PYTHON_VERSION=3.11
FROM python:${PYTHON_VERSION}-alpine AS compile-image
WORKDIR /build
@@ -11,7 +11,7 @@ RUN pip install -U .[build]
RUN python -m build
RUN pip install --no-index /build
FROM netboxcommunity/netbox:v3.7.2
FROM netboxcommunity/netbox:v4.0.6
ARG PYTHON_VERSION=3.10
ARG PYTHON_VERSION=3.11
COPY --from=compile-image /opt/netbox/venv/lib/python${PYTHON_VERSION}/site-packages/netbox_slm /opt/netbox/venv/lib/python${PYTHON_VERSION}/site-packages/netbox_slm
+1 -1
View File
@@ -1,4 +1,4 @@
FROM netboxcommunity/netbox:v3.7.2
FROM netboxcommunity/netbox:v4.0.6
RUN mkdir /ci && chmod go+w /ci
COPY ../ci/requirements_ci.txt /ci/
+1 -1
View File
@@ -1,4 +1,4 @@
version: '3.7'
---
services:
netbox:
ports:
+2 -2
View File
@@ -1,7 +1,7 @@
version: '3.7'
---
services:
netbox: &netbox
image: netboxcommunity/netbox:${VERSION-v3.7.2}
image: netboxcommunity/netbox:${VERSION-v4.0.6}
depends_on:
- postgres
- redis
+1 -1
View File
@@ -1,2 +1,2 @@
coverage==7.2.2
coverage==7.5.4
unittest-xml-reporting==3.2.0