Commit Graph

1286 Commits

Author SHA1 Message Date
Florian Schroen
8208dedb19 docker-compose.yml: fix volume mount options
`z` is valid only for bindmounts

When using with volumes a warning for each volume appears:

netbox$ docker compose up
[+] Building 0.0s (0/0)
WARN[0000] mount of type `volume` should not define `bind` option
WARN[0000] mount of type `volume` should not define `bind` option
WARN[0000] mount of type `volume` should not define `bind` option

This may appear only when using a docker-compose.override.yml
2023-06-15 12:14:05 +02:00
Tobias Genannt
0d748ed392
Merge pull request #1010 from tobiasge/image-update
Update Ubuntu und Nginx Unit
2023-05-11 13:01:21 +02:00
Tobias Genannt
23d5865e3d Update Ubuntu und Nginx Unit 2023-05-11 08:09:56 +02:00
Tobias Genannt
2037e42e45
Merge pull request #1009 from marcquark/job_retention2
rename JOBRESULT_RETENTION to JOB_RETENTION
2023-05-08 19:38:40 +02:00
Tobias Genannt
055538cc21 Fixed type in else 2023-05-08 17:44:09 +02:00
Marc Leuser
5408cf5af0 rename JOBRESULT_RETENTION to JOB_RETENTION 2023-05-07 21:23:10 +02:00
Tobias Genannt
22486fefb5
Merge pull request #1002 from netbox-community/develop
Prepare 2.6.1
2023-04-28 15:29:28 +02:00
Tobias Genannt
96bda7fa4f
Merge branch 'release' into develop 2023-04-28 13:15:19 +02:00
Tobias Genannt
c085287e64
Prepare 2.6.1 2023-04-28 13:13:06 +02:00
Tobias Genannt
b4a6be37ec
Merge pull request #1001 from netbox-community/develop
Version 2.6.0
2023-04-28 09:00:49 +02:00
Tobias Genannt
02a926431b
Merge pull request #990 from tobiasge/prepare-for-nb-35
Preparation for Netbox 3.5
2023-04-28 07:41:22 +02:00
Tobias Genannt
3978b14c7f
Preparation for 2.6.0 2023-04-27 23:45:39 +02:00
Tobias Genannt
7532508aab Ensure minimum length for the SECRET_KEY is met 2023-04-27 16:56:47 +02:00
Tobias Genannt
858611ad67 Check if the new image tag exists 2023-04-27 09:32:42 +02:00
Tobias Genannt
155e90c99f Removed BASE_PATH from configuration
Setting the BASE_PATH is a more involved process than just setting this variable.
To prevent surprises the option to set this via ENV variable was removed.
2023-04-27 09:32:42 +02:00
Tobias Genannt
cb524c32ed Preparation for Netbox 3.5
- Reports and Scripts have changed in Netbox 3.5. They need to be uploaded now.
  The Docker compose now creates a volume as it does for the media files
- Napalm has been removed from Netbox 3.5
  All configuration entries for Napalm were removed and napalm itself is removed from the requirements file
- Removed Gunicorn from the image
  Nginx Unit has been used for a while now. No need to install Gunicorn
