tests pipeline run attempt
This commit is contained in:
@@ -97,6 +97,38 @@ Completion criteria:
|
||||
- [x] Sprint file follows the standard template
|
||||
- [x] All tasks tracked
|
||||
|
||||
### T7 - Create local-ci-verify.yml pipeline
|
||||
Status: DONE
|
||||
Dependency: T1-T5
|
||||
Owners: Developer
|
||||
Task description:
|
||||
- Create `.gitea/workflows/local-ci-verify.yml` — a `workflow_dispatch`-only pipeline that validates the local CI scaffolding.
|
||||
- Three jobs: `validate-scaffolding` (check files exist, lint JSON), `build-ci-image` (build Dockerfile.ci), `dry-run-smoke` (act list + dry-run against archived workflows).
|
||||
- Inputs: `workflow` (optional archived workflow to dry-run), `dry_run` (boolean, default true).
|
||||
|
||||
Completion criteria:
|
||||
- [x] Workflow file exists at `.gitea/workflows/local-ci-verify.yml`
|
||||
- [x] Only triggered by `workflow_dispatch`
|
||||
- [x] Three jobs with correct dependency chain
|
||||
- [x] Supports optional dry-run of user-specified archived workflow
|
||||
|
||||
### T8 - Archive all existing workflow files
|
||||
Status: DONE
|
||||
Dependency: T7
|
||||
Owners: Developer
|
||||
Task description:
|
||||
- Move all 118 `.yml`/`.yaml` workflow files from `.gitea/workflows/` to `.gitea/workflows-archived/`.
|
||||
- Keep only `local-ci-verify.yml` and `templates/` subdirectory in `.gitea/workflows/`.
|
||||
- Update `.gitea/README.md` to document the archive state, active workflows, and restoration instructions.
|
||||
- Update `devops/ci-local/README.md` with pipeline trigger instructions.
|
||||
|
||||
Completion criteria:
|
||||
- [x] 118 files moved to `.gitea/workflows-archived/`
|
||||
- [x] Only `local-ci-verify.yml` remains in `.gitea/workflows/`
|
||||
- [x] `templates/` subdirectory preserved in `.gitea/workflows/`
|
||||
- [x] `.gitea/README.md` updated with archive note, active workflows section, and restoration instructions
|
||||
- [x] `devops/ci-local/README.md` updated with pipeline section
|
||||
|
||||
## Execution Log
|
||||
| Date (UTC) | Update | Owner |
|
||||
| --- | --- | --- |
|
||||
@@ -125,6 +157,9 @@ Completion criteria:
|
||||
| 15 | `run-act.sh` syntax check (`bash -n`) | PASS | No syntax errors |
|
||||
| 16 | `.env.local` auto-creation | PASS | Copied from template on first `run-act.ps1` run |
|
||||
|
||||
| 2026-02-01 | T7: Created `local-ci-verify.yml` with 3-job pipeline (validate-scaffolding, build-ci-image, dry-run-smoke). | Developer |
|
||||
| 2026-02-01 | T8: Archived 118 workflow files to `.gitea/workflows-archived/`. Updated `.gitea/README.md` and `devops/ci-local/README.md`. | Developer |
|
||||
|
||||
## Decisions & Risks
|
||||
- Event payloads use minimal fields; some workflows may expect additional fields (e.g., `repository`, `sender`). Developers can extend the JSON files as needed.
|
||||
- `.env.local.template` covers the most commonly referenced vars; module-specific vars may need to be added over time.
|
||||
|
||||
Reference in New Issue
Block a user