Commit Graph

15 Commits

Author SHA1 Message Date
Tobias Genannt 9441be459c Improved testing
After the initializer scripts were removed, we didn't test the actual compose setup anymore. This adds new tests to run the database migrations.
2022-11-30 10:54:24 +01:00
Tobias Genannt 6f1d46d765 Initializers are now a plugin 2022-08-30 16:01:43 +02:00
Tobias Genannt a8b6883183 Changed entrypoint to "tini". 2021-09-13 08:51:23 +02:00
Christian Mäder 04ac3d5f4b Format shell scripts with shfmt 2021-02-08 18:56:30 +01:00
Robin Schneider ee40e339c8
NetBox should always be referred to as NetBox
Fix all instances of "Netbox".

```Shell
git ls-files -z . | xargs --null -I '{}' find './{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's#Netbox#NetBox#g;'
```

Ref: https://netbox.readthedocs.io/en/stable/development/style-guide/#branding
2021-02-04 21:48:08 +01:00
Christian Mäder f810d0342d Skip Startup Scripts in Unit Tests 2021-01-20 09:36:13 +01:00
Tobias Genannt d273391773 Gunicorn is replaced with nginx-unit
We now serve Netbox with an nginx-unit instance instead of Gunicorn.
This allows us to get rid of the extra Nginx container because Unit is
also serving the static files. The static files are now collected at container
buildtime instead of every startup.
2021-01-15 09:22:22 +01:00
Christian Mäder 77d3dcded0 Fix leftover from testing in test.sh 2020-12-14 20:58:50 +01:00
Christian Mäder 036f94a450 Simplify test script for manual tests 2020-12-14 20:54:19 +01:00
Christian Mäder 40ef427336
Merge pull request #222 from netbox-community/fix-github-action
Fix Github Action
2020-01-20 08:38:40 +01:00
Christian Mäder 25671d42a5 Re-enable Netbox unit tests 2020-01-20 08:37:18 +01:00
Christian Mäder dd0aee081a Fix failing GH Action 2020-01-17 18:46:30 +01:00
Christian Mäder 3b56c827f9 Improve test.sh
Don't move the original initializers directory, but rather use the one
with the modified initializers in it.
2020-01-17 17:23:15 +01:00
Christian Mäder b118cd5812 Building the Docker image with Github Actions 2019-12-23 18:21:08 +01:00
Christian Mäder daaf72962f Adds a test that validates the initializer yml files 2019-12-11 11:48:29 +01:00