diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-07 19:22:40 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-07 19:22:40 +0900 |
| commit | e701c2d5ba97010374d514e89ed381186e1fe9db (patch) | |
| tree | 37f2e539097f250fc3e3a845f485061b7bb1d534 /internal/workflows/test.go | |
| parent | eb25807affba15397851e08f2e848245c016ce7d (diff) | |
internal/workflows: remove dedicated dist jobs
It is much easier to obtain these dist tarballs via cmd/mbf, and gitea
has been acting up again, taking minutes of retrying before finally
accepting the artifacts. This change removes them altogether and reverts
to contacting the cmd/mbf CI service.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/workflows/test.go')
| -rw-r--r-- | internal/workflows/test.go | 45 |
1 files changed, 3 insertions, 42 deletions
diff --git a/internal/workflows/test.go b/internal/workflows/test.go index 6cea7842..5ca795c6 100644 --- a/internal/workflows/test.go +++ b/internal/workflows/test.go @@ -33,10 +33,9 @@ var _ = (&Workflow{ Name: "Sandbox", On: "rosa", - Needs: []string{"dist"}, Steps: []Step{ checkout, - download, + dist, install, newTestsuite("hakurei/testsuite/sandbox", "unshare -n "), }, @@ -46,10 +45,9 @@ var _ = (&Workflow{ Name: "Sandbox (with race instrument)", On: "rosa", - Needs: []string{"dist-race"}, Steps: []Step{ checkout, - _download, + _dist, install, newTestsuite("hakurei/testsuite/sandbox", "unshare -n "), }, @@ -59,10 +57,9 @@ var _ = (&Workflow{ Name: "ShareFS", On: "rosa", - Needs: []string{"dist"}, Steps: []Step{ checkout, - download, + dist, install, { @@ -83,41 +80,5 @@ var _ = (&Workflow{ newUploadArtifact("test output", "fs_mark"), }, }}, - - {"dist", Job{ - Name: "Create distribution", - On: "rosa", - - Outputs: []KV[string]{ - {"rev", "${{ steps.dist.outputs.rev }}"}, - }, - - Steps: []Step{ - checkout, - newCIRequest("distribution", "dist -o result", "dist"), - newUploadArtifact( - "distribution", - "dist-${{ steps.dist.outputs.rev }}", - ), - }, - }}, - - {"dist-race", Job{ - Name: "Create distribution (with race instrument)", - On: "rosa", - - Outputs: []KV[string]{ - {"rev", "${{ steps.dist.outputs.rev }}"}, - }, - - Steps: []Step{ - checkout, - newCIRequest("distribution", "race -o result", "dist"), - newUploadArtifact( - "distribution", - "dist-${{ steps.dist.outputs.rev }}-race", - ), - }, - }}, }, }).mustWriteFile("test") |
