kokeillaan ilman quality gate
This commit is contained in:
@@ -89,18 +89,19 @@ jobs:
|
||||
if: failure()
|
||||
run: bash scripts/report-status.sh failure "Check version FAILED" ci-check
|
||||
|
||||
quality-gate:
|
||||
needs: [check]
|
||||
uses: niko/gitea-ci-library/.gitea/workflows/quality-gate.yml@main
|
||||
secrets: inherit
|
||||
with:
|
||||
env_json: ${{ inputs.env_json }}
|
||||
bats-image: ${{ inputs.bats-image }}
|
||||
cucumber-node-image: ${{ inputs.cucumber-node-image }}
|
||||
# quality-gate:
|
||||
# needs: [check]
|
||||
# uses: niko/gitea-ci-library/.gitea/workflows/quality-gate.yml@main
|
||||
# secrets: inherit
|
||||
# with:
|
||||
# env_json: ${{ inputs.env_json }}
|
||||
# bats-image: ${{ inputs.bats-image }}
|
||||
# cucumber-node-image: ${{ inputs.cucumber-node-image }}
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [check, quality-gate]
|
||||
# needs: [check, quality-gate]
|
||||
needs: [check]
|
||||
# LÖYSÄTTY EHTO: Vaaditaan vain, että check-job meni onnistuneesti läpi.
|
||||
# Quality gate vastuulla on räjäyttää koko job jos se ei mene läpi!
|
||||
# Tämä sallii sen, että quality-gate voi olla Gitean muuttujissa tyhjä, eikä build-job enää ohitu (skip).
|
||||
|
||||
Reference in New Issue
Block a user