2023-04-27 09:32:42 +02:00
Tobias Genannt
cb4dcc0488
Merge pull request #1000 from netbox-community/renovate/django-auth-ldap-4.x
Update dependency django-auth-ldap to v4.3.0
2023-04-27 09:09:13 +02:00
renovate[bot]
ddcc8b5131
Update dependency django-auth-ldap to v4.3.0 2023-04-26 23:27:32 +00:00
Tobias Genannt
3286faa94c
Merge pull request #989 from netbox-community/develop
Version 2.5.3
2023-04-15 08:42:25 +02:00
Tobias Genannt
788cd03a35
Merge pull request #988 from netbox-community/renovate/github-super-linter-5.x
Update github/super-linter action to v5
2023-04-15 01:21:43 +02:00
Tobias Genannt
0911c2251d
Merge branch 'release' into develop 2023-04-15 01:20:55 +02:00
Tobias Genannt
c698496e36 Preparation for 2.5.3 2023-04-15 01:16:40 +02:00
renovate[bot]
23a262d72f
Update github/super-linter action to v5 2023-04-14 19:16:09 +00:00
Tobias Genannt
5273e17d89
Merge pull request #983 from tobiasge/arm-test
Try to get test on ARM64 to pass
2023-04-06 19:01:12 +02:00
Tobias Genannt
e44f0398fb Try to get test on ARM64 to pass 2023-04-06 17:44:10 +02:00
Tobias Genannt
7c2e012523
Merge pull request #982 from tobiasge/fix-social-auth-core
Fixed version conflicts for social-auth-core
2023-04-06 12:37:51 +02:00
Tobias Genannt
5a29364bca
Fixed wording
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2023-04-06 11:08:34 +02:00
Tobias Genannt
5d5b01f6b5 Fixed version conflicts for social-auth-core 2023-04-06 09:52:28 +02:00
Tobias Genannt
5d6e733bce
Merge pull request #980 from netbox-community/renovate/psycopg2-2.x
Update dependency psycopg2 to v2.9.6
2023-04-05 20:22:27 +02:00
renovate[bot]
87a9808bc2
Update dependency psycopg2 to v2.9.6 2023-04-03 11:39:03 +00:00
Tobias Genannt
7bf9e1af5a
Merge pull request #978 from netbox-community/develop
Missing version tags for 2.5.2
2023-03-29 20:50:29 +02:00
Tobias Genannt
1e588431e2
Merge pull request #976 from tobiasge/better-tests
Further improved test configuration
2023-03-29 18:33:23 +02:00
Tobias Genannt
41fd4e5d67 Further improved test configuration 2023-03-29 17:08:21 +02:00
Tobias Genannt
17f1bb0af0 Preparation for 2.5.2 2023-03-29 12:41:34 +02:00
Tobias Genannt
9cc58918ab
Merge pull request #975 from netbox-community/develop
Version 2.5.2
2023-03-29 12:03:15 +02:00
Tobias Genannt
831867499b
Merge branch 'release' into develop 2023-03-29 10:36:28 +02:00
Tobias Genannt
d5dde45bec
Merge pull request #973 from tobiasge/social-auth-update
Use same version as Netbox for social-auth-core
2023-03-29 10:25:58 +02:00
Tobias Genannt
6576c18a9c
Merge pull request #972 from netbox-community/renovate/django-auth-ldap-4.x
Update dependency django-auth-ldap to v4.2.0
2023-03-29 09:34:54 +02:00
Tobias Genannt
efd6e6a3c2 Use same version as Netbox for social-auth-core 2023-03-29 08:58:49 +02:00
renovate[bot]
47a7eee16a
Update dependency django-auth-ldap to v4.2.0 2023-03-28 10:20:51 +00:00
Tobias Genannt
5eac65b8f6
Merge pull request #968 from ryanmerolle/patch-1
Update docker-compose.yml
2023-03-20 15:11:35 +01:00
Ryan Merolle
2ba441124e
Update docker-compose.yml 2023-03-20 08:21:17 -04:00
Tobias Genannt
f2d070fc49
Added more tests (#965) 2023-03-16 21:44:08 +01:00
Tobias Genannt
97ee353b00
Merge pull request #963 from netbox-community/develop
Version 2.5.1
2023-03-16 11:13:13 +01:00
Tobias Genannt
c001b88a81
Merge pull request #964 from tobiasge/better-base-image-check
Simplified base image check
2023-03-16 09:46:35 +01:00
Tobias Genannt
b131b07af8 Simplified basse image check 2023-03-16 07:50:24 +01:00
Tobias Genannt
311629ade4 Preparation for 2.5.1 2023-03-16 07:39:38 +01:00
Tobias Genannt
256f23b4ad
Merge pull request #961 from MarcHagen/patch-1
Catch DoesNotExist preventing startup
2023-03-16 07:37:05 +01:00
Marc
29e37a31d7
Catch DoesNotExist preventing startup
Fixes failing startup because of python error:

```
Traceback (most recent call last):
  File "/opt/netbox/netbox/./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
    output = self.handle(*args, **options)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/commands/shell.py", line 127, in handle
    exec(sys.stdin.read(), globals())
  File "<string>", line 2, in <module>
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/db/models/query.py", line 650, in get
    raise self.model.DoesNotExist(
users.models.Token.DoesNotExist: Token matching query does not exist.
```
2023-03-15 23:04:04 +01:00
Tobias Genannt
93017f150e
Merge pull request #959 from netbox-community/develop
Version 2.5.0
2023-03-15 15:53:14 +01:00