tiketit ja featuret vaihe 1
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# .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
|
||||
Reference in New Issue
Block a user