Compare commits

..

25 Commits

Author SHA1 Message Date
renovate[bot]
9fd5674fec chore(deps): update docker.io/valkey/valkey docker tag to v9.1 2026-03-17 12:49:16 +00:00
Tobias Genannt
c861c0bcc5 Merge pull request #1640 from netbox-community/renovate/docker-setup-buildx-action-4.x
chore(deps): update docker/setup-buildx-action action to v4
2026-03-05 12:07:11 +01:00
renovate[bot]
4ffeae5903 chore(deps): update docker/setup-buildx-action action to v4 2026-03-05 10:43:26 +00:00
Tobias Genannt
e77efce5d4 Merge pull request #1639 from netbox-community/renovate/docker-login-action-4.x
chore(deps): update docker/login-action action to v4
2026-03-04 12:08:57 +01:00
renovate[bot]
c6d79fde21 chore(deps): update docker/login-action action to v4 2026-03-04 10:45:14 +00:00
Tobias Genannt
2472368a0a Merge pull request #1638 from netbox-community/renovate/sentry-sdk-2.x
chore(deps): update dependency sentry-sdk to v2.54.0
2026-03-02 18:54:39 +01:00
renovate[bot]
c7bb6e2752 chore(deps): update dependency sentry-sdk to v2.54.0 2026-03-02 17:29:39 +00:00
Tobias Genannt
79c1832f62 Preparation for 4.0.2 2026-02-27 06:33:35 +01:00
Tobias Genannt
9057d17fd9 Merge pull request #1633 from hka-schaefer/develop
Set default for LOGOUT_REDIRECT_URL
2026-02-26 20:36:06 +01:00
hka-schaefer
18110eee00 Set default for LOGOUT_REDIRECT_URL
LOGOUT_REDIRECT_URL is commented in netbox.env, which leads to an error during logout.
Setting a default prevents that error
2026-02-26 16:30:46 +01:00
Tobias Genannt
f4f6189c9f Merge pull request #1630 from netbox-community/renovate/granian-2.x
chore(deps): update dependency granian to v2.7.2
2026-02-25 06:37:02 +01:00
renovate[bot]
9c992c9879 chore(deps): update dependency granian to v2.7.2 2026-02-25 00:36:06 +00:00
Tobias Genannt
7ab38e63e5 Preparation for 4.0.1 2026-02-24 19:42:41 +01:00
Tobias Genannt
75825d28f3 Merge pull request #1626 from SUSE/feature/oidc-upstream
Add OIDC configuration
2026-02-23 15:55:00 +01:00
Felix Prasse
fec1c0b0ae OIDC configuration 2026-02-20 12:52:57 +01:00
Tobias Genannt
e476ecbb73 Merge pull request #1623 from netbox-community/renovate/dulwich-1.x
chore(deps): update dependency dulwich to v1.1.0
2026-02-18 07:15:55 +01:00
renovate[bot]
51fa7a3484 chore(deps): update dependency dulwich to v1.1.0 2026-02-17 23:14:30 +00:00
renovate[bot]
be59b22e53 chore(deps): update dependency sentry-sdk to v2.53.0 (#1622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 14:34:55 +00:00
OMGhast
42892c1d3a Copilot config setting for configuraiton.py (#1620)
* Update configuration.py - COPILOT_ENABLED
2026-02-12 07:11:01 +01:00
Tobias Genannt
b9c64695af Merge pull request #1616 from netbox-community/renovate/granian-2.x
chore(deps): update dependency granian to v2.7.1
2026-02-09 07:37:20 +01:00
renovate[bot]
99cf56960c chore(deps): update dependency granian to v2.7.1 2026-02-08 20:41:47 +00:00
Tobias Genannt
aa6250c1e6 Merge pull request #1612 from netbox-community/renovate/ghcr.io-astral-sh-uv-0.x
chore(deps): update ghcr.io/astral-sh/uv docker tag to v0.10
2026-02-06 06:56:25 +01:00
renovate[bot]
f0d0bbc852 chore(deps): update ghcr.io/astral-sh/uv docker tag to v0.10 2026-02-05 22:28:03 +00:00
Tobias Genannt
0997c32752 Merge pull request #1611 from netbox-community/renovate/sentry-sdk-2.x
chore(deps): update dependency sentry-sdk to v2.52.0
2026-02-04 17:03:56 +01:00
renovate[bot]
3e984c50bf chore(deps): update dependency sentry-sdk to v2.52.0 2026-02-04 15:34:40 +00:00
9 changed files with 41 additions and 14 deletions

View File

@@ -19,8 +19,15 @@ jobs:
runs-on: ubuntu-24.04
name: Checks syntax of our code
permissions:
# contents permission to clone the repository
contents: read
packages: read
# issues and pull-requests permissions to write results as pull
# request comments. Omit them if you don't need summary comments
issues: write
pull-requests: write
# To report GitHub Actions status checks. Omit if you don't need
# to update commit status
statuses: write
steps:
- uses: actions/checkout@v6
@@ -77,7 +84,7 @@ jobs:
uses: actions/checkout@v6
- id: buildx-setup
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
- id: arm-install-skopeo
name: Install 'skopeo' on ARM64
if: matrix.os == 'ubuntu-24.04-arm'

View File

@@ -47,7 +47,7 @@ jobs:
# docker.io
- id: docker-io-login
name: Login to docker.io
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: docker.io
username: ${{ secrets.dockerhub_username }}
@@ -55,7 +55,7 @@ jobs:
if: steps.check-build-needed.outputs.skipped != 'true'
- id: buildx-setup
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
with:
version: "lab:latest"
driver: cloud
@@ -64,7 +64,7 @@ jobs:
# quay.io
- id: quay-io-login
name: Login to Quay.io
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: quay.io
username: ${{ secrets.quayio_username }}
@@ -73,7 +73,7 @@ jobs:
# ghcr.io
- id: ghcr-io-login
name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}

View File

@@ -1,7 +1,7 @@
ARG FROM
FROM ${FROM} AS builder
COPY --from=ghcr.io/astral-sh/uv:0.9 /uv /usr/local/bin/
COPY --from=ghcr.io/astral-sh/uv:0.10 /uv /usr/local/bin/
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update -qq \
&& apt-get upgrade \

View File

@@ -1 +1 @@
4.0.0
4.0.2

View File

@@ -317,6 +317,14 @@ SOCIAL_AUTH_OKTA_OPENIDCONNECT_API_URL = environ.get('SOCIAL_AUTH_OKTA_OPENIDCON
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = environ.get('SOCIAL_AUTH_GOOGLE_OAUTH2_KEY')
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = _read_secret('google_oauth2_secret', environ.get('SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET', ''))
# OIDC Configuration
SOCIAL_AUTH_OIDC_OIDC_ENDPOINT = environ.get('SOCIAL_AUTH_OIDC_OIDC_ENDPOINT')
SOCIAL_AUTH_OIDC_KEY = environ.get('SOCIAL_AUTH_OIDC_KEY')
SOCIAL_AUTH_OIDC_SECRET = _read_secret('oidc_secret', environ.get('SOCIAL_AUTH_OIDC_SECRET', ''))
SOCIAL_AUTH_OIDC_SCOPE = _environ_get_and_map('SOCIAL_AUTH_OIDC_SCOPE', '', _AS_LIST)
LOGOUT_REDIRECT_URL = environ.get('LOGOUT_REDIRECT_URL','/')
SOCIAL_AUTH_OIDC_JWT_ALGORITHMS = _environ_get_and_map('SOCIAL_AUTH_OIDC_JWT_ALGORITHMS', "RS256", _AS_LIST)
# This repository is used to check whether there is a new release of NetBox available. Set to None to disable the
# version check or use the URL below to check for release in the official NetBox repository.
RELEASE_CHECK_URL = environ.get('RELEASE_CHECK_URL', None)
@@ -363,3 +371,6 @@ TIME_ZONE = environ.get('TIME_ZONE', 'UTC')
# If true disables miscellaneous functionality which depends on access to the Internet.
ISOLATED_DEPLOYMENT = _environ_get_and_map('ISOLATED_DEPLOYMENT', 'False', _AS_BOOL)
# Enables or disables the NetBox Copilot agent globally. When enabled, users can opt to toggle the agent individually.
COPILOT_ENABLED = _environ_get_and_map('COPILOT_ENABLED', 'True', _AS_BOOL)

View File

@@ -40,7 +40,7 @@ services:
retries: 5
redis: &redis
image: docker.io/valkey/valkey:9.0-alpine
image: docker.io/valkey/valkey:9.1-alpine
command:
- sh
- -c # this is to evaluate the $REDIS_PASSWORD from the env

View File

@@ -1,6 +1,6 @@
services:
netbox: &netbox
image: docker.io/netboxcommunity/netbox:${VERSION-v4.5-4.0.0}
image: docker.io/netboxcommunity/netbox:${VERSION-v4.5-4.0.2}
depends_on:
- postgres
- redis
@@ -47,7 +47,7 @@ services:
# redis
redis:
image: docker.io/valkey/valkey:9.0-alpine
image: docker.io/valkey/valkey:9.1-alpine
command:
- sh
- -c # this is to evaluate the $REDIS_PASSWORD from the env
@@ -62,7 +62,7 @@ services:
volumes:
- netbox-redis-data:/data
redis-cache:
image: docker.io/valkey/valkey:9.0-alpine
image: docker.io/valkey/valkey:9.1-alpine
command:
- sh
- -c # this is to evaluate the $REDIS_PASSWORD from the env

9
env/netbox.env vendored
View File

@@ -42,3 +42,12 @@ SKIP_SUPERUSER=true
# SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=your_google_client_id
# SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=your_google_client_secret
WEBHOOKS_ENABLED=true
# Configuration for OIDC
# REMOTE_AUTH_BACKEND='social_core.backends.open_id_connect.OpenIdConnectAuth'
# SOCIAL_AUTH_OIDC_OIDC_ENDPOINT='https://example.org'
# SOCIAL_AUTH_OIDC_KEY=''
# SOCIAL_AUTH_OIDC_SECRET=''
# SOCIAL_AUTH_OIDC_SCOPE=openid profile email roles
# LOGOUT_REDIRECT_URL='https://example.org'
# SOCIAL_AUTH_OIDC_JWT_ALGORITHMS=RS256

View File

@@ -1,7 +1,7 @@
django-auth-ldap==5.3.0
dulwich==1.0.0
granian[uvloop]==2.7.0
dulwich==1.1.0
granian[uvloop]==2.7.2
python3-saml==1.16.0
--no-binary lxml
--no-binary xmlsec
sentry-sdk[django]==2.51.0
sentry-sdk[django]==2.54.0