Artefacts
Artefacts are versioned outputs generated from GitHub-hosted applications.
Concepts
| Entity | Description |
|---|---|
| Application | A tracked GitHub repo + branch + path containing a pixi.toml with a generate task |
| Artefact | A single execution of an application, pinned to a commit, producing output files |
Workflow
- Link: User links a GitHub repo/branch/path via the UI
- Validate: System checks for
pixi.tomlandgeneratetask - Run: User triggers a run → API creates Artefact, submits Argo Workflow
- Execute: Argo clones repo at commit, runs
pixi run generate - Report: Workflow calls back to API with status and output file locations
- View: User views artefact status, logs, and output files in UI
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /applications | Register an application |
| GET | /applications | List all applications |
| DELETE | /applications?repo=&branch=&path= | Remove application |
| POST | /applications/artefacts/run | Trigger a new artefact run |
| GET | /applications/artefacts?repo=&branch=&path= | List artefacts |
| PATCH | /applications/artefacts/ | Update artefact status/files |
| GET | /applications/artefacts//logs | Fetch workflow logs |
Requirements
Applications must have:
pyproject.tomlorpixi.tomlin the target pathpixi.lockcommitted- A
generatetask defined in pixi