Commit Graph
14682 Commits
Author SHA1 Message Date
kevinveenbirkenbach 514482a1d9 fix(make): respect active virtualenv and avoid /opt permission errors
- Prefer active VIRTUAL_ENV when present
- Only create fallback venv base when no venv is active
- Align .gitignore build path handling

https://chatgpt.com/share/6946f090-52b8-800f-919d-d534ae4ea163
2025-12-20 19:52:55 +01:00
kevinveenbirkenbach 2e6d973839 fix(build): align CLI module invocations and stabilize include generation
- Switch Makefile targets to direct module execution (cli.build.*)
- Remove obsolete flags and normalize tree invocation
- Minor formatting cleanups for readability and test stability
- Keep inventory and include paths consistent after package layout migration

https://chatgpt.com/share/6946eac4-eb48-800f-becb-f08420ab03a6
2025-12-20 19:28:14 +01:00
kevinveenbirkenbach 45214dc6a4 Call invokable via cli.meta.categories.invokable 2025-12-20 19:07:45 +01:00
kevinveenbirkenbach a8a4948e39 **fix(cli): restore test patchability after package migration**
* Reintroduced proxy wrappers in cli subcommands to keep unit/integration tests patchable
* Synced test monkeypatches with **main** implementations (tree, deploy, fix, users)
* Fixed ROLES_DIR resolution to repo root after package refactor
* Re-exported private helpers required by tests
* Made cli/setup/users script-safe when executed directly

https://chatgpt.com/share/6946e285-2658-800f-b8f3-b68d66b91be9
2025-12-20 18:52:56 +01:00
kevinveenbirkenbach bb8c05a653 Replaced tree.py by tree/__main__.py 2025-12-20 18:38:52 +01:00
kevinveenbirkenbach 102735dba4 Renamed inventory.py to inventory/__main__.py 2025-12-20 18:30:20 +01:00
kevinveenbirkenbach 993ed8addd Renamed Makefile *.py includes 2025-12-20 18:28:37 +01:00
kevinveenbirkenbach 5c6afd2cf6 p2pkg executed 2025-12-20 18:25:37 +01:00
kevinveenbirkenbach 34e0c75775 Optimized changelog 2025-12-20 11:30:38 +01:00
kevinveenbirkenbach 743a7a363b Release version 0.3.2 v0.3.2 2025-12-19 17:13:09 +01:00
kevinveenbirkenbach c580ba863f Merge branch 'feature/deploytest2.0' 2025-12-19 17:11:12 +01:00
kevinveenbirkenbach 0ea828ab6e cleanup: unify git cleanup, simplify deploy flow, fix dockerignore
- Remove clean-keep-logs target and enforce git-repo guard in Makefile
- Always use `make clean` during deploy cleanup with live output
- Add shared subprocess runner for consistent stdout/stderr handling
- Align unit tests with simplified cleanup semantics
- Fix .dockerignore to ignore build artifacts and Ruff cache correctly

https://chatgpt.com/share/6945784a-daac-800f-bc02-d7e8d3087376
2025-12-19 17:07:33 +01:00
kevinveenbirkenbach 8c845625ae fix(dockerfile): satisfy hadolint warnings (pipefail, quoting, pin ignores)
https://chatgpt.com/share/69457254-bde0-800f-b8b8-b6bfe7eb330d
2025-12-19 16:42:03 +01:00
kevinveenbirkenbach 2cb7bab23a ci(hadolint): upload SARIF before failing on findings
https://chatgpt.com/share/69456f33-94f0-800f-9559-62959b75144e
2025-12-19 16:29:13 +01:00
kevinveenbirkenbach f775ae9dfa ci(deploy): run deploy tests with --missing and docker-based invokable excludes 2025-12-19 16:07:59 +01:00
kevinveenbirkenbach 87730f8969 Reduced noice and implemented correct workdir use 2025-12-19 16:02:50 +01:00
kevinveenbirkenbach 0df20ab304 Set correct Variable 2025-12-19 15:26:34 +01:00
kevinveenbirkenbach e642e77597 docker: base infinito image on pkgmgr and reuse entry.sh for local build
- Switch Dockerfile build args to PKGMGR_IMAGE_REPO/TAG
- Copy source to INFINITO_SRC_DIR and install infinito via pkgmgr
- Use entry.sh (INSTALL_LOCAL_BUILD) for build-time local override
- Update build/test scripts to new arg/env names

https://chatgpt.com/share/69455d5d-e13c-800f-8c37-fc0ece49d386
2025-12-19 15:12:41 +01:00
kevinveenbirkenbach 0ed6032b91 fix(ci): ensure entrypoint runs and mark bind-mounted repo as git safe
- Force container startup via custom entrypoint to ensure REINSTALL_INFINITO is executed
- Add git safe.directory configuration for /opt/src/infinito to avoid
  "detected dubious ownership" errors in CI bind mounts
- Keep container alive via explicit tail command for subsequent docker exec runs

https://chatgpt.com/share/694530d3-4ca0-800f-9703-252ed9cabef5
2025-12-19 12:02:37 +01:00
kevinveenbirkenbach aea82e8080 ci(deploy): use host Docker socket and local infinito image for deploy tests
- Install Docker CLI in the Docker image (distro-aware)
- Switch deploy container runner from Docker-in-Docker to host /var/run/docker.sock
  with clearer diagnostics when docker/permissions are missing
