käytetään omia kontteja, eikä rakenneta lennosta! #16

Merged
niko merged 1 commits from feature/ci-container2 into main 2026-06-16 10:17:53 +03:00
4 changed files with 5 additions and 7 deletions
Showing only changes of commit 69a2649d83 - Show all commits
+1 -1
View File
@@ -41,7 +41,7 @@ jobs:
docker run --rm \
-v bats-workspace:/data \
--entrypoint bash ${{ inputs.bats-image }} \
-c 'apk add -q lsof python3 jq curl ruby && cd /data && gem install bashcov -v 3.3.0 2>&1 | tail -1 && bashcov -- bats tests/' \
-c 'cd /data && bashcov -- bats tests/' \
> "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1
BATS_EXIT=$?
bash .ci/.gitea/scripts/bats-coverage.sh bats-workspace "reports/${GITHUB_SHA:0:8}/bats"
@@ -36,8 +36,6 @@ jobs:
id: cucumber-tests
shell: bash
run: |
apt-get update -qq && apt-get install -y -qq --no-install-recommends lsof jq
npm install @cucumber/cucumber > /dev/null 2>&1
mkdir -p "reports/${GITHUB_SHA:0:8}/cucumber"
set +e
npx cucumber-js \
+2 -2
View File
@@ -20,7 +20,7 @@ jobs:
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
bats-image: bats/bats:latest
bats-image: gitea.app.keskikuja.site/niko/ci-bats:latest
cucumber:
name: Cucumber tests
@@ -29,7 +29,7 @@ jobs:
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
cucumber-node-image: node:22
cucumber-node-image: gitea.app.keskikuja.site/niko/ci-cucumber:latest
report-summary:
name: Report Summary
+2 -2
View File
@@ -29,7 +29,7 @@ jobs:
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
bats-image: bats/bats:latest
bats-image: gitea.app.keskikuja.site/niko/ci-bats:latest
cucumber:
name: Cucumber tests
@@ -39,7 +39,7 @@ jobs:
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
cucumber-node-image: node:22
cucumber-node-image: gitea.app.keskikuja.site/niko/ci-cucumber:latest
build-push:
name: Build & Push Docker