Commit Graph

13 Commits

Author SHA1 Message Date
moilanik ce28d9ae41 fix: restore bashcov coverage instrumentation
CI / Load gitea-env.conf to pipeline env (push) Successful in 13s
ci-cucumber Cucumber tests
ci-bats Bats tests
ci-build Build complete
CI / Quality Gate (push) Successful in 2m18s
CI / Build & Push Artifact (push) Has been skipped
Add gem install bashcov and bashcov -- bats tests/ to generate
coverage data that bats-coverage.sh extracts from the volume.
2026-06-14 08:30:21 +03:00
moilanik 9f79e3733e fix: propagate docker exit code using volume-based approach
CI / Load gitea-env.conf to pipeline env (push) Successful in 11s
ci-cucumber Cucumber tests
ci-bats Bats tests
ci-build Build complete
CI / Quality Gate (push) Successful in 1m52s
CI / Build & Push Artifact (push) Has been skipped
Replace tar|docker|tee pipeline with docker volume + redirect pattern
from master. 'docker run > file 2>&1' eliminates the pipe, so 0
directly captures the container exit code. Separate commit status
step with if: always() ensures status is reported regardless of
test outcome.
2026-06-14 08:27:32 +03:00
moilanik ba94009822 fix: propagate docker exit code from bats pipeline with pipefail
CI / Load gitea-env.conf to pipeline env (push) Successful in 12s
ci-cucumber Cucumber tests
ci-bats Bats tests
ci-build Build complete
CI / Quality Gate (push) Successful in 1m52s
CI / Build & Push Artifact (push) Has been skipped
Pipeline 'tar | docker | tee' previously always returned tee's exit
code (0), masking test failures in the bats job. set -o pipefail
makes 0 capture the last failed command's exit code instead.
2026-06-14 08:17:50 +03:00
moilanik 37c0428fb5 asgrasg
CI / Load gitea-env.conf to pipeline env (push) Successful in 12s
ci-cucumber Cucumber tests
ci-bats Bats tests
ci-build Build complete
CI / Quality Gate (push) Successful in 1m44s
CI / Build & Push Artifact (push) Has been skipped
2026-06-14 08:03:04 +03:00
moilanik cee05f7987 bats kontin kutsu muutos
CI / Load gitea-env.conf to pipeline env (push) Successful in 10s
ci-cucumber Cucumber tests
ci-bats Bats tests
CI / Quality Gate (push) Failing after 1m20s
CI / Build & Push Artifact (push) Has been skipped
2026-06-14 07:57:09 +03:00
moilanik b685f3616e fix(quality-gate): tee bats output for debug visibility
CI / Load gitea-env.conf to pipeline env (push) Successful in 13s
ci-bats Bats tests
ci-cucumber Cucumber tests
CI / Quality Gate (push) Failing after 1m20s
CI / Build & Push Artifact (push) Has been skipped
Replace `>` redirect with `2>&1 | tee` so bats test output
appears in the pipeline log while still saving to results.txt.

chore(ci.yml): name load-config and main jobs for clarity
2026-06-14 07:45:20 +03:00
moilanik afe8a0fe38 bats moun non read only
CI / load-config (push) Successful in 11s
ci-bats Bats tests
ci-cucumber Cucumber tests
CI / Quality Gate (push) Failing after 1m15s
CI / main (push) Has been skipped
2026-06-14 07:36:34 +03:00
moilanik 3e7e2e7473 alsödgkhölaihgd
CI / load-config (push) Successful in 11s
ci-bats Bats tests
ci-cucumber Cucumber tests
CI / feature (push) Failing after 1m16s
CI / main (push) Has been skipped
2026-06-14 07:24:40 +03:00
moilanik 8ce17d788b exit code nosto
CI / load-config (push) Successful in 14s
ci-cucumber Cucumber tests
CI / feature (push) Failing after 1m7s
CI / main (push) Has been skipped
2026-06-14 07:10:17 +03:00
moilanik 92696e91a4 fix: propagate tool errors through quality gate + cucumber shell fix
CI / load-config (push) Successful in 10s
ci-bats Bats tests
ci-cucumber Cucumber tests
ci-build Build complete
CI / feature (push) Successful in 1m32s
CI / main (push) Has been skipped
- Remove bashcov from CI bats job (crashed on read-only fs, masked BATS_EXIT)
- Remove stale bats-cov volume (no longer needed)
- Add shell: bash to commit-status steps (sh doesn't support ${VAR:0:8})
- set +e first in bats step to catch all errors (docker pull, apk, etc.)
- Tool error → BATS_EXIT != 0 → commit-status failure → PR merge blocked
2026-06-14 06:18:56 +03:00
moilanik 38bba21cfd tool errror nosto
CI / load-config (push) Successful in 11s
ci-bats Bats tests
CI / feature (push) Failing after 1m22s
CI / main (push) Has been skipped
2026-06-14 06:07:42 +03:00
moilanik 23874f59b6 feat: implement quality-gate and publish-artifact pipelines
CI / load-config (push) Successful in 13s
CI / main (push) Has been skipped
ci-bats Bats tests
ci-cucumber Cucumber tests passed
ci-build Build complete
CI / feature (push) Successful in 2m6s
- 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/
2026-06-14 05:43:15 +03:00
moilanik 1128545d6b default pipeline on quality-gate
CI / load-config (push) Successful in 10s
ci-cucumber Cucumber tests passed
ci-bats Bats tests
ci-build Build complete
CI / feature (push) Successful in 2m22s
CI / main (push) Has been skipped
2026-06-14 03:43:32 +03:00