- Rewrite scripts/tests/deploy.sh to build a local infinito-<distro> image via Make
  and run deployment strictly against that local tag (no pkgmgr/GHCR pulls)

https://chatgpt.com/share/694513c7-daec-800f-a9b5-c8fb25274958
2025-12-19 09:58:43 +01:00
kevinveenbirkenbach 7b2c0df237 Made deploy.sh executable 2025-12-19 09:01:15 +01:00
kevinveenbirkenbach 7c0c1321d5 Fix Hadolint code scanning identity and apply formatting cleanups
https://chatgpt.com/share/694420ac-5d70-800f-94b8-71549893936e
2025-12-18 16:41:25 +01:00
kevinveenbirkenbach 72b43468e8 Merge pull request #38 from kevinveenbirkenbach/alert-autofix-55
Potential fix for code scanning alert no. 55: Explicit returns mixed with implicit (fall through) returns
2025-12-18 16:28:48 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI ed0762ff02 Potential fix for code scanning alert no. 55: Explicit returns mixed with implicit (fall through) returns
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:28:34 +01:00
kevinveenbirkenbach 6d7177c26a Merge pull request #37 from kevinveenbirkenbach/alert-autofix-43
Potential fix for code scanning alert no. 43: Unnecessary lambda
2025-12-18 16:28:13 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI aa586e0e2c Potential fix for code scanning alert no. 43: Unnecessary lambda
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:28:02 +01:00
kevinveenbirkenbach 3335604cd3 Merge pull request #36 from kevinveenbirkenbach/alert-autofix-66
Potential fix for code scanning alert no. 66: Empty except
2025-12-18 16:27:49 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI 0d9ad719f7 Potential fix for code scanning alert no. 66: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:27:37 +01:00
kevinveenbirkenbach f23777651e Merge pull request #35 from kevinveenbirkenbach/alert-autofix-72
Potential fix for code scanning alert no. 72: Empty except
2025-12-18 16:27:00 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI fda08ede8d Potential fix for code scanning alert no. 72: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:26:43 +01:00
kevinveenbirkenbach aee5fb0d9d Merge pull request #34 from kevinveenbirkenbach/alert-autofix-71
Potential fix for code scanning alert no. 71: Empty except
2025-12-18 16:25:01 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI b085421b14 Potential fix for code scanning alert no. 71: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:24:50 +01:00
kevinveenbirkenbach 28a27c34fc Merge pull request #33 from kevinveenbirkenbach/alert-autofix-76
Potential fix for code scanning alert no. 76: Empty except
2025-12-18 16:23:56 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI f904b20f63 Potential fix for code scanning alert no. 76: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:23:42 +01:00
kevinveenbirkenbach f7809c266e Optimized ruff 2025-12-18 14:33:54 +01:00
kevinveenbirkenbach bf3c131bbd Merge branch 'master' of github.com:kevinveenbirkenbach/infinito-nexus 2025-12-18 14:30:43 +01:00
kevinveenbirkenbach 65ae22bc97 ci(lint-docker): assert SARIF generation and print Hadolint findings
https://chatgpt.com/share/694401cd-2f14-800f-8c55-b2051aaa39fd
2025-12-18 14:29:44 +01:00
kevinveenbirkenbach 34e8338b44 Merge pull request #32 from kevinveenbirkenbach/alert-autofix-69
Potential fix for code scanning alert no. 69: Empty except
2025-12-18 14:14:03 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI 3768c20645 Potential fix for code scanning alert no. 69: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 14:13:51 +01:00
kevinveenbirkenbach 396568414c Merge pull request #31 from kevinveenbirkenbach/alert-autofix-70
Potential fix for code scanning alert no. 70: Empty except
2025-12-18 14:13:30 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI 0714d2055c Potential fix for code scanning alert no. 70: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 14:13:21 +01:00
kevinveenbirkenbach 22afe84a4c Merge pull request #30 from kevinveenbirkenbach/alert-autofix-73
Potential fix for code scanning alert no. 73: Empty except
2025-12-18 14:12:55 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI 796f9961db Potential fix for code scanning alert no. 73: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 14:12:44 +01:00
kevinveenbirkenbach ffe4607ef5 Merge pull request #29 from kevinveenbirkenbach/alert-autofix-74
Potential fix for code scanning alert no. 74: Empty except
2025-12-18 14:12:36 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI 99babcd7a4 Potential fix for code scanning alert no. 74: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 14:12:26 +01:00
kevinveenbirkenbach 630cec4d6a Merge pull request #28 from kevinveenbirkenbach/alert-autofix-77
Potential fix for code scanning alert no. 77: Empty except
2025-12-18 14:12:00 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI b8de616d4d Potential fix for code scanning alert no. 77: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 14:11:43 +01:00
kevinveenbirkenbach a38f36837f style: reformat code for readability and lint compliance 2025-12-18 14:08:01 +01:00
kevinveenbirkenbach bd3534640a Merge branch 'master' of github.com:kevinveenbirkenbach/infinito-nexus 2025-12-18 14:00:48 +01:00
kevinveenbirkenbach 7239681389 Merge pull request #27 from kevinveenbirkenbach/alert-autofix-60
Potential fix for code scanning alert no. 60: Module is imported with 'import' and 'import from'
2025-12-18 14:00:41 +01:00