Files
gitea-ci-library/.gitea/workflows/ci.yml
T
moilanik 9a59cbc185
CI — gitea-ci-library / feature (push) Failing after 1s
CI — gitea-ci-library / master (push) Has been skipped
tiketit ja featuret vaihe 1
2026-06-08 09:34:47 +03:00

34 lines
895 B
YAML

# .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
#
# Näin kirjasto testaa itse itsensä — sama mekanismi
# kuin mitä mikropalvelut käyttävät.
name: CI — gitea-ci-library
on:
push:
branches: ["**"]
workflow_dispatch:
jobs:
# --- Feature-branch: testit + raportit, ei konttia ---
feature:
if: github.ref != 'refs/heads/master'
uses: ./.gitea/workflows/ci-feature.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
secrets: inherit
with:
config-file: ci-flow-values.yaml