feat: refactor config flow and directory structure
CI / load-config (push) Failing after 0s
CI / feature (push) Has been skipped
CI / main (push) Has been skipped

- Create config-provider.yml (reusable workflow, conf→JSON)
- Replace duplicated job env blocks with workflow env + fromJson
- Move provider workflows to workflows/ directory
- Move consumer scripts to .gitea/scripts/
- Move feature-env.conf to .gitea/workflows/
- Add bats-report.sh for TAP→HTML conversion
- Update ci.yml with setup→needs→with pattern
- Add ADR 0006 directory ownership
- Document cross-job config propagation in ci-pipeline-practices.md
- Remove config.yaml, scripts/load-config.sh unused
This commit is contained in:
moilanik
2026-06-13 15:18:02 +03:00
parent c4ee1229a3
commit fa4af77877
7 changed files with 120 additions and 12 deletions
+2 -2
View File
@@ -6,9 +6,9 @@ on:
jobs:
load-config:
uses: niko/gitea-ci-library/.gitea/workflows/config-provider.yml@feature/pipeline-cleanup
uses: niko/gitea-ci-library/workflows/config-provider.yml@feature/pipeline-cleanup
with:
config_path: feature-env.conf
config_path: .gitea/workflows/feature-env.conf
feature:
if: github.ref != 'refs/heads/main'