katetaan puuttuva testit
CI / load-config (push) Successful in 11s
ci-cucumber Cucumber tests passed
ci-bats Bats tests
ci-build Build complete
CI / feature (push) Successful in 2m15s
CI / main (push) Has been skipped

This commit is contained in:
moilanik
2026-06-13 19:39:01 +03:00
parent 18a6425e9e
commit 7b99392dd7
13 changed files with 270 additions and 13 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ mekanismin ketjuttamista:
Ketju toimii näin:
```
feature-env.conf → config-provider.yml → env_json (yksi JSON-string)
gitea-env.conf → config-provider.yml → env_json (yksi JSON-string)
(1) (2)
ci.yml with: env_json
@@ -80,7 +80,7 @@ feature-env.conf → config-provider.yml → env_json (yksi JSON-string)
```
Vaiheet:
1. Consumer määrittelee arvot `feature-env.conf`:ssä (KEY=VALUE)
1. Consumer määrittelee arvot `gitea-env.conf`:ssä (KEY=VALUE)
2. `config-provider.yml` lukee confin ja tuottaa yhden JSON-stringin outputina
3. `ci.yml` välittää JSONin `needs` + `with:` -ketjulla
4. `build-feature.yml` purkaa arvot workflow `env:`-tasolle `fromJson()`:lla