poistettu turha pipeline tiedosto
This commit is contained in:
@@ -10,14 +10,14 @@ Consumer kutsuu provideria `uses:`-viittauksella. Ei discoveryä — polku kovak
|
||||
### Polun muodostus
|
||||
|
||||
```
|
||||
{owner}/{repo}/.gitea/workflows/ci-engine.yml@{ref}
|
||||
{owner}/{repo}/.gitea/workflows/build-feature.yml@{ref}
|
||||
```
|
||||
|
||||
| Osa | Mistä | Esimerkki (homelab) |
|
||||
|-----|-------|---------------------|
|
||||
| `owner` | Repopolun ensimmäinen osa — **käyttäjänimi tai org** | `niko` |
|
||||
| `repo` | Repon nimi | `gitea-ci-library` |
|
||||
| tiedosto | Providerin workflow | `.gitea/workflows/ci-engine.yml` |
|
||||
| tiedosto | Providerin workflow | `.gitea/workflows/build-feature.yml` |
|
||||
| `@ref` | Tag tai branch provider-repossa | `@v1` (tuotanto) |
|
||||
|
||||
**Owner ei ole org-pakotettu.** Homelabissa ei välttämättä ole organisaatiotasoa — silloin owner on
|
||||
@@ -36,7 +36,7 @@ Consumerin `ci.yml`:
|
||||
```yaml
|
||||
jobs:
|
||||
call-engine:
|
||||
uses: niko/gitea-ci-library/.gitea/workflows/ci-engine.yml@v1
|
||||
uses: niko/gitea-ci-library/.gitea/workflows/build-feature.yml@v1
|
||||
secrets: inherit
|
||||
```
|
||||
|
||||
@@ -56,7 +56,7 @@ niko/gitea-ci-library ←→ niko/gitea-ci-library (mirror tai push-mirror)
|
||||
niko/gitea-ci-library/... niko/gitea-ci-library/...
|
||||
```
|
||||
|
||||
Mirror pitää `ci-engine.yml`:n ja tagit (`v1`) saatavilla kulloisellakin palvelimella. Tämä korvaa
|
||||
Mirror pitää `build-feature.yml`:n ja tagit (`v1`) saatavilla kulloisellakin palvelimella. Tämä korvaa
|
||||
provider-repon checkout-hackit workflowissa — binding hoituu Gitean natiivilla `uses:`-mekanismilla.
|
||||
|
||||
Periaatteet: [tmp/data-flow-design.md](tmp/data-flow-design.md)
|
||||
|
||||
Reference in New Issue
Block a user