Skip to content

Commit 44d0f47

Browse files
committed
Prepare for Netbox 3.6
1 parent f703bba commit 44d0f47

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
3131
ARG NETBOX_PATH
3232
COPY ${NETBOX_PATH}/requirements.txt requirements-container.txt /
3333
RUN \
34-
# We compile 'psycopg2' in the build process
35-
sed -i -e '/psycopg2-binary/d' /requirements.txt && \
34+
# We compile 'psycopg' in the build process
35+
sed -i -e '/psycopg/d' /requirements.txt && \
3636
# Gunicorn is not needed because we use Nginx Unit
3737
sed -i -e '/gunicorn/d' /requirements.txt && \
3838
# We need 'social-auth-core[all]' in the Docker image. But if we put it in our own requirements-container.txt

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.1
1+
2.7.0

docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
env_file: env/netbox.env
1313
user: 'unit:root'
1414
volumes:
15-
- ./test-configuration/logging.py:/etc/netbox/config/logging.py:z,ro
15+
- ./test-configuration/test_config.py:/etc/netbox/config/test_config.py:z,ro
1616
healthcheck:
1717
start_period: ${NETBOX_START_PERIOD-120s}
1818
timeout: 3s

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.4'
22
services:
33
netbox: &netbox
4-
image: docker.io/netboxcommunity/netbox:${VERSION-v3.5-2.6.1}
4+
image: docker.io/netboxcommunity/netbox:${VERSION-v3.6-2.7.0}
55
depends_on:
66
- postgres
77
- redis

requirements-container.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
django-auth-ldap==4.5.0
22
django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.13.2
3-
psycopg2==2.9.6
3+
dulwich==0.21.5
4+
psycopg[c,pool]==3.1.10
45
python3-saml==1.15.0

test-configuration/logging.py renamed to test-configuration/test_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
'version': 1,
33
'disable_existing_loggers': True
44
}
5+
6+
DEFAULT_PERMISSIONS = {}

0 commit comments

Comments
 (0)