Commit 9a48fb245b
Unsigned ci/accessibility: success
Layout: unified · split
ROADMAP.md +2 −2
| @@ -52,8 +52,8 @@ Nothing downstream is trustworthy until the build badge means something. | ||
| 52 | 52 | to `.gitbay/ci.yml`, so the test plan now runs nowhere in CI: only in Xcode or |
| 53 | 53 | `xcodebuild test -scheme Hutch` locally. gitbay CI runs the accessibility check |
| 54 | 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 | |
| 56 | repo has no sr.ht remote for builds.sr.ht to trigger from. Phase 0's gate is | |
| 55 | covers secret scanning, alongside qlty's trufflehog. builds.sr.ht runs nothing | |
| 56 | here: the repo has no sr.ht remote for it to trigger from. Phase 0's gate is | |
| 57 | 57 | open again, and closing it still needs a macOS runner. |
| 58 | 58 | |
| 59 | 59 | Turning the gate on first required making the suite green. All 214 tests had |
builds/swift-ci.yml deleted −80
| @@ -1,80 +0,0 @@ | ||
| 1 | image: ubuntu/lts | |
| 2 | ||
| 3 | packages: | |
| 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 | ||
| 17 | sources: | |
| 18 | - https://github.com/krazywarez/hutch | |
| 19 | ||
| 20 | environment: | |
| 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 | ||
| 27 | tasks: | |
| 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 | |