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 / 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 / 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 / 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 / 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-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-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-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-cucumber Cucumber tests
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 / 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-cucumber Cucumber tests passed
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 / feature (push) Successful in 2m22s
CI / main (push) Has been skipped
2026-06-14 03:43:32 +03:00
niko
c422825bf0
pipeline siivous ja testikattavuuden nosto ( #9 )
...
CI / load-config (push) Successful in 16s
CI / feature (push) Has been skipped
ci-cucumber Cucumber tests passed
CI / main (push) Successful in 2m23s
Co-authored-by: moilanik <niko.moilanen@tietoevry.com >
Reviewed-on: #9
2026-06-14 03:26:44 +03:00
niko
a1d1f1e5ab
Update docs/ci-pipeline-practices.md ( #8 )
...
CI / feature (push) Has been skipped
ci-cucumber Cucumber tests passed
CI / main (push) Successful in 1m34s
Reviewed-on: #8
2026-06-13 09:47:59 +03:00
niko
f525bbdeff
Update .gitea/workflows/ci.yml ( #7 )
...
CI / feature (push) Has been skipped
ci-cucumber Cucumber tests passed
CI / main (push) Successful in 1m35s
Reviewed-on: #7
2026-06-13 09:45:30 +03:00
niko
5e9e051093
Update .gitea/workflows/ci.yml ( #6 )
...
CI / feature (push) Failing after 1s
CI / main (push) Failing after 0s
Reviewed-on: #6
2026-06-13 09:42:47 +03:00
niko
dacb8b4ef7
POC: test reusable workflow job visibility in Gitea Actions ( #5 )
...
CI / feature (push) Has been skipped
CI / main (push) Failing after 0s
Co-authored-by: moilanik <niko.moilanen@tietoevry.com >
Reviewed-on: #5
2026-06-13 09:37:47 +03:00
niko
8f1bf7e347
feat(dispatch): implement dispatch-workflow.sh with dispatch, poll, and timeout ( #4 )
...
CI — gitea-ci-library / feature (push) Failing after 1s
CI — gitea-ci-library / master (push) Has been skipped
Add dispatch-workflow.sh script that dispatches a Gitea workflow
in another repository and polls synchronously for completion.
Refactor mock-api.sh to use Python3 HTTP server with sequence
support, enabling stateful poll-response simulation in tests.
---------
Co-authored-by: moilanik <niko.moilanen@tietoevry.com >
Reviewed-on: #4
2026-06-08 16:08:55 +03:00
niko
dcc51f9f5c
merge commit muodon asetus ohje ( #3 )
...
CI — gitea-ci-library / feature (push) Failing after 0s
CI — gitea-ci-library / master (push) Has been skipped
Co-authored-by: moilanik <niko.moilanen@tietoevry.com >
Reviewed-on: #3
2026-06-08 11:41:23 +03:00
niko
1379bbf1ee
feat(scripts): implement report-status.sh with bats and cucumber tests ( #1 )
...
CI — gitea-ci-library / feature (push) Failing after 0s
CI — gitea-ci-library / master (push) Has been skipped
Co-authored-by: moilanik <niko.moilanen@tietoevry.com >
Reviewed-on: #1
2026-06-08 11:33:09 +03:00
moilanik
9a59cbc185
tiketit ja featuret vaihe 1
CI — gitea-ci-library / feature (push) Failing after 1s
CI — gitea-ci-library / master (push) Has been skipped
2026-06-08 09:34:47 +03:00
moilanik
2f1e983c9d
kehitys sykli määritelty, tdd
2026-06-08 09:34:28 +03:00
moilanik
990a645fc4
ai kontekstia
2026-06-08 06:13:09 +03:00
moilanik
66e1c98a8c
aloitus dokumentaatio
2026-06-08 06:04:49 +03:00
moilanik
92479ebb9c
first commit
2026-06-08 06:00:11 +03:00