Commit Graph
14682 Commits
Author SHA1 Message Date
kevinveenbirkenbach cd117afd88 test: fix CodeQL import warning by unifying unittest imports
https://chatgpt.com/share/6943c4e0-7468-800f-9507-28a2509a7cf0
2025-12-18 10:09:16 +01:00
kevinveenbirkenbach 89294d15db Changed job name 2025-12-18 10:01:37 +01:00
kevinveenbirkenbach eee65b6c5d fix(ci): repair reusable workflow by renaming aggregator job
https://chatgpt.com/share/6943c243-33dc-800f-ab7c-794efbc5e4b3
2025-12-18 09:58:29 +01:00
kevinveenbirkenbach f0d5ea62c6 ci: fix CodeQL reusable workflow permissions
https://chatgpt.com/share/6943c0d7-5360-800f-9433-c348d5e5941f
2025-12-18 09:52:35 +01:00
kevinveenbirkenbach 653d56b4a4 fix(ci): allow SARIF uploads in reusable workflows
Grant security-events: write to CI callers and code-analyses, and drop unnecessary actions permission from Docker lint job to fix reusable workflow permission errors.

https://chatgpt.com/share/6943c031-bc04-800f-ae09-4ac1f9ff48c9
2025-12-18 09:49:48 +01:00
kevinveenbirkenbach 9ad107f628 ci: align workflow permissions with reusable code-analyses workflow
Grant packages:read to all CI caller workflows to satisfy permissions
required by the reusable code-analyses workflow and avoid permission
mismatch errors.

https://chatgpt.com/share/6943becc-3148-800f-85e4-8ca917c8bb94
2025-12-18 09:43:52 +01:00
kevinveenbirkenbach d28e63bdf0 chore(ci): set explicit workflow permissions for GITHUB_TOKEN
https://chatgpt.com/share/6943bd97-5324-800f-94e2-68d25a45d03a
2025-12-18 09:39:07 +01:00
kevinveenbirkenbach 9b334edd9e Merge pull request #8 from kevinveenbirkenbach/dependabot/github_actions/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-12-18 09:31:34 +01:00
kevinveenbirkenbach c1570748a8 Merge pull request #9 from kevinveenbirkenbach/dependabot/github_actions/github/codeql-action-4
Bump github/codeql-action from 3 to 4
2025-12-18 09:31:03 +01:00
kevinveenbirkenbach af032d1801 ci: introduce reusable code-analyses pipeline and orchestrators
- Add reusable code-analyses workflow (workflow_call + dispatch)
- Split CI triggers into push, PR, schedule, and version orchestrators
- Remove duplicate triggers from reusable workflows
- Rename and align workflows for clearer CI structure

https://chatgpt.com/share/6943b12d-2c84-800f-b63d-68e4d1db6d0a
2025-12-18 09:30:28 +01:00
dependabot[bot] 72fbc77597 Bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-18 08:02:50 +00:00
dependabot[bot] 6c42228b03 Bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-18 08:02:34 +00:00
kevinveenbirkenbach 3df8c96b84 Merge pull request #7 from kevinveenbirkenbach/dependabot/github_actions/hadolint/hadolint-action-3.3.0
Bump hadolint/hadolint-action from 2.1.0 to 3.3.0
2025-12-18 09:02:17 +01:00
kevinveenbirkenbach 7de0a16609 Merge pull request #6 from kevinveenbirkenbach/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 4 to 6
2025-12-18 09:01:26 +01:00
kevinveenbirkenbach c11600d0ea ci: tighten hadolint and codeql security checks
- Fail Hadolint on warnings and errors
- Enable extended and security-and-quality CodeQL queries

