@@ -1,24 +0,0 @@
|
|||||||
# ci-engine-test.yml — POC: testaa kuinka Gitea raportoi reusable workflow'n jobit
|
|
||||||
#
|
|
||||||
# Tämä on väliaikainen testimoottori. Poistetaan POC:n jälkeen.
|
|
||||||
# Tarkistetaan näkyykö commitissa:
|
|
||||||
# - ci-engine-test.yml / hello-one
|
|
||||||
# - ci-engine-test.yml / hello-two
|
|
||||||
# vai pelkkä yksi check kutsuvan jobin nimellä.
|
|
||||||
|
|
||||||
name: CI Engine Test
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_call:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
hello-one:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: echo "hello one"
|
|
||||||
|
|
||||||
hello-two:
|
|
||||||
needs: hello-one
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: echo "hello two"
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
name: CI Engine
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
hello:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Provider engine reachable
|
||||||
|
run: echo "ci-engine (provider) running via uses: binding"
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
# ci-smoke-test.yml — absolute minimaalinen testi: toimiiko Gitea Actions lainkaan
|
|
||||||
name: Smoke test
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: ["**"]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
one:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: echo "smoke test one"
|
|
||||||
two:
|
|
||||||
needs: one
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: echo "smoke test two"
|
|
||||||
# trigger 1780936099
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["**"]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
call-engine:
|
||||||
|
uses: niko/gitea-ci-library/.gitea/workflows/ci-engine.yml@plan/0003-alkaa-käyttämään-itseään-commit-raportti
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# .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.
|
|
||||||
#
|
|
||||||
# POC: testataan ci-engine-test.yml — nähdään miten Gitea
|
|
||||||
# raportoi reusable workflow'n sisäiset jobit.
|
|
||||||
|
|
||||||
name: CI — gitea-ci-library
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: ["**"]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
feature:
|
|
||||||
if: github.ref != 'refs/heads/master'
|
|
||||||
uses: niko/gitea-ci-library/.gitea/workflows/ci-engine-test.yml@plan/0003-alkaa-käyttämään-itseään-commit-raportti
|
|
||||||
secrets: inherit
|
|
||||||
|
|
||||||
master:
|
|
||||||
if: github.ref == 'refs/heads/master'
|
|
||||||
uses: niko/gitea-ci-library/.gitea/workflows/ci-engine-test.yml@plan/0003-alkaa-käyttämään-itseään-commit-raportti
|
|
||||||
secrets: inherit
|
|
||||||
Reference in New Issue
Block a user