Commit Graph

70 Commits

Author SHA1 Message Date
0e18a445b4 Merge pull request 'feature/prefect-worker-pg-backup' (#5) from feature/prefect-worker-pg-backup into main
All checks were successful
Build and Push Docker Images / build (push) Successful in 52s
Reviewed-on: #5
2026-01-31 11:35:40 +00:00
dfb4b5a7d3 docs: add README for prefect-worker-pg-backup image 2026-01-31 11:00:12 +00:00
f4185a5d80 feat: add prefect worker image for PostgreSQL backups 2026-01-31 11:00:03 +00:00
6fa6bb53ad Merge pull request 'fix: use system Python to fix venv symlink issue' (#4) from fix/netbox-mcp-python-venv into main
All checks were successful
Build and Push Docker Images / build (push) Successful in 21s
Reviewed-on: #4
2026-01-11 10:30:01 +00:00
a0078d331e fix: use system Python to fix venv symlink issue
- Add UV_PYTHON_PREFERENCE=only-system to prevent uv from downloading its own Python
- Use python:3.13-alpine3.21 (stable) instead of 3.14 (RC)

Fixes: exec /app/.venv/bin/netbox-mcp-server: no such file or directory
2026-01-11 10:25:32 +00:00
c3bef1afe0 Merge pull request 'feat: add netbox-mcp-server Docker image' (#3) from feature/netbox-mcp-server into main
All checks were successful
Build and Push Docker Images / build (push) Successful in 23s
Reviewed-on: #3
2026-01-11 10:12:37 +00:00
9e6ac27484 fix: use multi-stage build based on official Dockerfile 2026-01-10 20:22:51 +00:00
b577369cdd docs: add netbox-mcp-server README 2026-01-10 20:19:25 +00:00
9b7264bf56 feat: add netbox-mcp-server version file 2026-01-10 20:19:11 +00:00
3c2a4886e6 feat: add netbox-mcp-server image 2026-01-10 20:19:05 +00:00
f76d4cab71 fix: add --no-cache to docker build to avoid stale layers 2026-01-07 17:56:19 +00:00
9cff273a6a chore: remove plugins.py (now mounted at runtime from netbox-deployment)
All checks were successful
Build and Push Docker Images / build (push) Successful in 39s
2026-01-07 15:43:05 +00:00
faf1ca0404 refactor: remove plugins.py from image (mount at runtime)
All checks were successful
Build and Push Docker Images / build (push) Successful in 6s
2026-01-07 15:42:49 +00:00
5212600c8d chore: remove local_settings.py (now mounted at runtime from netbox-deployment)
All checks were successful
Build and Push Docker Images / build (push) Successful in 5s
2026-01-07 15:36:03 +00:00
6375641926 refactor: remove local_settings.py from image (mount at runtime)
All checks were successful
Build and Push Docker Images / build (push) Successful in 6s
2026-01-07 15:23:44 +00:00
93575f8569 fix: delete DATABASE after wrapping to avoid conflict
All checks were successful
Build and Push Docker Images / build (push) Successful in 6s
2026-01-07 15:19:25 +00:00
3ff6ace420 fix: build DATABASE from env vars instead of importing
All checks were successful
Build and Push Docker Images / build (push) Successful in 6s
2026-01-07 15:15:53 +00:00
b05a59213a fix: use relative import for configuration
All checks were successful
Build and Push Docker Images / build (push) Successful in 6s
2026-01-07 15:10:44 +00:00
876abcf8d0 fix: move local_settings.py to /etc/netbox/config/
All checks were successful
Build and Push Docker Images / build (push) Successful in 7s
2026-01-07 15:10:29 +00:00
71e980fd8c fix: import DATABASE from configuration instead of env vars
All checks were successful
Build and Push Docker Images / build (push) Successful in 7s
2026-01-07 15:02:55 +00:00
b60a3f0b1e fix: move netbox_branching to end of PLUGINS list (required)
All checks were successful
Build and Push Docker Images / build (push) Successful in 6s
2026-01-07 14:56:35 +00:00
2eef404f14 feat: add local_settings.py for netbox-branching support
All checks were successful
Build and Push Docker Images / build (push) Successful in 6s
2026-01-07 14:56:12 +00:00
425b618a3a feat: add local_settings.py for netbox-branching DynamicSchemaDict
All checks were successful
Build and Push Docker Images / build (push) Successful in 5s
2026-01-07 14:55:50 +00:00
277761107d docs(netbox): add branching configuration and version compatibility matrix
All checks were successful
Build and Push Docker Images / build (push) Successful in 5s
2026-01-07 13:43:43 +00:00
ef3dd25957 fix(netbox): pin plugin versions for NetBox 4.4.x compatibility
All checks were successful
Build and Push Docker Images / build (push) Successful in 8s
- netbox-branching: >=0.7.0,<0.8.0 (0.7.x for NetBox 4.4)
- netbox-bgp: >=0.17.0,<0.18.0 (0.17.x for NetBox 4.4, 0.18+ requires 4.5)
2026-01-07 13:43:03 +00:00
afcb1b2e60 fix(netbox): skip collectstatic at build time for complex plugins
All checks were successful
Build and Push Docker Images / build (push) Successful in 30s
netbox_branching requires DynamicSchemaDict for DATABASES which cannot
be configured at build time. Static assets will be collected at container
startup instead.
2026-01-07 13:41:26 +00:00
dce74cddfd Update images/netbox/Dockerfile
Some checks failed
Build and Push Docker Images / build (push) Failing after 5s
2026-01-07 13:39:13 +00:00
f0dc1fe699 Update images/netbox/plugins.py
Some checks failed
Build and Push Docker Images / build (push) Failing after 4s
2026-01-07 13:38:19 +00:00
daa9afdb5f Merge pull request 'Update images/netbox/plugin_requirements.txt' (#2) from feature/netbox-plugins into main
Some checks failed
Build and Push Docker Images / build (push) Failing after 5s
Reviewed-on: #2
2026-01-07 13:36:50 +00:00
8f194987c8 Update images/netbox/plugin_requirements.txt 2026-01-07 13:36:32 +00:00
1fb4a3ea3f Merge pull request 'feat(netbox): Add NetBox Docker image with plugins support' (#1) from feature/netbox-plugins into main
Some checks failed
Build and Push Docker Images / build (push) Failing after 19s
Reviewed-on: #1
2026-01-07 13:34:31 +00:00
167a3f1d0e Update images/netbox/README.md 2026-01-07 13:33:57 +00:00
14b4da71d1 Update images/netbox/NETBOX_VERSION 2026-01-07 13:31:48 +00:00
ee9b74ebe4 docs(netbox): document NETBOX_VERSION file and version tagging 2026-01-07 13:28:50 +00:00
75c68f57ef feat(ci): support version files for image tagging and build-args 2026-01-07 13:28:19 +00:00
526a488aba feat(netbox): add NETBOX_VERSION file for version tracking 2026-01-07 13:27:47 +00:00
6809982d3d docs(netbox): update README with branching and bgp plugins 2026-01-07 13:26:12 +00:00
c591816148 feat(netbox): configure netbox-branching and netbox-bgp 2026-01-07 13:25:45 +00:00
b05aada942 feat(netbox): add netbox-branching and netbox-bgp plugins 2026-01-07 13:25:33 +00:00
8ab22a1e66 docs(netbox): add README with usage instructions 2026-01-07 12:39:51 +00:00
3d048c0d99 feat(netbox): add plugins configuration file 2026-01-07 12:39:31 +00:00
b31055f944 feat(netbox): add plugin requirements file 2026-01-07 12:39:18 +00:00
b05905590a feat(netbox): add Dockerfile for NetBox with plugins 2026-01-07 12:39:09 +00:00
7555c25a58 feat: add input to select specific image for manual trigger 2025-12-08 08:05:28 +00:00
6af9ff9ab2 refactor: remove matrix strategy, use simple loop instead 2025-12-08 08:00:17 +00:00
b6c84481f2 fix: improve JSON format with awk and add matrix debug output 2025-12-08 07:51:21 +00:00
38f2020e44 fix: simplify image detection with for loop and add debug output 2025-12-08 07:40:19 +00:00
79be3d2f9a fix: use gitea.event_name instead of github.event_name, simplify detection logic 2025-12-08 07:36:21 +00:00
darnodo
9e9006439b ci: refine image build matrix generation logic and tools
Updates the build-images workflow to improve reliability and reduce dependency on external tools like `jq`.

- Replaced `jq` with `python3` for generating the JSON matrix, removing the need to install a separate binary and allowing for more standard standard library usage.
- Switched from a shell glob loop (`for DIR in images/*`) to `find` for more robust directory discovery when detecting manual triggers.
- Added explanatory comments regarding fallback behavior for push events.
- Added debug logging for the generated JSON output.
2025-12-07 21:20:07 +01:00
darnodo
a6f7c9799f ci(workflow): build all images on manual trigger instead of specific input
Refactor the image detection strategy in the build-images workflow.

- Remove the `image` input parameter from `workflow_dispatch`.
- Update detection logic to handle events differently:
  - On manual triggers (`workflow_dispatch`), the script now scans the `images/` directory and builds ALL valid images found.
  - On push events, the script retains the `git diff` logic to only build images that have explicitly changed.
2025-12-07 21:10:57 +01:00