Commit 9a48fb245b

9a48fb245bad32314ea1ca03e7084932ba8b1d7f

parent: 9717f95145

Unsigned ci/accessibility: success

cmc <hello@cleberg.net> · 2026-11-16 21:33 UTC

Drop builds/swift-ci.yml (!17)

The builds.sr.ht manifest has not run since the repo moved off sr.ht: its
`sources:` points at the GitHub mirror, and builds.sr.ht only triggers from a
git.sr.ht repo. `gitbay repo show` lists one mirror, the GitHub push mirror, so
there is nothing to trigger it.

Its four tasks are covered or obsolete: `security-secrets` (gitleaks) by the
instance's `gitbay-security` job and qlty's trufflehog plugin;
`repo-structure-check` and `xcode-project-check` assert files the build would
fail without anyway; `install-swift` built nothing on its own.

Phase 0's note in ROADMAP.md updated to match. The struck-through
`repo-structure-check` entry above it keeps its reference, since it records a
fix that happened.

Layout: unified · split

ROADMAP.md +2 −2
@@ -52,8 +52,8 @@ Nothing downstream is trustworthy until the build badge means something.
52 to `.gitbay/ci.yml`, so the test plan now runs nowhere in CI: only in Xcode or 52 to `.gitbay/ci.yml`, so the test plan now runs nowhere in CI: only in Xcode or
53 `xcodebuild test -scheme Hutch` locally. gitbay CI runs the accessibility check 53 `xcodebuild test -scheme Hutch` locally. gitbay CI runs the accessibility check
54 and the weekly man-page sync, and the instance's own `gitbay-security` job 54 and the weekly man-page sync, and the instance's own `gitbay-security` job
55 covers secret scanning. `builds/swift-ci.yml` is still in the tree, but the 55 covers secret scanning, alongside qlty's trufflehog. builds.sr.ht runs nothing
56 repo has no sr.ht remote for builds.sr.ht to trigger from. Phase 0's gate is 56 here: the repo has no sr.ht remote for it to trigger from. Phase 0's gate is
57 open again, and closing it still needs a macOS runner. 57 open again, and closing it still needs a macOS runner.
58 58
59Turning the gate on first required making the suite green. All 214 tests had 59Turning the gate on first required making the suite green. All 214 tests had
builds/swift-ci.yml deleted −80
@@ -1,80 +0,0 @@
1image: ubuntu/lts
2
3packages:
4 - ca-certificates
5 - curl
6 - git
7 - gnupg2
8 - libcurl4-openssl-dev
9 - libncurses6
10 - libpython3-dev
11 - libsqlite3-0
12 - libxml2-dev
13 - libz3-dev
14 - pkg-config
15 - zlib1g-dev
16
17sources:
18 - https://github.com/krazywarez/hutch
19
20environment:
21 SWIFT_VERSION: 6.2.4
22 SWIFT_DIR: ubuntu2404
23 SWIFT_LABEL: ubuntu24.04
24 SWIFT_BASE: swift-6.2.4-RELEASE-ubuntu24.04
25 SWIFT_HOME: /home/build/.local/swift/swift-6.2.4-RELEASE-ubuntu24.04
26
27tasks:
28 - install-swift: |
29 set -euo pipefail
30 cd /tmp
31
32 SWIFT_URL="https://download.swift.org/swift-${SWIFT_VERSION}-release/${SWIFT_DIR}/swift-${SWIFT_VERSION}-RELEASE/${SWIFT_BASE}.tar.gz"
33 SIG_URL="${SWIFT_URL}.sig"
34
35 curl -fL -o swift.tar.gz "$SWIFT_URL"
36 curl -fL -o swift.tar.gz.sig "$SIG_URL"
37
38 # Import Swift 6.x release signing key
39 gpg --batch --keyserver hkp://keyserver.ubuntu.com --recv-keys \
40 '52BB7E3DE28A71BE22EC05FFEF80A866B47A981F'
41
42 gpg --verify swift.tar.gz.sig swift.tar.gz
43
44 mkdir -p "$HOME/.local/swift"
45 tar -xzf swift.tar.gz -C "$HOME/.local/swift"
46
47 export PATH="${SWIFT_HOME}/usr/bin:$PATH"
48 swift --version
49
50 - security-secrets: |
51 set -euo pipefail
52
53 VERSION=8.24.2
54 ARCHIVE="gitleaks_${VERSION}_linux_x64.tar.gz"
55 URL="https://github.com/gitleaks/gitleaks/releases/download/v${VERSION}/${ARCHIVE}"
56
57 mkdir -p "$HOME/.local/bin"
58
59 cd /tmp
60 curl -fL -o gitleaks.tar.gz "$URL"
61 tar -xzf gitleaks.tar.gz
62 install -m 0755 gitleaks "$HOME/.local/bin/gitleaks"
63
64 export PATH="$HOME/.local/bin:$PATH"
65
66 cd "$HOME/hutch"
67 gitleaks git --redact --verbose .
68
69 - repo-structure-check: |
70 set -euo pipefail
71 cd "$HOME/hutch"
72
73 test -f "Hutch.xcodeproj/project.pbxproj"
74 test -f "README.org"
75
76 - xcode-project-check: |
77 set -euo pipefail
78 cd "$HOME/hutch"
79
80 grep -q "PBXProject" Hutch.xcodeproj/project.pbxproj