tests pipeline run attempt
This commit is contained in:
@@ -2,17 +2,78 @@
|
||||
|
||||
Comprehensive CI/CD infrastructure for the StellaOps platform using Gitea Actions.
|
||||
|
||||
> **Note (2026-02-01):** All 118 original workflow files have been moved to
|
||||
> `.gitea/workflows-archived/`. Only the `local-ci-verify.yml` verification
|
||||
> pipeline remains active. See [Archived Workflows](#archived-workflows) below
|
||||
> for details and restoration instructions.
|
||||
|
||||
## Quick Reference
|
||||
|
||||
| Resource | Location |
|
||||
|----------|----------|
|
||||
| Workflows | `.gitea/workflows/` (96 workflows) |
|
||||
| Active workflows | `.gitea/workflows/` (1 workflow) |
|
||||
| Archived workflows | `.gitea/workflows-archived/` (118 workflows) |
|
||||
| Reusable templates | `.gitea/workflows/templates/` |
|
||||
| Scripts | `.gitea/scripts/` |
|
||||
| Documentation | `.gitea/docs/` |
|
||||
| DevOps Configs | `devops/` |
|
||||
| Release Manifests | `devops/releases/` |
|
||||
|
||||
## Workflow Categories
|
||||
## Active Workflows
|
||||
|
||||
| Workflow | File | Trigger | Description |
|
||||
|----------|------|---------|-------------|
|
||||
| Local CI Verification | `local-ci-verify.yml` | `workflow_dispatch` | Validates local CI scaffolding, builds the CI image, and smoke-tests archived workflows using act |
|
||||
|
||||
### How to run
|
||||
|
||||
Trigger from the Gitea UI (**Actions > Local CI Verification > Run workflow**) or via API:
|
||||
|
||||
```bash
|
||||
curl -X POST \
|
||||
-H "Authorization: token $GITEA_TOKEN" \
|
||||
"https://git.stella-ops.org/api/v1/repos/<org>/<repo>/actions/workflows/local-ci-verify.yml/dispatches" \
|
||||
-d '{"ref":"main","inputs":{"workflow":"test-matrix.yml","dry_run":"true"}}'
|
||||
```
|
||||
|
||||
Inputs:
|
||||
- **workflow** (optional): archived workflow file to dry-run (e.g. `test-matrix.yml`)
|
||||
- **dry_run** (default `true`): pass `-n` to act
|
||||
|
||||
## Archived Workflows
|
||||
|
||||
All 118 production workflows have been moved to `.gitea/workflows-archived/` to
|
||||
decouple active CI from the large workflow catalog while the local CI
|
||||
scaffolding is validated.
|
||||
|
||||
### Restoring a workflow
|
||||
|
||||
To reactivate an archived workflow, move it back to `.gitea/workflows/`:
|
||||
|
||||
```bash
|
||||
# Restore a single workflow
|
||||
mv .gitea/workflows-archived/test-matrix.yml .gitea/workflows/
|
||||
|
||||
# Restore all workflows
|
||||
mv .gitea/workflows-archived/*.yml .gitea/workflows/
|
||||
mv .gitea/workflows-archived/*.yaml .gitea/workflows/
|
||||
```
|
||||
|
||||
### Running archived workflows locally with act
|
||||
|
||||
Archived workflows can still be run locally — act accepts any path:
|
||||
|
||||
```bash
|
||||
act -l -W .gitea/workflows-archived/test-matrix.yml
|
||||
act -W .gitea/workflows-archived/test-matrix.yml -n
|
||||
```
|
||||
|
||||
Or use the `local-ci-verify.yml` pipeline with the `workflow` input to dry-run
|
||||
an archived workflow via Gitea Actions.
|
||||
|
||||
## Archived Workflow Reference
|
||||
|
||||
The following tables document all 118 archived workflows by category.
|
||||
|
||||
### Core Build & Test
|
||||
|
||||
|
||||
0
.gitea/workflows/docs.yml → .gitea/workflows-archived/docs.yml
Executable file → Normal file
0
.gitea/workflows/docs.yml → .gitea/workflows-archived/docs.yml
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user