Compare commits

...

2 Commits

Author SHA1 Message Date
niko 153205be40 cucumber kontin konf (#17)
CI Main / Load example-gitea-env.conf to pipeline env (push) Successful in 18s
CI Main / Check existing artifact (push) Successful in 12s
unit-tests Link to Bats reports
CI Main / Bats tests (push) Successful in 1m36s
acc-tests Link to Cucumber reports
CI Main / Cucumber tests (push) Successful in 48s
ci-docker-build-push Docker build & push 0.2.5 OK
CI Main / Build & Push Docker (push) Successful in 31s
CI Main / Report Summary (push) Successful in 3s
CI Main / Move provider version tag (push) Successful in 10s
Co-authored-by: moilanik <niko.moilanen@tietoevry.com>
Reviewed-on: #17
2026-06-16 13:24:29 +03:00
niko f3a54d6ed3 käytetään omia kontteja, eikä rakenneta lennosta! (#16)
CI Main / Load example-gitea-env.conf to pipeline env (push) Successful in 20s
CI Main / Check existing artifact (push) Successful in 11s
unit-tests Link to Bats reports
CI Main / Bats tests (push) Successful in 1m37s
acc-tests Link to Cucumber reports
CI Main / Cucumber tests (push) Failing after 39s
CI Main / Build & Push Docker (push) Has been skipped
CI Main / Report Summary (push) Successful in 5s
CI Main / Move provider version tag (push) Has been skipped
Co-authored-by: moilanik <niko.moilanen@tietoevry.com>
Reviewed-on: #16
2026-06-16 10:17:53 +03:00
5 changed files with 6 additions and 7 deletions
+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
+1
View File
@@ -4,3 +4,4 @@ RUN apt-get update -qq && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
npm install -g @cucumber/cucumber
ENV NODE_PATH=/usr/local/lib/node_modules