23874f59b6
- Rename build-feature.yml → quality-gate.yml (merge-portti) - Create build_publish-artifact.yml: check → qg → build → push → tag - Add minimal Dockerfile for dogfood container build - Simplify quality-gate.yml cucumber job (remove prepare step, TOOL_OK) - Standardize test scripts in package.json for Docker-based local + CI runs - Update ci.yml: main branch uses build_publish-artifact.yml - Update docs/workflows.md: feature section rewritten with provider model - Add .gitignore entries for coverage/ and reports/
32 lines
869 B
YAML
32 lines
869 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
load-config:
|
|
uses: niko/gitea-ci-library/.gitea/workflows/config-provider.yml@main
|
|
with:
|
|
config_path: .gitea/workflows/gitea-env.conf
|
|
|
|
feature:
|
|
if: github.ref != 'refs/heads/main'
|
|
needs: [load-config]
|
|
uses: niko/gitea-ci-library/.gitea/workflows/quality-gate.yml@feture/docker-kyky
|
|
secrets: inherit
|
|
with:
|
|
env_json: ${{ needs.load-config.outputs.env_json }}
|
|
bats-image: bats/bats:latest
|
|
cucumber-node-image: node:22
|
|
|
|
main:
|
|
if: github.ref == 'refs/heads/main'
|
|
needs: [load-config]
|
|
uses: niko/gitea-ci-library/.gitea/workflows/build_publish-artifact.yml@feture/docker-kyky
|
|
secrets: inherit
|
|
with:
|
|
env_json: ${{ needs.load-config.outputs.env_json }}
|
|
bats-image: bats/bats:latest
|
|
cucumber-node-image: node:22
|