POC: test reusable workflow job visibility in Gitea Actions
CI — gitea-ci-library / feature (push) Failing after 1m18s
CI — gitea-ci-library / master (push) Has been skipped

This commit is contained in:
moilanik
2026-06-08 17:22:26 +03:00
parent 8f1bf7e347
commit d76fc9acc2
4 changed files with 157 additions and 35 deletions
+5 -13
View File
@@ -1,12 +1,10 @@
# .gitea/workflows/ci.yml — Kirjaston oma CI (eat your own dogfood)
#
# Tämä workflow on kirjaston ENSIMMÄINEN kuluttaja.
# Jokainen push ajaa kirjaston omat reusable workflowt:
# - feature-branch → ci-feature.yml
# - master-branch → ci-master.yml
# Jokainen push ajaa kirjaston omat reusable workflowt.
#
# Näin kirjasto testaa itse itsensä — sama mekanismi
# kuin mitä mikropalvelut käyttävät.
# POC: testataan ci-engine-test.yml — nähdään miten Gitea
# raportoi reusable workflow'n sisäiset jobit.
name: CI — gitea-ci-library
@@ -16,18 +14,12 @@ on:
workflow_dispatch:
jobs:
# --- Feature-branch: testit + raportit, ei konttia ---
feature:
if: github.ref != 'refs/heads/master'
uses: ./.gitea/workflows/ci-feature.yml
uses: ./.gitea/workflows/ci-engine-test.yml
secrets: inherit
with:
config-file: ci-flow-values.yaml
# --- Master-branch: build + kontti + test flow ---
master:
if: github.ref == 'refs/heads/master'
uses: ./.gitea/workflows/ci-master.yml
uses: ./.gitea/workflows/ci-engine-test.yml
secrets: inherit
with:
config-file: ci-flow-values.yaml