feat(dispatch): implement dispatch-workflow.sh with dispatch, poll, and timeout
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.
This commit is contained in:
moilanik
2026-06-08 16:07:35 +03:00
parent dcc51f9f5c
commit 00b99f3841
8 changed files with 460 additions and 19 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Ticket 0002: `dispatch-workflow.sh`
**Vaihe:** 2/12
**Status:** pending
**Status:** done
**Feature branch:** `feature/0002-dispatch-workflow-sh`
**TDD required:** Yes
**Feature file required:** Yes