Compare commits

...

5 commits

Author SHA1 Message Date
Matt Gaynor daa0939d2b
Merge 1815408e73 into 7e956129d0 2026-02-04 15:56:57 +11:00
Tobias Genannt 7e956129d0
Merge pull request #1606 from tobiasge/fix-deocs
Some checks are pending
push / Checks syntax of our code (push) Waiting to run
push / Builds new NetBox Docker Images (./build-latest.sh, ubuntu-24.04) (push) Waiting to run
push / Builds new NetBox Docker Images (./build-latest.sh, ubuntu-24.04-arm) (push) Waiting to run
push / Builds new NetBox Docker Images (./build.sh feature, ubuntu-24.04) (push) Waiting to run
push / Builds new NetBox Docker Images (./build.sh feature, ubuntu-24.04-arm) (push) Waiting to run
push / Builds new NetBox Docker Images (./build.sh main, ubuntu-24.04) (push) Waiting to run
push / Builds new NetBox Docker Images (./build.sh main, ubuntu-24.04-arm) (push) Waiting to run
push / Builds new NetBox Docker Images (PRERELEASE=true ./build-latest.sh, ubuntu-24.04) (push) Waiting to run
push / Builds new NetBox Docker Images (PRERELEASE=true ./build-latest.sh, ubuntu-24.04-arm) (push) Waiting to run
Fixed the local documentation and prepare for a new release
2026-02-03 09:54:23 +01:00
Tobias Genannt 01a36c69c4 Preparation for 4.0.0 2026-02-02 12:46:51 +01:00
Tobias Genannt 52b1e23c80 Fixed serving of the local documentation 2026-02-02 12:46:02 +01:00
Matt Gaynor 1815408e73
Add NO_CACHE to build.sh
Add the ability to disable Docker build cache
2025-02-17 13:13:59 +00:00
5 changed files with 10 additions and 4 deletions

View file

@ -1 +1 @@
3.4.2
4.0.0

View file

@ -104,6 +104,9 @@ GH_ACTION If defined, special 'echo' statements are enabled that set the
CHECK_ONLY Only checks if the build is needed and sets the GH Action output.
${_GREEN}Default:${_CLEAR} undefined
NO_CACHE Disables Docker Build Cache.
${_GREEN}Default:${_CLEAR} undefined
${_BOLD}Examples:${_CLEAR}
@ -409,7 +412,9 @@ fi
if [ -n "${NO_PROXY}" ]; then
DOCKER_BUILD_ARGS+=(--build-arg "no_proxy=${NO_PROXY}")
fi
if [ -n "${NO_CACHE}" ]; then
DOCKER_BUILD_ARGS+=(--no-cache)
fi
DOCKER_BUILD_ARGS+=(--platform "${BUILDX_PLATFORM-linux/amd64}")
if [ "${2}" == "--push" ]; then
# output type=docker does not work with pushing

View file

@ -1,6 +1,6 @@
services:
netbox: &netbox
image: docker.io/netboxcommunity/netbox:${VERSION-v4.4-3.4.2}
image: docker.io/netboxcommunity/netbox:${VERSION-v4.5-4.0.0}
depends_on:
- postgres
- redis

View file

@ -15,6 +15,7 @@ exec granian \
--working-dir "/opt/netbox/netbox/" \
--static-path-route "/static" \
--static-path-mount "/opt/netbox/netbox/static/" \
--static-path-dir-to-file index.html \
--pid-file "/tmp/granian.pid" \
"${GRANIAN_EXTRA_ARGS[@]}" \
"netbox.granian:application"

View file

@ -1,6 +1,6 @@
django-auth-ldap==5.3.0
dulwich==1.0.0
granian[uvloop]==2.6.1
granian[uvloop]==2.7.0
python3-saml==1.16.0
--no-binary lxml
--no-binary xmlsec