Commit Graph
184 Commits
Author SHA1 Message Date
kevinveenbirkenbach 308326ae75 ci(push): shuffle distro order for push pipeline
- Add a shuffle-distros job to randomize distro execution order
- Pass shuffled distros to ci-orchestrator instead of hardcoded arch
- Improve load distribution across arch, debian, ubuntu, fedora, centos
- Keep concurrency semantics unchanged

https://chatgpt.com/share/69820309-ac04-800f-b4ae-d2eba93c956d
2026-02-03 15:15:24 +01:00
kevinveenbirkenbach 5c0a86b8a7 Merge branch 'feature/self-signed-tls' into feature/finalize-tests 2026-02-03 12:33:14 +01:00
kevinveenbirkenbach 9555d65858 Removed log logic from ci 2026-02-03 12:28:45 +01:00
kevinveenbirkenbach 7092caf7fb ci(concurrency): isolate CI concurrency per repo and branch
Previously all CI entry workflows shared a single global
concurrency group, blocking parallel runs across branches.
This scopes concurrency to repository + branch.

https://chatgpt.com/share/6981bad4-e1cc-800f-bef9-15f10ff6f7e5
2026-02-03 10:07:15 +01:00
kevinveenbirkenbach 970c0c8e50 ci(mirror): disable default throttling for only-missing workflow
- Remove default images_per_hour value for mirror-images-missing
- Avoid unintended throttling

https://chatgpt.com/share/698160fa-f39c-800f-a645-c6fbf533b9f8
2026-02-03 03:44:07 +01:00
kevinveenbirkenbach fddc5330b6 fix(ci): fail mirror workflows when image sync fails
Remove continue-on-error from mirror jobs and steps so the workflow
correctly fails when skopeo image mirroring reports errors.

https://chatgpt.com/share/69814760-6940-800f-bad7-0e653c352fff
2026-02-03 01:54:48 +01:00
kevinveenbirkenbach c0cd4b8eda feat(ci,mirror): add branch-scoped mirror of missing images and gate deploys on it
- Introduce reusable workflow `mirror-images-missing.yml` to mirror only missing
  Docker Hub images to GHCR using `--only-missing`
- Scope mirror concurrency per branch using `github.ref_name`
- Rename full mirror workflow to `mirror-images-all.yml` for clarity
- Integrate missing-image mirror into CI orchestrator and gate server/universal
  deploys on successful mirror completion
- Add tag existence checks via `skopeo inspect` to avoid redundant uploads
- Keep mirror runs best-effort to avoid blocking CI on transient registry issues

