From dbfcd5b58ccc11b83f394e34a66a81b066d13004 Mon Sep 17 00:00:00 2001 From: cimnine Date: Fri, 17 Sep 2021 16:37:23 +0200 Subject: [PATCH 1/9] Add project version to Docker tag --- build.sh | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index f33a2d1..17d3e66 100755 --- a/build.sh +++ b/build.sh @@ -235,8 +235,10 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do if [ "${DOCKER_TARGET}" != "main" ]; then TARGET_DOCKER_TAG="${TARGET_DOCKER_TAG}-${DOCKER_TARGET}" fi + TARGET_DOCKER_TAG_PROJECT="${TARGET_DOCKER_TAG}-${PROJECT_VERSION}" + if [ -n "${GH_ACTION}" ]; then - echo "FINAL_DOCKER_TAG=${TARGET_DOCKER_TAG}" >>"$GITHUB_ENV" + echo "FINAL_DOCKER_TAG=${TARGET_DOCKER_TAG_PROJECT}" >>"$GITHUB_ENV" echo "::set-output name=skipped::false" fi @@ -257,6 +259,9 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do TARGET_DOCKER_SHORT_TAG="${TARGET_DOCKER_SHORT_TAG}-${DOCKER_TARGET}" TARGET_DOCKER_LATEST_TAG="${TARGET_DOCKER_LATEST_TAG}-${DOCKER_TARGET}" fi + + TARGET_DOCKER_SHORT_TAG_PROJECT="${TARGET_DOCKER_SHORT_TAG}-${PROJECT_VERSION}" + TARGET_DOCKER_LATEST_TAG_PROJECT="${TARGET_DOCKER_LATEST_TAG}-${PROJECT_VERSION}" fi ### @@ -313,15 +318,18 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do --target "${DOCKER_TARGET}" -f "${DOCKERFILE}" -t "${TARGET_DOCKER_TAG}" + -t "${TARGET_DOCKER_TAG_PROJECT}" ) if [ -n "${TARGET_DOCKER_SHORT_TAG}" ]; then DOCKER_BUILD_ARGS+=(-t "${TARGET_DOCKER_SHORT_TAG}") + DOCKER_BUILD_ARGS+=(-t "${TARGET_DOCKER_SHORT_TAG_PROJECT}") DOCKER_BUILD_ARGS+=(-t "${TARGET_DOCKER_LATEST_TAG}") + DOCKER_BUILD_ARGS+=(-t "${TARGET_DOCKER_LATEST_TAG_PROJECT}") fi # --label DOCKER_BUILD_ARGS+=( - --label "ORIGINAL_TAG=${TARGET_DOCKER_TAG}" + --label "ORIGINAL_TAG=${TARGET_DOCKER_TAG_PROJECT}" --label "org.label-schema.build-date=${BUILD_DATE}" --label "org.opencontainers.image.created=${BUILD_DATE}" @@ -366,12 +374,12 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do # Building the docker image ### if [ "${SHOULD_BUILD}" == "true" ]; then - echo "๐Ÿณ Building the Docker image '${TARGET_DOCKER_TAG}'." + echo "๐Ÿณ Building the Docker image '${TARGET_DOCKER_TAG_PROJECT}'." echo " Build reason set to: ${BUILD_REASON}" $DRY docker build "${DOCKER_BUILD_ARGS[@]}" . - echo "โœ… Finished building the Docker images '${TARGET_DOCKER_TAG}'" - echo "๐Ÿ”Ž Inspecting labels on '${TARGET_DOCKER_TAG}'" - $DRY docker inspect "${TARGET_DOCKER_TAG}" --format "{{json .Config.Labels}}" + echo "โœ… Finished building the Docker images '${TARGET_DOCKER_TAG_PROJECT}'" + echo "๐Ÿ”Ž Inspecting labels on '${TARGET_DOCKER_TAG_PROJECT}'" + $DRY docker inspect "${TARGET_DOCKER_TAG_PROJECT}" --format "{{json .Config.Labels}}" else echo "Build skipped because sources didn't change" echo "::set-output name=skipped::true" @@ -384,10 +392,13 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do if [ "${2}" == "--push" ] || [ "${2}" == "--push-only" ]; then source ./build-functions/docker-functions.sh push_image_to_registry "${TARGET_DOCKER_TAG}" + push_image_to_registry "${TARGET_DOCKER_TAG_PROJECT}" if [ -n "${TARGET_DOCKER_SHORT_TAG}" ]; then push_image_to_registry "${TARGET_DOCKER_SHORT_TAG}" + push_image_to_registry "${TARGET_DOCKER_SHORT_TAG_PROJECT}" push_image_to_registry "${TARGET_DOCKER_LATEST_TAG}" + push_image_to_registry "${TARGET_DOCKER_LATEST_TAG_PROJECT}" fi fi done From a9d6f1fefef99d4fb03625ffcfe983b14752e941 Mon Sep 17 00:00:00 2001 From: cimnine Date: Fri, 17 Sep 2021 19:52:06 +0200 Subject: [PATCH 2/9] Use issue template form instead of template --- .github/ISSUE_TEMPLATE/bug_report.md | 86 ------------ .github/ISSUE_TEMPLATE/bug_report.yml | 148 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 68 ---------- .github/ISSUE_TEMPLATE/feature_request.yml | 68 ++++++++++ 4 files changed, 216 insertions(+), 154 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index f386e8c..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,86 +0,0 @@ ---- -name: Bug report -about: Create a report about a malfunction of the Docker setup -title: '' -labels: '' -assignees: '' - ---- - - - -## Current Behavior - - - - - -## Expected Behavior - - - - - -## Debug Information - - - -The output of `docker-compose version`: `XXXXX` -The output of `docker version`: `XXXXX` -The output of `git rev-parse HEAD`: `XXXXX` -The command you used to start the project: `XXXXX` - - -The output of `docker inspect netboxcommunity/netbox:latest --format "{{json .Config.Labels}}"`: - -```json -{ - "JSON JSON JSON": - "--> Please paste formatted json. (Use e.g. `jq` or https://jsonformatter.curiousconcept.com/)" -} -``` - -The output of `docker-compose logs netbox`: - - -```text -LOG LOG LOG -``` - -The output of `cat docker-compose.override.yml`: - - -```text -LOG LOG LOG -``` diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..b6f0479 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,148 @@ +name: Bug report +description: Create a report about a malfunction of the Docker setup +body: +- type: markdown + attributes: + value: | + Please only raise an issue if you're certain that you've found a bug. + Else, see these other means to get help: + + - See our troubleshooting section: + https://github.com/netbox-community/netbox-docker/wiki/Troubleshooting + - Have a look at the rest of the wiki: + https://github.com/netbox-community/netbox-docker/wiki + - Check the release notes: + https://github.com/netbox-community/netbox-docker/releases + - Look through the issues already resolved: + https://github.com/netbox-community/netbox-docker/issues?q=is%3Aclosed + + If you did not find what you're looking for, + try the help of our community: + + - Post to Github Discussions: + https://github.com/netbox-community/netbox-docker/discussions + - Join the `#netbox-docker` channel on our Slack: + https://join.slack.com/t/netdev-community/shared_invite/zt-mtts8g0n-Sm6Wutn62q_M4OdsaIycrQ + - Ask on the NetBox mailing list: + https://groups.google.com/d/forum/netbox-discuss + + Please don't open an issue to open a PR. + Just submit the PR, that's good enough. +- type: textarea + id: current-behavior + attributes: + label: Current Behavior + description: Please describe what you did and how you think it misbehaved + placeholder: I tried to โ€ฆ by doing โ€ฆ, but it โ€ฆ + validations: + required: true +- type: textarea + id: expected-behavior + attributes: + label: Expected Behavior + description: Please describe what you expected instead + placeholder: I expected that โ€ฆ when I do โ€ฆ + validations: + required: true +- type: input + id: docker-compose-version + attributes: + label: Docker Compose Version + description: Please paste the output of `docker-compose version` + placeholder: Docker Compose version vX.Y.Z + validations: + required: true +- type: textarea + id: docker-version + attributes: + label: Docker Version + description: Please paste the output of `docker version` + render: text + placeholder: | + Client: + Cloud integration: 1.0.17 + Version: 20.10.8 + API version: 1.41 + Go version: go1.16.6 + Git commit: 3967b7d + Built: Fri Jul 30 19:55:20 2021 + OS/Arch: darwin/amd64 + Context: default + Experimental: true + + Server: Docker Engine - Community + Engine: + Version: 20.10.8 + API version: 1.41 (minimum version 1.12) + Go version: go1.16.6 + Git commit: 75249d8 + Built: Fri Jul 30 19:52:10 2021 + OS/Arch: linux/amd64 + Experimental: false + containerd: + Version: 1.4.9 + GitCommit: e25210fe30a0a703442421b0f60afac609f950a3 + runc: + Version: 1.0.1 + GitCommit: v1.0.1-0-g4144b63 + docker-init: + Version: 0.19.0 + GitCommit: de40ad0 + validations: + required: true +- type: input + id: git-rev + attributes: + label: The git Revision + description: Please paste the output of `git rev-parse HEAD` + validations: + required: true +- type: textarea + id: git-status + attributes: + label: The git Status + description: Please paste the output of `git status` + render: text + placeholder: | + On branch main + nothing to commit, working tree clean + validations: + required: true +- type: input + id: run-command + attributes: + label: Startup Command + description: Please specify the command you used to start the project + placeholder: docker compose up + validations: + required: true +- type: textarea + id: netbox-logs + attributes: + label: NetBox Logs + description: Please paste the output of `docker-compose logs netbox` (or `docker compose logs netbox`) + render: text + placeholder: | + netbox_1 | โš™๏ธ Applying database migrations + netbox_1 | ๐Ÿงฌ loaded config '/etc/netbox/config/configuration.py' + netbox_1 | ๐Ÿงฌ loaded config '/etc/netbox/config/a.py' + netbox_1 | ๐Ÿงฌ loaded config '/etc/netbox/config/extra.py' + netbox_1 | ๐Ÿงฌ loaded config '/etc/netbox/config/logging.py' + netbox_1 | ๐Ÿงฌ loaded config '/etc/netbox/config/plugins.py' + ... + validations: + required: true +- type: textarea + id: docker-compose-override-yml + attributes: + label: Content of docker-compose.override.yml + description: Please paste the output of `cat docker-compose.override.yml` + render: yaml + placeholder: | + version: '3.4' + services: + netbox: + ports: + - '8080:8080' + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 38bba42..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -name: Feature or Change Request -about: Request a new feature or a change of the current behavior -title: '' -labels: '' -assignees: '' - ---- - - - -## Desired Behavior - - - - - -## Contrast to Current Behavior - - - - - -## Changes Required - - - - - -## Discussion: Benefits and Drawbacks - - - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..e8f2a55 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,68 @@ +name: Feature or Change Request +description: Request a new feature or a change of the current behavior +body: +- type: markdown + attributes: + value: | + This issue type is to propose new features for the Docker setup. + To just spin an idea, see the Github Discussions section, please. + + Before asking for help, see these links first: + + - See our troubleshooting section: + https://github.com/netbox-community/netbox-docker/wiki/Troubleshooting + - Have a look at the rest of the wiki: + https://github.com/netbox-community/netbox-docker/wiki + - Check the release notes: + https://github.com/netbox-community/netbox-docker/releases + - Look through the issues already resolved: + https://github.com/netbox-community/netbox-docker/issues?q=is%3Aclosed + + If you did not find what you're looking for, + try the help of our community: + + - Post to Github Discussions: + https://github.com/netbox-community/netbox-docker/discussions + - Join the `#netbox-docker` channel on our Slack: + https://join.slack.com/t/netdev-community/shared_invite/zt-mtts8g0n-Sm6Wutn62q_M4OdsaIycrQ + - Ask on the NetBox mailing list: + https://groups.google.com/d/forum/netbox-discuss + + Please don't open an issue to open a PR. + Just submit the PR, that's good enough. +- type: textarea + id: desired-behavior + attributes: + label: Desired Behavior + description: Please describe the desired behavior + placeholder: To me, it would be useful, if โ€ฆ because โ€ฆ + validations: + required: true +- type: textarea + id: contrast-to-current + attributes: + label: Contrast to Current Behavior + description: Please describe how the desired behavior is different from the current behavior + placeholder: The current behavior is โ€ฆ, but this lacks โ€ฆ + validations: + required: true +- type: textarea + id: required-changes + attributes: + label: Required Changes + description: If you can, please elaborate what changes will be required to implement the desired behavior + placeholder: I suggest to change the file โ€ฆ + validations: + required: false +- type: textarea + id: discussion + attributes: + label: 'Discussion: Benefits and Drawbacks' + description: | + Please make your case here: + - Why do you think this project and the community will benefit from your suggestion? + - What are the drawbacks of this change? Is it backwards-compatible? + - Anything else that you think is relevant to the discussion of this feature/change request. + placeholder: I suggest to change the file โ€ฆ + validations: + required: false From 31e6e42a309d5ac68364d259575e241937414f66 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 20 Sep 2021 20:43:14 +0000 Subject: [PATCH 3/9] Update dependency google-crc32c to v1.2.0 --- requirements-container.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-container.txt b/requirements-container.txt index 0982388..c4e99e3 100644 --- a/requirements-container.txt +++ b/requirements-container.txt @@ -1,5 +1,5 @@ napalm==3.3.1 ruamel.yaml==0.17.16 django-auth-ldap==3.0.0 -google-crc32c==1.1.5 +google-crc32c==1.2.0 django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.11.1 From 5679ab435f58483af8d0a43c6baa0c3ae01dd69c Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Fri, 24 Sep 2021 08:16:07 +0200 Subject: [PATCH 4/9] Use user name instead of userid Nginx unit needs the user and group parameter as names. --- Dockerfile | 1 + docker-compose.test.yml | 2 +- docker-compose.yml | 2 +- docker/launch-netbox.sh | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27597e5..cf6b883 100644 --- a/Dockerfile +++ b/Dockerfile @@ -95,6 +95,7 @@ WORKDIR /opt/netbox/netbox # Must set permissions for '/opt/netbox/netbox/media' directory # to g+w so that pictures can be uploaded to netbox. RUN mkdir -p static /opt/unit/state/ /opt/unit/tmp/ \ + && chown -R unit:root media /opt/unit/ \ && chmod -R g+w media /opt/unit/ \ && cd /opt/netbox/ && /opt/netbox/venv/bin/python -m mkdocs build \ --config-file /opt/netbox/mkdocs.yml --site-dir /opt/netbox/netbox/project-static/docs/ \ diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 1ca0903..c6c014c 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -9,7 +9,7 @@ services: env_file: env/netbox.env environment: SKIP_STARTUP_SCRIPTS: ${SKIP_STARTUP_SCRIPTS-false} - user: '101' + user: 'unit:root' volumes: - ./startup_scripts:/opt/netbox/startup_scripts:z,ro - ./${INITIALIZERS_DIR-initializers}:/opt/netbox/initializers:z,ro diff --git a/docker-compose.yml b/docker-compose.yml index 2dbd7df..ef15590 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: - redis-cache - netbox-worker env_file: env/netbox.env - user: '101' + user: 'unit:root' volumes: - ./startup_scripts:/opt/netbox/startup_scripts:z,ro - ./initializers:/opt/netbox/initializers:z,ro diff --git a/docker/launch-netbox.sh b/docker/launch-netbox.sh index 117772f..09efdb5 100755 --- a/docker/launch-netbox.sh +++ b/docker/launch-netbox.sh @@ -52,5 +52,5 @@ exec unitd \ --log /dev/stdout \ --state /opt/unit/state/ \ --tmp /opt/unit/tmp/ \ - --user 101 \ - --group 0 + --user unit \ + --group root From 24363b653f9eeb4ba7bdfec10dd6009d416bd337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Tue, 5 Oct 2021 09:47:55 +0200 Subject: [PATCH 5/9] Remove openssl-dev from Dockerfile It is pulled by postgresql-dev anyway In the upcoming alpine, openssl v3 will be the default, but postgresql-dev will still require openssl v1.x. This creates a conflict, which can be resolved if postgresql-dev can choose the openssl version it depends on. --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 27597e5..b045523 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,6 @@ RUN apk add --no-cache \ make \ musl-dev \ openldap-dev \ - openssl-dev \ postgresql-dev \ py3-pip \ python3-dev \ From 30a7aa0e9c2992d569cbb65a0861d3360c8e94d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Tue, 5 Oct 2021 10:22:00 +0200 Subject: [PATCH 6/9] Group the build output in GitHub Action --- build-functions/gh-functions.sh | 21 +++++++++++++++++++++ build.sh | 22 +++++++++++++++------- 2 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 build-functions/gh-functions.sh diff --git a/build-functions/gh-functions.sh b/build-functions/gh-functions.sh new file mode 100644 index 0000000..4928d0d --- /dev/null +++ b/build-functions/gh-functions.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +### +# A regular echo, that only prints if ${GH_ACTION} is defined. +### +gh_echo() { + if [ -n "${GH_ACTION}" ]; then + echo "${@}" + fi +} + +### +# Prints the output to the file defined in ${GITHUB_ENV}. +# Only executes if ${GH_ACTION} is defined. +# Example Usage: gh_env "FOO_VAR=bar_value" +### +gh_env() { + if [ -n "${GH_ACTION}" ]; then + echo "${@}" >>"${GITHUB_ENV}" + fi +} diff --git a/build.sh b/build.sh index 17d3e66..1cf6cd1 100755 --- a/build.sh +++ b/build.sh @@ -95,6 +95,8 @@ if [ "${1}x" == "x" ] || [ "${1}" == "--help" ] || [ "${1}" == "-h" ]; then fi fi +source ./build-functions/gh-functions.sh + ### # Enabling dry-run mode ### @@ -105,6 +107,8 @@ else DRY="echo" fi +gh_echo "::group::โคต๏ธ Fetching the NetBox source code" + ### # Variables for fetching the NetBox source ### @@ -121,9 +125,7 @@ if [ "${2}" != "--push-only" ] && [ -z "${SKIP_GIT}" ]; then REMOTE_EXISTS=$(git ls-remote --heads --tags "${URL}" "${NETBOX_BRANCH}" | wc -l) if [ "${REMOTE_EXISTS}" == "0" ]; then echo "โŒ Remote branch '${NETBOX_BRANCH}' not found in '${URL}'; Nothing to do" - if [ -n "${GH_ACTION}" ]; then - echo "::set-output name=skipped::true" - fi + gh_echo "::set-output name=skipped::true" exit 0 fi echo "๐ŸŒ Checking out '${NETBOX_BRANCH}' of NetBox from the url '${URL}' into '${NETBOX_PATH}'" @@ -146,6 +148,9 @@ if [ "${2}" != "--push-only" ] && [ -z "${SKIP_GIT}" ]; then echo "โœ… Checked out NetBox" fi +gh_echo "::endgroup::" +gh_echo "::group::๐Ÿงฎ Calculating Values" + ### # Determining the value for DOCKERFILE # and checking whether it exists @@ -221,11 +226,14 @@ DEFAULT_DOCKER_TARGETS=("main" "ldap") DOCKER_TARGETS=("${DOCKER_TARGET:-"${DEFAULT_DOCKER_TARGETS[@]}"}") echo "๐Ÿญ Building the following targets:" "${DOCKER_TARGETS[@]}" +gh_echo "::endgroup::" + ### # Build each target ### export DOCKER_BUILDKIT=${DOCKER_BUILDKIT-1} for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do + gh_echo "::group::๐Ÿ— Building the target '${DOCKER_TARGET}'" echo "๐Ÿ— Building the target '${DOCKER_TARGET}'" ### @@ -237,10 +245,8 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do fi TARGET_DOCKER_TAG_PROJECT="${TARGET_DOCKER_TAG}-${PROJECT_VERSION}" - if [ -n "${GH_ACTION}" ]; then - echo "FINAL_DOCKER_TAG=${TARGET_DOCKER_TAG_PROJECT}" >>"$GITHUB_ENV" - echo "::set-output name=skipped::false" - fi + gh_env "FINAL_DOCKER_TAG=${TARGET_DOCKER_TAG_PROJECT}" + gh_echo "::set-output name=skipped::false" ### # composing the additional DOCKER_SHORT_TAG, @@ -401,4 +407,6 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do push_image_to_registry "${TARGET_DOCKER_LATEST_TAG_PROJECT}" fi fi + + gh_echo "::endgroup::" done From d0f4820baa532543022a48830db443d0501de7d5 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 6 Oct 2021 00:32:00 +0000 Subject: [PATCH 7/9] Update dependency google-crc32c to v1.3.0 --- requirements-container.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-container.txt b/requirements-container.txt index c4e99e3..2cf3eb6 100644 --- a/requirements-container.txt +++ b/requirements-container.txt @@ -1,5 +1,5 @@ napalm==3.3.1 ruamel.yaml==0.17.16 django-auth-ldap==3.0.0 -google-crc32c==1.2.0 +google-crc32c==1.3.0 django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.11.1 From faa1cb52ddcdb373318bd43f77f893869be8baed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Wed, 6 Oct 2021 17:03:48 +0200 Subject: [PATCH 8/9] Preparation for 1.4.1 --- VERSION | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 88c5fb8..347f583 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.0 +1.4.1 diff --git a/docker-compose.yml b/docker-compose.yml index 2dbd7df..c2f7fdd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.4' services: netbox: &netbox - image: netboxcommunity/netbox:${VERSION-v3.0} + image: netboxcommunity/netbox:${VERSION-v3.0-1.4.1} depends_on: - postgres - redis From 4f466bb5a1629e5d1c9eddca591a9edf4e61fee1 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 11 Oct 2021 19:24:42 +0000 Subject: [PATCH 9/9] Update dependency django-storages to v1.12.1 --- requirements-container.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-container.txt b/requirements-container.txt index 2cf3eb6..a243e12 100644 --- a/requirements-container.txt +++ b/requirements-container.txt @@ -2,4 +2,4 @@ napalm==3.3.1 ruamel.yaml==0.17.16 django-auth-ldap==3.0.0 google-crc32c==1.3.0 -django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.11.1 +django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.12.1