katetaan puuttuva testit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user