https://chatgpt.com/share/6943b12d-2c84-800f-b63d-68e4d1db6d0a
2025-12-18 08:52:00 +01:00
dependabot[bot] 46a0ce3fe0 Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-18 07:47:19 +00:00
dependabot[bot] 7ddf99b6ac Bump hadolint/hadolint-action from 2.1.0 to 3.3.0
Bumps [hadolint/hadolint-action](https://github.com/hadolint/hadolint-action) from 2.1.0 to 3.3.0.
- [Release notes](https://github.com/hadolint/hadolint-action/releases)
- [Commits](https://github.com/hadolint/hadolint-action/compare/f988afea3da57ee48710a9795b6bb677cc901183...2332a7b74a6de0dda2e2221d575162eba76ba5e5)

---
updated-dependencies:
- dependency-name: hadolint/hadolint-action
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-18 07:47:07 +00:00
kevinveenbirkenbach d8fd8448d4 ci: centralize lint and security workflows via workflow_call
- Convert Hadolint and CodeQL workflows to reusable workflow_call
- Keep scheduled scans for Dockerfile hygiene and security analysis
- Integrate lint-docker and security-codeql into mark-stable gate
- Rename workflows for consistent lint/security naming

https://chatgpt.com/share/6943b12d-2c84-800f-b63d-68e4d1db6d0a
2025-12-18 08:45:38 +01:00
kevinveenbirkenbach 36d623b6f6 chore(deps): simplify dependabot config and remove unsupported ansible ecosystem
https://chatgpt.com/share/6943ae58-e578-800f-904e-b3b3d8a37b2e
2025-12-18 08:33:25 +01:00
kevinveenbirkenbach 558be6fd4a Add CodeQL analysis workflow configuration 2025-12-18 03:43:56 +01:00
kevinveenbirkenbach 8b887e47e9 Add Hadolint workflow for Dockerfile linting
This workflow runs Hadolint to analyze Dockerfiles and uploads results.
2025-12-18 03:38:13 +01:00
kevinveenbirkenbach 082195016e Update dependabot.yml with package ecosystems
Added configurations for various package ecosystems including Python, GitHub Actions, Docker, and Ansible.

https://chatgpt.com/share/694367f4-f52c-800f-9b16-04c8db37fd5e
2025-12-18 03:33:39 +01:00
kevinveenbirkenbach 000bb510a7 Solved variable bug 2025-12-18 02:00:58 +01:00
kevinveenbirkenbach 7201fb5df5 Optimized image name 2025-12-18 01:59:55 +01:00
kevinveenbirkenbach be22f8ec1f Required to change back to /opt/venvs/ due to runner and root executing infinito 2025-12-18 01:47:31 +01:00
kevinveenbirkenbach b1a2f70a71 Release version 0.3.1 v0.3.1 2025-12-18 01:03:35 +01:00
kevinveenbirkenbach 6f5cc2302f Added missing source 2025-12-18 00:55:03 +01:00
kevinveenbirkenbach c28468eb3c Activate venv after pkgmgr setup 2025-12-18 00:50:13 +01:00
kevinveenbirkenbach 2cf7e6c81d Changed venv path 2025-12-18 00:47:34 +01:00
kevinveenbirkenbach 7bc5ba4ff7 Activated venv for pkgmgr 2025-12-17 23:47:40 +01:00
kevinveenbirkenbach d0c9e97907 Added missing shallow 2025-12-17 23:20:37 +01:00
kevinveenbirkenbach d60130376d Set 'pkgmgr install infinito --clone-mode --no-verification' for install test. 2025-12-17 23:03:02 +01:00
kevinveenbirkenbach 74364d0175 Removed build files 2025-12-17 23:00:15 +01:00
kevinveenbirkenbach dc846b0672 refactor(cli): move main entrypoint to cli package and standardize execution
- Move main.py to cli/__main__.py and expose via console script
- Switch Makefile execution to `python -m cli`
- Remove fragile Docker symlink to main.py
- Ensure infinito console script is available via venv PATH
- Update tests and documentation to reflect new CLI structure
- Improve logging location and permissions (XDG_STATE_HOME)
- Handle Ctrl+C gracefully with POSIX-compliant exit code (130)

https://chatgpt.com/share/6942f140-fb8c-800f-a13a-641ebf1c644e
2025-12-17 19:06:49 +01:00
kevinveenbirkenbach 1c4d780e37 Downgraded Python to make it compatible to all Distributions 2025-12-17 17:56:10 +01:00
kevinveenbirkenbach efdb099479 ci(test-install-make): activate Infinito.Nexus venv before invoking CLI
Ensure the Infinito.Nexus virtual environment is activated inside the
pkgmgr virgin container so the `infinito` console script is available
on PATH during test execution.

This validates the editable install and CLI entry point without relying
on pkgmgr internals.

https://chatgpt.com/share/6942df9e-6af0-800f-aeec-324418740cbb
2025-12-17 17:51:35 +01:00
kevinveenbirkenbach 18ab76278c Added correct image for pkgmgr 2025-12-17 17:32:10 +01:00
kevinveenbirkenbach 46ac48598f ci: consolidate install tests and fix pkgmgr/make workflows
- Replace legacy nix/virgin install jobs with make- and pkgmgr-based install tests
- Add distro matrix install test using pkgmgr virgin containers
- Ensure deterministic working directories via explicit Docker mounts and -w
- Register infinito CLI entrypoint by packaging main.py explicitly
- Simplify mark-stable gate to reflect new install strategy

https://chatgpt.com/share/6942da66-ceb0-800f-8ebe-444e5b638f25
2025-12-17 17:29:06 +01:00
kevinveenbirkenbach 7123841fb4 style: apply ruff autoformat 2025-12-17 16:37:21 +01:00
kevinveenbirkenbach d5599ac1b8 Solved shellchecker hints 2025-12-17 16:31:28 +01:00
kevinveenbirkenbach 8c7f425df2 Deactivated ruff for taiga 2025-12-17 16:29:00 +01:00
kevinveenbirkenbach 06ec94d2b1 Solved further ruff 2025-12-17 16:26:18 +01:00
kevinveenbirkenbach ec284cc765 fix(lint): resolve Ruff E701/E702 and exclude build artifacts
- Fix E701 by expanding single-line class and loop statements into blocks
- Fix E702 by splitting semicolon-separated statements
- Exclude build/, dist/, venv, and egg-info from Ruff linting
- Apply fixes consistently to source and generated files

No runtime behavior changes; lint-only cleanup to stabilize CI.

https://chatgpt.com/share/6942c9e3-80fc-800f-b471-5e1ee567f8fe
2025-12-17 16:18:53 +01:00
kevinveenbirkenbach ee3e86684a lint: remove unused variables in module_utils and tests
https://chatgpt.com/share/6942c80f-c904-800f-8793-f804da1aa891
2025-12-17 16:10:58 +01:00
kevinveenbirkenbach 9f76946735 test(lint): remove unused imports in unit tests 2025-12-17 16:07:58 +01:00
kevinveenbirkenbach 324f9bebf4 fix(lint): resolve Ruff E402 import-order violations
Move all module-level imports to the top of affected files and remove
late imports after sys.path manipulation or runtime code.

Also normalize test imports to use package paths instead of ad-hoc
sys.path hacks, aligning tests with the new layered architecture.

No functional changes intended.

https://chatgpt.com/share/6942c6af-bd10-800f-886a-0ed8731675ee
2025-12-17 16:05:15 +01:00
kevinveenbirkenbach 9e6256dc6e lint(test,core): remove misplaced test code and fix undefined names
- Import subprocess where used to fix F821 in cli/setup/applications
- Remove accidental test methods from RoleDependencyResolver implementation
- Remove invalid and non-discoverable test functions from test_role_dependency_resolver
- Eliminate test code that was never executed due to wrong scope/indentation
- Restore clear separation between production code and unit tests

https://chatgpt.com/share/6942c3ec-8a10-800f-9a15-c319f5e93089
2025-12-17 15:53:25 +01:00
kevinveenbirkenbach c549febe8a Autofix ruff F401 2025-12-17 14:41:42 +01:00
kevinveenbirkenbach 176c8799ce lint(ruff): fix E402 and related import issues
- Fix E402 by removing sys.path hacks and ensuring imports are at module top level
- Replace ad-hoc imports with proper package imports (filter_plugins, lookup_plugins, module_utils, cli)
- Make lookup plugins importable via package paths (e.g. lookup_plugins.application_gid)
- Clean up test imports to rely on installed package layout instead of sys.path manipulation
- Partially fix F821 caused by missing/invalid imports

This establishes a consistent, ruff-compliant import architecture across CLI, filters, plugins, and tests.
2025-12-17 14:36:29 +01:00
kevinveenbirkenbach 73f7c00acd Solved ruff E741 2025-12-17 13:54:51 +01:00