Skip to content

Commit b0b20aa

Browse files
authored
Merge pull request #232 from netbox-community/develop
Release 0.21.1
2 parents d058b7b + f3a8588 commit b0b20aa

File tree

7 files changed

+24
-80
lines changed

7 files changed

+24
-80
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The output of `git rev-parse HEAD`: `XXXXX`
4848
The command you used to start the project: `XXXXX`
4949

5050
<!-- adjust the `latest` tag to the version you're using -->
51-
The output of `docker inspect netboxcommunity/netbox:latest --format "{{json .ContainerConfig.Labels}}"`:
51+
The output of `docker inspect netboxcommunity/netbox:latest --format "{{json .Config.Labels}}"`:
5252

5353
```json
5454
{

.github/pull_request_template.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
###############################################################################
2+
#########################################################################
33
44
Thank you for sharing your work and for opening a PR.
55
@@ -9,11 +9,11 @@ First make sure that you point your PR to the `develop` branch!
99
Now please read the comments carefully and try to provide information
1010
on all relevant titles.
1111
12-
###############################################################################
12+
#########################################################################
1313
-->
1414

1515
<!--
16-
Please don't open an extra issue when submiting a PR.
16+
Please don't open an extra issue when submitting a PR.
1717
1818
But if there is already a related issue, please put it's number here.
1919
@@ -81,5 +81,5 @@ Please put an x into the brackets (like `[x]`) if you've completed that task.
8181
-->
8282

8383
* [ ] I have read the comments and followed the PR template.
84-
* [ ] I have provided and explained my PR according to the information in the comments.
84+
* [ ] I have explained my PR according to the information in the comments.
8585
* [ ] My PR targets the `develop` branch.

.github/workflows/push.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: push
2+
13
on:
24
push:
35
branches-ignore:
@@ -15,7 +17,7 @@ jobs:
1517
- '' # use the default of the DOCKERFILE
1618
- python:3.7-alpine
1719
- python:3.8-alpine
18-
- python:3.9-rc-alpine
20+
# - python:3.9-rc-alpine # disable until Netbox's unit tests work
1921
fail-fast: false
2022
runs-on: ubuntu-latest
2123
name: Builds new Netbox Docker Images

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: release
2+
13
on:
24
push:
35
branches:

DOCKER_HUB.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/netbox-community/netbox-docker)][github-release]
44
[![GitHub stars](https://img.shields.io/github/stars/netbox-community/netbox-docker)][github-stargazers]
55
![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed-raw/netbox-community/netbox-docker)
6-
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/netboxcommunity/netbox)
6+
![Github release workflow](https://img.shields.io/github/workflow/status/netbox-community/netbox-docker/release)
77
![Docker Pulls](https://img.shields.io/docker/pulls/netboxcommunity/netbox)
88
[![MicroBadger Layers](https://img.shields.io/microbadger/layers/netboxcommunity/netbox)][netbox-docker-microbadger]
99
[![MicroBadger Size](https://img.shields.io/microbadger/image-size/netboxcommunity/netbox)][netbox-docker-microbadger]
@@ -21,7 +21,7 @@ Do you have any questions? Before opening an issue on Github, please join the [N
2121
[netbox-docker-github]: https://github.com/netbox-community/netbox-docker/
2222
[ntc-slack]: http://slack.networktocode.com/
2323
[netbox-docker-slack]: https://slack.com/app_redirect?channel=netbox-docker&team=T09LQ7E9E
24-
[netbox-docker-license]: https://github.com/netbox-community/netbox-docker/blob/master/LICENSE
24+
[netbox-docker-license]: https://github.com/netbox-community/netbox-docker/blob/release/LICENSE
2525

2626
## Docker Tags
2727

@@ -124,31 +124,34 @@ docker-compose up -d
124124

125125
From time to time it might become necessary to re-engineer the structure of this setup.
126126
Things like the `docker-compose.yml` file or your Kubernetes or OpenShift configurations have to be adjusted as a consequence.
127+
127128
Since November 2019 each image built from this repo contains a `org.opencontainers.image.version` label.
128129
(The images contained labels since April 2018, although in November 2019 the labels' names changed.)
129-
You can check the label of your local image by running `docker inspect netboxcommunity/netbox:v2.7.1 --format "{{json .ContainerConfig.Labels}}"`.
130+
You can check the label of your local image by running `docker inspect netboxcommunity/netbox:v2.7.1 --format "{{json .Config.Labels}}"`.
130131

131132
Please read [the release notes][releases] carefully when updating to a new image version.
132133

133134
[releases]: https://github.com/netbox-community/netbox-docker/releases
134135

135-
## Rebuilding & Publishing images
136+
## Rebuilding the Image
136137

137138
`./build.sh` can be used to rebuild the Docker image. See `./build.sh --help` for more information.
138139

139-
### Publishing Docker Images
140+
For more details on custom builds [consult our wiki][netbox-docker-wiki-build].
141+
142+
[netbox-docker-wiki-build]: https://github.com/netbox-community/netbox-docker/wiki/Build
140143

141-
New Docker images are built and published every 24h on the [Docker Build Infrastructure][docker-build-infra].
142-
`DOCKER_HUB.md` contains more information about the build infrastructure.
144+
### Pre-made Docker Images
143145

144-
[docker-build-infra]: https://hub.docker.com/r/netboxcommunity/netbox/builds/
146+
New Docker images are built and published every 24h.
145147

146148
## Tests
147149

148-
To run the tests coming with Netbox, use the `docker-compose.yml` file as such:
150+
We have a test script.
151+
It runs Netbox's own unit tests and ensures that all initializers work:
149152

150153
```bash
151-
docker-compose run netbox ./manage.py test
154+
IMAGE=netboxcommunity/netbox:latest ./test.sh
152155
```
153156

154157
## About

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.21.0
1+
0.21.1

0 commit comments

Comments
 (0)