Practice sequence
Work in VS Code with a scratch branch. For each experiment, write down your prediction before pushing. Compare it with the result in the workflow UI or logs. The next exercise for an existing basic Gitea workflow is 1.1.
1. See the execution model
| Lab | One change | Evidence to keep |
|---|---|---|
| 1.1 | Add the dependency graph from F03 | Three job entries and the start time of the dependent job |
| 1.2 | Make lint return exit 1 | Failed lint, independent test result and skipped package |
| 1.3 | Restore lint and try the timed command in G07 | Two timestamp intervals and whether they overlapped |
| 1.4 | Add a step value from F05 | The downstream step sees the value within the same job |
2. Build and preserve evidence
| Lab | One change | Evidence to keep |
|---|---|---|
| 2.1 | Run a real locked test with G02 | A passing pytest run and a lockfile mismatch failure on a scratch branch |
| 2.2 | Package a real Python wheel with G03 | Wheel filename and the log proving both required jobs passed |
| 2.3 | Run the Gitea artifact probe G04 | Runner version, downloadable file and successful read job |
| 2.4 | Run T01 on GitHub | A job result for each requested Python version |
| 2.5 | Pass the wheel to a fresh job with A01 | The download and the isolated import result |
3. Release and recover
| Lab | One change | Evidence to keep |
|---|---|---|
| 3.1 | Smoke-test a disposable Docker container using B02 | A healthy response and a deliberate unhealthy response |
| 3.2 | Publish from the trusted branch using the capstone | An approved commit, GHCR tag and digest. A failed test and a PR should both skip the publish job. |
| 3.3 | Deploy a verified digest to disposable staging with D02 or the capstone's local flow | Deployment image, rollout result and smoke response |
| 3.4 | Restore the previous verified digest with D05 | Restored image, rollout elapsed time and a passing smoke test |
4. Save a result
Record the commit or run link, what you changed, your prediction, the first meaningful log line and the outcome. A lab is ready to move on when you can explain the failure and reproduce the fix without changing unrelated steps.