https://chatgpt.com/share/698141e9-0844-800f-9c4f-fecd468ede73
2026-02-03 01:31:30 +01:00
kevinveenbirkenbach 734f013179 ci: wire GHCR mirror envs into deploy workflows and inventory init
- Add required GHCR mirror environment variables to CI workflows
- Generate mirrors.yml during development inventory init on CI
- Introduce mirrors helper module with strict env validation
- Minor formatting cleanup in mirror providers
`

https://chatgpt.com/share/6980ff2e-8f18-800f-85e1-79d56a2027f5
2026-02-02 20:46:41 +01:00
kevinveenbirkenbach 9e1792c6ad chore(ci): remove GHCR publish-to-public step from mirror workflow
https://chatgpt.com/share/6980fc3e-2f98-800f-913d-bab61e2fa831
2026-02-02 20:34:09 +01:00
kevinveenbirkenbach 4949b45f44 feat(mirror): add rate-limited image sync with concurrency protection
- add optional --images-per-hour throttle to mirror sync
- enforce safe default (50 images/hour) in CI
- prevent overlapping mirror runs via workflow concurrency
- make workflow robust for schedule, dispatch, and workflow_call
- fix GHCR namespace fallback to repository owner

https://chatgpt.com/share/6980be4f-d5d4-800f-a9ad-2aaba637897e
2026-02-02 16:09:57 +01:00
kevinveenbirkenbach d1cf6b72f4 feat(mirror): publish mirrored GHCR images as public via release script
- add post-mirror step to set GHCR package visibility to public
- extract publish logic into scripts/release/ghcr_make_public.sh
- ensure repo-root handling is robust via explicit cd
- keep publish step best-effort while mirror sync can fail
2026-02-02 15:56:01 +01:00
kevinveenbirkenbach e7fdaa1d10 fix(mirror): iterate all images and fail at end on mirror errors
- mirror sync now continues on individual skopeo failures
- collect and summarize failed images
- return non-zero exit code only after all images were processed
- make GitHub workflow respect mirror sync exit status

https://chatgpt.com/share/6980b558-5fdc-800f-911e-48bbc35a461f
2026-02-02 15:45:27 +01:00
kevinveenbirkenbach c67e20d06c ci(mirror): make ghcr_namespace optional and default to repository owner
https://chatgpt.com/share/6980b558-5fdc-800f-911e-48bbc35a461f
2026-02-02 15:31:33 +01:00
kevinveenbirkenbachandCopilot Autofix powered by AI 4785335a6b Potential fix for code scanning alert no. 173: Code injection
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-01-25 14:42:51 +01:00
kevinveenbirkenbach 5f36451327 Merge pull request #51 from kevinveenbirkenbach/dependabot/github_actions/actions/upload-artifact-6
chore(deps): bump actions/upload-artifact from 4 to 6
2026-01-25 11:16:52 +01:00
kevinveenbirkenbach 10e0b7d479 Test universal parallel to server 2026-01-25 10:19:15 +01:00
kevinveenbirkenbach fc9e77241b Activated universal CI tests 2026-01-25 10:17:14 +01:00
kevinveenbirkenbach 9fd8b2328e ci(lint-shell): fix container invocation for shellcheck
- Use container ENTRYPOINT directly instead of calling shellcheck twice

https://chatgpt.com/share/69756a53-53c8-800f-9056-37baac0ab931
2026-01-25 01:59:28 +01:00
kevinveenbirkenbach f3e1ee0960 ci(lint): run ShellCheck via container and fix SC1091 false positives
- Run ShellCheck using koalaman/shellcheck container instead of apt
- Align CI linting behavior with local ShellCheck versions
- Suppress SC1091 for sourcing /etc/os-release in docker install script

https://chatgpt.com/share/69756a53-53c8-800f-9056-37baac0ab931
2026-01-25 01:56:42 +01:00
kevinveenbirkenbach 792b78fe44 fix(ci): allow optional Docker Hub login in mirror workflow
Copy Docker Hub secrets into job env and use env.* in if-condition.
This fixes GitHub Actions validation error caused by using secrets.*
directly in step conditions.

https://chatgpt.com/share/6972020d-afc4-800f-8713-917767b3ac73
2026-01-22 11:54:57 +01:00
kevinveenbirkenbach b8a3deaaf3 ci(mirror): add nightly and reusable GHCR mirror workflow (never-fail)
Add a scheduled (06:00 UTC), manual and reusable workflow to mirror Docker Hub
images to GHCR using skopeo. The job runs best-effort and never fails the pipeline,
with optional Docker Hub authentication and configurable namespace/prefix.

https://chatgpt.com/share/6971e6cf-be18-800f-9419-589fd3e22c3d
2026-01-22 11:16:01 +01:00
kevinveenbirkenbach 0266c1b773 Let shellcheck check all files 2026-01-21 19:36:37 +01:00
kevinveenbirkenbach 249103bb56 feat(ci): unify local act workflow with CI discovery logic and strict input resolver
- Use docker-up + ci-discover-output for local discover job (same as CI)
- Add strict input resolver (scripts/meta/resolve/input.sh) with enforced env contract
- Ensure ONLY_APP is always defined (may be empty, but never unset)
- Expose resolved inputs as workflow outputs for linear matrix deploy
- Enforce linear matrix execution via max-parallel: 1
- Align act helper scripts with linear matrix semantics

https://chatgpt.com/share/6970ba64-8c2c-800f-bb90-7edbe9168582
2026-01-21 12:37:03 +01:00
kevinveenbirkenbach 421a5cded5 deactivated slim 2026-01-21 02:36:42 +01:00
kevinveenbirkenbach d5aeac3885 Optimized name 2026-01-21 02:10:25 +01:00
kevinveenbirkenbach cb88b0200f Optimized Name 2026-01-21 01:51:54 +01:00
kevinveenbirkenbach 18acafa9dc ci(images): build & push full+slim CI images
- Build matrix now includes variants: full + slim
- Tag slim images with -slim suffix and use Dockerfile target selection
- Use dedicated gha cache scopes per distro+variant
- Update release checks/retag/promote scripts to handle slim images too

https://chatgpt.com/share/69701a4e-b000-800f-be7e-162dcb93b1d2
2026-01-21 01:46:52 +01:00
kevinveenbirkenbach 0dd37d8833 Docker up before test 2026-01-20 22:24:07 +01:00
kevinveenbirkenbach 96487fad55 Revert "decoupeled test from image buzild"
This reverts commit e182883a48.
2026-01-20 22:08:10 +01:00
kevinveenbirkenbach e182883a48 decoupeled test from image buzild 2026-01-20 20:48:26 +01:00
kevinveenbirkenbach 41829df6e0 ci: build CI images first and use per-commit image tags in tests
- Run build-ci-images before all code test jobs
- Propagate ci-${GITHUB_SHA} image tag into test workflows
- Remove forced INFINITO_PULL_POLICY=never from Makefile tests
- Ensure tests use the freshly built CI images instead of :latest

https://chatgpt.com/share/696fb8cc-6b24-800f-8c96-d840f68d8eaa
2026-01-20 18:17:50 +01:00
kevinveenbirkenbach bbea43f669 refactor(ci,tests): migrate discovery and local deploy to development compose stack
- Replace legacy ci scripts with meta build-test-matrix and resolve-invokable-roles
- Switch log tailing to scripts/meta/log-tail.sh
- Rename local DNS helpers to scripts/dns/*
- Run ci-deploy-discover via development docker-up
- Replace deploy-local-full with development compose orchestrator
- Ensure INFINITO_DISTRO is passed explicitly for local full deploy

https://chatgpt.com/share/696f9ccd-e4d8-800f-9c67-9c071188ecd0
https://chatgpt.com/share/696facf5-b2fc-800f-8a33-3352dd193c54
2026-01-20 17:27:09 +01:00
kevinveenbirkenbach f56cfa773e **test(unit): add full unittest coverage for sufficient_storage CLI and role_resource_validation**
https://chatgpt.com/share/696e3d20-276c-800f-87a7-a7052989ffe4
2026-01-19 19:29:08 +01:00
kevinveenbirkenbach 98e44c2b99 Speed up piepline debugging 2026-01-19 18:39:50 +01:00
kevinveenbirkenbach 5e9a225881 Debugging github workflow pipeline 2026-01-19 18:38:34 +01:00
kevinveenbirkenbach f6005c9daa ci: wrap app discovery into Make target and run inside infinito container
Move the full app discovery step into a dedicated Make target (ci-discover-output)
and execute discover.sh inside the infinito CI container to ensure a consistent
runtime environment.

This removes inline discovery logic from GitHub Actions workflows and prevents
host-side dependency issues (e.g. missing Python modules or jq mismatches).

- Add ci-discover-output Make target
- Run scripts/ci/discover.sh inside infinito container
- Simplify all test-deploy workflows to use the new wrapper
- Keep ONLY_APP override and GITHUB_OUTPUT handling intact

https://chatgpt.com/share/696e3d20-276c-800f-87a7-a7052989ffe4
2026-01-19 15:17:38 +01:00
kevinveenbirkenbach 3a7508fbf1 ci: rename make up/down targets to docker-up/docker-down in workflows and Makefile
Replaced all usages of `make up` with `make docker-up` in GitHub Actions workflows.
Renamed Makefile targets:
- up      -> docker-up
- down    -> docker-down
- stop    -> docker-stop
- added docker-restart

This makes the Docker-specific intent explicit and avoids ambiguity with other potential `up` targets.

https://chatgpt.com/share/696bb966-ee90-800f-a5d2-e419cc423cc4
2026-01-17 17:31:25 +01:00
kevinveenbirkenbach b978679531 Deactivated tests which aren't required for the MVP 2026-01-17 00:33:26 +01:00
kevinveenbirkenbach 65ed2c8e4a Build images already early so that all workflow runners are utilized 2026-01-16 21:06:17 +01:00
kevinveenbirkenbach 4f196fca71 Activated the testing for all distros, they are anyhow in the same runner 2026-01-16 15:56:16 +01:00
kevinveenbirkenbach 011613c3ec ci(orchestrator): introduce quality gates and staged deploy pipeline
- Rename code-analyses workflow to ci-orchestrator
- Add lint, test and install collector gates
- Enforce code-quality-gate before building CI images
- Stage deploy pipeline via DNS → server → universal → workstation
- Gate installation tests behind quality checks
- Simplify final done collector to depend on deploy + install gates

This establishes a strict CI flow: quality → build → dns → deploy → install.

https://chatgpt.com/share/696a4c71-191c-800f-a601-aab6ff1762df
2026-01-16 15:34:14 +01:00
kevinveenbirkenbach 26cde20899 Test DNS for all distros 2026-01-16 14:38:22 +01:00
kevinveenbirkenbach fd983bc69c refactor(ci,network): make DNS, IP and domain configuration fully env-driven
- Introduce env.ci as single source of truth for CI networking
- Make docker-compose, CoreDNS and Docker daemon fully env-driven
- Render CoreDNS Corefile from template via envsubst
- Replace hardcoded IPs/domains with environment variables
- Integrate env-based networking into Ansible defaults
- Remove static Corefile and daemon.json

This makes DNS and networking deterministic and reproducible across
host, CoreDNS, infinito runner and Docker-in-Docker.

https://chatgpt.com/share/696a3dda-5c6c-800f-8a16-47c0c604e1e3
2026-01-16 14:30:14 +01:00
kevinveenbirkenbach 54d8997a1b ci(local): add serial test-deploy-local workflow and wire Makefile targets
- Add new test-deploy-local.yml workflow for local act runs
  - Uses env-based configuration (TEST_DEPLOY_TYPE, DISTROS, ONLY_APP)
  - Enforces serial execution via strategy.max-parallel: 1
  - Supports optional workflow_dispatch inputs for GitHub UI

- Refactor Makefile deploy targets
  - Move distro variables to top-level section
  - Add local act-based deploy flow using test-deploy-local.yml
  - Keep CI deploy flow via workflow_dispatch event payload
  - Remove deprecated rapid deploy path

This enables reliable, non-parallel local deploy testing with act
while keeping CI deploy workflows unchanged.

https://chatgpt.com/share/69692ef1-095c-800f-83cb-924fadfaa554
2026-01-15 19:16:05 +01:00
kevinveenbirkenbach 22bd1e37f9 ci: add per-ref concurrency to CI workflows and simplify push trigger
Configure build-ci-images and code-analyses to use per-ref concurrency groups
to avoid global serialization while still preventing duplicate runs per ref.

Also remove redundant tag ignore rules from the push workflow.

https://chatgpt.com/share/69691ebf-a380-800f-80fc-bd44d59e90dd
2026-01-15 18:17:42 +01:00
kevinveenbirkenbach 97cfdf3f9f ci(release): introduce daily stable promotion and unify release concurrency
- Add daily stable promotion workflow with CI-gated highest-version selection
- Ensure GHCR images exist before moving stable tag
- Retag version images to :stable without rebuild
- Unify release workflows under infinito-release concurrency group
- Remove legacy highest-version/stable-move scripts and inline logic

https://chatgpt.com/share/696909c1-781c-800f-b52d-d9f967e9698c
2026-01-15 18:03:01 +01:00
kevinveenbirkenbach 40f039551f ci: default distro matrix in code-analyses and keep push fast on arch
- Set default distros for workflow_call in code-analyses
- Remove redundant distro overrides from PR and nightly entries
- Require distros input in build-ci-images and rely on orchestrator default

https://chatgpt.com/share/696909c1-781c-800f-b52d-d9f967e9698c
2026-01-15 16:45:54 +01:00
kevinveenbirkenbach 28ec5d30a1 ci: split release workflows into dedicated concurrency groups
- Move nightly release trigger into its own concurrency group
- Serialize release-version workflow via dedicated infinito-release group
- Decouple release maintenance from main CI pipeline

https://chatgpt.com/share/696909c1-781c-800f-b52d-d9f967e9698c
2026-01-15 16:37:32 +01:00
kevinveenbirkenbach 42a7f529d1 ci: make distros configurable per entry workflow and enforce via workflow_call
- Add `distros` input to code-analyses orchestrator and forward it to build and deploy workflows
- Enforce distros via required workflow_call inputs in test-deploy-* workflows
- Restrict push and pull-request entries to arch only
- Run nightly workflows on full distro matrix
- Align nightly release cron to 00:00 UTC
2026-01-15 16:33:46 +01:00
dependabot[bot] a3105afbf0 chore(deps): bump actions/upload-artifact from 4 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-15 01:49:25 +00:00