Christian Mäder
e060f86b9a
Corrections for shellcheck warnings
2019-10-15 10:03:39 +02:00
Christian Mäder
0a38220497
Update purpose text in build.sh
2019-10-15 01:00:21 +02:00
Christian Mäder
fb60841047
Only test 'latest' in PRs
...
Because it's the only tag being built
2019-10-15 00:56:37 +02:00
Christian Mäder
0f4a872082
More tests
2019-10-15 00:47:19 +02:00
Christian Mäder
26b1f59d66
Improve formating and fix typo
2019-10-15 00:40:48 +02:00
Christian Mäder
064908397e
Improved Build Job descriptions
2019-10-15 00:34:15 +02:00
Christian Mäder
42642c94c3
Only push on 'main' branch
2019-10-15 00:34:15 +02:00
Christian Mäder
123fd981e9
Fix build
...
The Docker Hub build system runs on Ubuntu Xenial containers.
Xenial's git is 2.7.4, which does not know the `-P` flag yet.
2019-10-15 00:34:15 +02:00
Christian Mäder
20109c3392
Checkout the repository with git
...
This changes the build process even further. Instead
f using `wget` to fetch the current code, `git` is used.
This allows for faster switching between branches,
because only the differences between them have to be
fetched from the server.
But the main advantage is that the build cache can
finally be used as designed by Docker. Repetitive
builds are very fast now. This is also true between
branches and tags, as long as the `requirements.txt`
file doesn't change.
2019-10-15 00:34:15 +02:00
Christian Mäder
f3b9c34e3b
externalize netbox download with wget
2019-10-15 00:34:15 +02:00
Christian Mäder
ab4b8720d1
Fix caching in build.sh
2019-10-15 00:34:15 +02:00
Christian Mäder
052b53aa5c
Fix apt-get detection
2019-10-15 00:34:15 +02:00
Christian Mäder
fadac8c5c3
Only build the master branch to speed up the test
2019-10-15 00:34:15 +02:00
Christian Mäder
d0c9dfe2e5
Try to get PR builds working
2019-10-15 00:34:15 +02:00
Christian Mäder
d0ebb34432
Refactor to multistage builds
...
This commit introduces a huge change in the build process.
What changed:
- Dockerfile.ldap was integrated into Dockerfile as a seperate
[build stage][multistage-build].
- All the build scripts were refactored according to this.
- The `docker-compose.yml` file was adjusted likewise.
- The main build script, `/build.sh`, now always builds all
targets (formerly called variants).
- The minimal requirements for Docker and docker-compose
have increased.
- The build on hub.docker.com must be adjusted.
This change should also fix #156 permanently.
[multistage-build]: https://docs.docker.com/develop/develop-images/multistage-build/
2019-10-15 00:34:15 +02:00
Christian Mäder
c148d3ceb9
Prepare Version 0.18.2
2019-10-14 09:20:22 +02:00
Christian Mäder
42826ae133
Fix #165
2019-10-14 09:17:32 +02:00
Christian Mäder
19728fa3e6
prepare 0.18.1
2019-10-13 14:03:56 +02:00
Christian Mäder
e1f054b6b5
Merge branch 'fix-160'
2019-10-13 14:03:34 +02:00
Christian Mäder
79d349133e
fix typo
2019-10-13 14:03:22 +02:00
Christian Mäder
cb8007e41d
Adds a hyperlink for the #netbox-docker channel
2019-10-12 15:16:17 +02:00
Christian Mäder
b790796f9b
Prepare Version 0.18.0
2019-10-12 14:56:03 +02:00
Christian Mäder
20c234a96e
Introduce $SKIP_SUPERUSER
...
This adds a new variable to skip the creation of the superuser.
That is useful for LDAP and for production environments.
Fixes #160
2019-10-12 14:49:40 +02:00
Christian Mäder
5ae5977717
Merge branch 'axarriola-master'
2019-10-12 14:27:11 +02:00
Christian Mäder
e894cdaa06
Reformat initializers and add some IPv6 examples
2019-10-12 14:23:41 +02:00
Christian Mäder
5defc38294
Add missing `break`
2019-10-12 14:23:11 +02:00
Christian Mäder
61c0a9b519
Merge branch 'master' of https://github.com/axarriola/netbox-docker into axarriola-master
2019-10-12 14:02:35 +02:00
Alvaro Arriola
992a8f1d5f
More typos. Tested all changes.
2019-10-11 18:08:22 +02:00
Alvaro Arriola
2d25907cba
Fixing typos.
2019-10-11 17:30:38 +02:00
Alvaro Arriola
8a40c6e0a3
Merge branch 'master' of https://github.com/netbox-community/netbox-docker
2019-10-11 17:06:18 +02:00
Christian Mäder
ed8e339bfe
Merge pull request #162 from netbox-community/cleanup
...
Remove debug statement
2019-10-11 16:32:07 +02:00
Christian Mäder
4b1514f8d3
Remove debug statement
2019-10-11 16:31:56 +02:00
Christian Mäder
2044f685cf
Merge pull request #161 from netbox-community/fix-platform-initializer
...
Updating the initializer platform examples
2019-10-11 16:15:19 +02:00
Christian Mäder
86de0d850b
Updating the initializer platform examples
...
rpc client was removed from netbox
2019-10-11 16:15:03 +02:00
Alvaro Arriola
4e1ac2392d
Added newline and breaks.
2019-10-11 15:46:32 +02:00
Christian Mäder
723d4744a4
Merge branch 'master' of https://github.com/axarriola/netbox-docker into axarriola-master
2019-10-11 14:31:29 +02:00
Alvaro Arriola
821d6c8672
Fixed further requirements.
2019-10-10 17:35:06 +02:00
Alvaro Arriola
0b5214d247
Fixed aesthetics.
2019-10-10 16:52:29 +02:00
Christian Mäder
aca448d180
Merge branch 'bootc-helm-chart'
2019-10-09 12:42:01 +02:00
Christian Mäder
6051092a59
Move large parts of the documentation in the README to the wiki
2019-10-09 12:40:40 +02:00
Christian Mäder
03b52f9074
Merge branch 'helm-chart' of https://github.com/bootc/netbox-docker into bootc-helm-chart
2019-10-09 12:40:29 +02:00
Christian Mäder
ce9158eb07
Update README.md
2019-07-30 13:45:08 +02:00
Christian Mäder
74000645dc
Make patch version
2019-07-30 13:36:22 +02:00
Christian Mäder
ef0755b9cf
Merge pull request #149 from takumin/fix_attribute_error
...
fix AttributeError for ruamel.yaml
2019-07-30 13:34:48 +02:00
takumin
7f22d21d5d
fix AttributeError for ruamel.yaml
2019-07-30 20:09:02 +09:00
Christian Mäder
e349c239fe
Release 0.17.0
2019-07-30 10:47:56 +02:00
Christian Mäder
28ba0e56e7
Merge pull request #144 from ScanPlusGmbH/update-base-image
...
Update base image
2019-07-30 10:44:44 +02:00
Christian Mäder
b0287e344e
Merge pull request #148 from LBegnaud/master
...
adjusts users and groups startup scripts to accomdate non-uniqueness
2019-07-30 10:44:03 +02:00
Les Begnaud
e6e7647f32
adjusts users and groups startup scripts to accomdate non-uniqueness
2019-07-26 14:13:15 -05:00
Chris Boot
3e1f688f78
Add a link to my Helm chart
...
I've written and will continue to maintain a Helm chart to aid in
deploying NetBox on Kubernetes. This adds a link to the README file so
that people who may be interested in it can find it.
2019-07-20 16:51:51 -03:00