ci: cache the assembled scss tree
| view log » | |
| cacher | view log » |
| scss | view log » |
| keygen | view log » |
| version | view log » |
| cache_restore | view log » |
| build | view log » |
| cache_save | view log » |
| publish | view log » |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
[#274] 2026/08/05 11:03:16 Running build on srht-build-1.lab.local [#274] 2026/08/05 11:03:16 Booting image alpine/edge (default) on port 22373 Waiting for VM to come up... ssh: connect to host localhost port 22373: Connection refused Attempt 1... kex_exchange_identification: read: Connection reset by peer Connection reset by 127.0.0.1 port 22373 Attempt 2... Warning: Permanently added '[localhost]:22373' (ED25519) to the list of known hosts. Warning: Permanently added '[localhost]:22373' (ED25519) to the list of known hosts. [#274] 2026/08/05 11:03:26 preconfigure: ok [#274] 2026/08/05 11:03:26 Waiting for guest to settle [#274] 2026/08/05 11:03:26 Sending tasks [#274] 2026/08/05 11:03:28 Sending build environment [#274] 2026/08/05 11:03:28 Sending secrets [#274] 2026/08/05 11:03:28 Resolving secret apk-ci-s3 [#274] 2026/08/05 11:03:28 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600 [#274] 2026/08/05 11:03:29 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46 [#274] 2026/08/05 11:03:29 Installing packages Warning: Permanently added '[localhost]:22373' (ED25519) to the list of known hosts. (1/2) Upgrading haveged (1.9.21-r0 -> 1.9.26-r0) (2/2) Upgrading haveged-openrc (1.9.21-r0 -> 1.9.26-r0) Executing busybox-1.38.0-r4.trigger OK: 526.9 MiB in 142 packages Warning: Permanently added '[localhost]:22373' (ED25519) to the list of known hosts. (1/5) Installing go (1.26.5-r0) (2/5) Installing minify (2.24.13-r1) (3/5) Installing rclone (1.74.4-r1) (4/5) Installing libsass (3.6.6-r0) (5/5) Installing sassc (3.6.2-r5) Executing busybox-1.38.0-r4.trigger OK: 818.4 MiB in 147 packages [#274] 2026/08/05 11:03:39 Cloning repositories Cloning into 'sr-ht-spec'... + git -C sr-ht-spec checkout -q faa9163e9645bd737244305c48a2b13788dbca10 + git -C sr-ht-spec submodule update --init --recursive [#274] 2026/08/05 11:03:40 Running task cacher [#274] 2026/08/05 11:03:40 Running task scss [#274] 2026/08/05 11:03:53 Running task keygen [#274] 2026/08/05 11:03:53 Running task version [#274] 2026/08/05 11:03:54 Running task cache_restore [#274] 2026/08/05 11:04:04 Running task build [#274] 2026/08/05 11:04:15 Running task cache_save [#274] 2026/08/05 11:04:16 Running task publish qemu-system-x86_64: terminating on signal 15 from pid 2488000 (/bin/sh) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
+ mkdir -p /home/build/.local/bin + curl -sSL https://bigbes.pages.srht.bigb.es/ci-cacher/cacher-linux-amd64 -o /home/build/.local/bin/cacher + chmod +x /home/build/.local/bin/cacher + echo 'export PATH="$HOME/.local/bin:$PATH"' + export PATH=/home/build/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + PATH=/home/build/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + cacher init --endpoint https://s3.bigb.es --region garage --bucket docker-cache --prefix sr-ht-spec/deps --key-file /home/build/.s3-cache-key-id --secret-file /home/build/.s3-cache-key-secret wrote /home/build/.config/cacher/config.toml endpoint=https://s3.bigb.es region=garage bucket=docker-cache prefix=sr-ht-spec/deps key_id_len=26 key_id_prefix=GK secret_len=64 ping bucket: OK put canary: OK get canary: OK delete canary: OK doctor: all checks passed |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
+ KEY_SCSS=scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst + cacher dir download scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst /home/build/scss Error: cacher: key not found: scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst + git clone --depth 1 --branch 0.84.5 https://git.sr.ht/~sircmpwn/core.sr.ht /tmp/core Cloning into '/tmp/core'... warning: refs/tags/0.84.5 a87e77a387a71793ca6f09782ac1810071ee2276 is not a commit! Note: switching to 'b4a1797ea3e6bae06b866612c3659e61a4e893e9'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false + mkdir -p /home/build/scss/bootstrap + cp /tmp/core/scss/base.scss /tmp/core/scss/contrast.scss /tmp/core/scss/dark.scss /tmp/core/scss/events.scss /tmp/core/scss/highlight-dark.scss /tmp/core/scss/highlight.scss /tmp/core/scss/icons.scss /tmp/core/scss/nav.scss /tmp/core/scss/variables.scss /tmp/core/scss/font-awesome.min.css /home/build/scss/ + git init -q /tmp/bootstrap + git -C /tmp/bootstrap remote add origin https://github.com/twbs/bootstrap + git -C /tmp/bootstrap fetch -q --depth 1 origin 779ad9f174ea5ab7e755f6df0ec9e5912d67dd16 + git -C /tmp/bootstrap checkout -q FETCH_HEAD + cp -r /tmp/bootstrap/scss /home/build/scss/bootstrap/scss + cacher dir upload scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst /home/build/scss Packing /home/build/scss → scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst + sudo mkdir -p /usr/share/sourcehut + sudo cp -r /home/build/scss /usr/share/sourcehut/scss |
1 2 3 4 5 6 7 |
+ cd sr-ht-spec ++ git rev-list --count HEAD + ver=0.0.88 + sed -i 's/^pkgver=.*/pkgver=0.0.88/' APKBUILD building 0.0.88 + echo 'export PKGVER=0.0.88' + echo 'building 0.0.88' |
1 2 3 4 5 6 7 8 9 |
++ cacher key 'gomod/{hash}.tar.zst' --hash-from sr-ht-spec/go.sum
+ KEY_MOD=gomod/4a9ede49f1b7a7e4.tar.zst
++ cacher key 'gocache/{hash}.tar.zst' --hash-from sr-ht-spec/go.sum
+ KEY_GOC=gocache/4a9ede49f1b7a7e4.tar.zst
+ echo 'export KEY_MOD=gomod/4a9ede49f1b7a7e4.tar.zst KEY_GOC=gocache/4a9ede49f1b7a7e4.tar.zst'
+ cacher dir download gomod/4a9ede49f1b7a7e4.tar.zst /home/build/go/pkg/mod
Cache HIT — gomod/4a9ede49f1b7a7e4.tar.zst → extract /home/build/go/pkg/mod
+ cacher dir download gocache/4a9ede49f1b7a7e4.tar.zst /home/build/.cache/go-build
Cache HIT — gocache/4a9ede49f1b7a7e4.tar.zst → extract /home/build/.cache/go-build
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
+ cd sr-ht-spec + REPODEST=/home/build/packages + abuild -d >>> spec.sr.ht: Building build/spec.sr.ht 0.0.88-r0 (using abuild 3.18.0_rc5-r0) started Wed, 05 Aug 2026 11:04:04 +0000 >>> spec.sr.ht: Validating /home/build/sr-ht-spec/APKBUILD... >>> WARNING: spec.sr.ht: AGENTS.md is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: CLAUDE.md is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: Makefile is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: api is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: authn is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: cmd is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: core is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: coreauth is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: db is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: doc is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: docs is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: gitx is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: go.mod is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: go.sum is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: graph is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: hooks is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: mcpsrv is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: migrations is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: prosediff is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: schema.sql is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: scss is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: search is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: service is not in $source/$install/$triggers >>> WARNING: spec.sr.ht: web is not in $source/$install/$triggers >>> spec.sr.ht: Cleaning up srcdir >>> spec.sr.ht: Cleaning up pkgdir >>> spec.sr.ht: Cleaning up tmpdir mkdir -p web/static rm -f web/static/main.css web/static/main.min.*.css sassc -I/usr/share/sourcehut/scss scss/main.scss web/static/main.css /usr/share/sourcehut/scss/contrast.scss:72 DEBUG: #fff was adjusted to #fff but this is not enough contrast to #007bff (AERT). /usr/share/sourcehut/scss/contrast.scss:72 DEBUG: #fff was adjusted to #fff but this is not enough contrast to #17a2b8 (AERT). /usr/share/sourcehut/scss/contrast.scss:72 DEBUG: #fff was adjusted to #fff but this is not enough contrast to #dc3545 (AERT). minify -o web/static/main.min.css web/static/main.css (3.4 ms, 168 kB, 129 kB, 77.2%, 49 MB/s) - web/static/main.css to web/static/main.min.css mv web/static/main.min.css \ web/static/main.min.$(sha256sum web/static/main.min.css | cut -c1-8).css rm -f web/static/main.css go build -o specsrht ./cmd/specsrht go build -o specsrht-migrate ./cmd/specsrht-migrate >>> spec.sr.ht: Entering fakeroot... go build -o specsrht ./cmd/specsrht go build -o specsrht-migrate ./cmd/specsrht-migrate install -Dm755 specsrht /home/build/sr-ht-spec/pkg/spec.sr.ht/usr/bin/specsrht install -Dm755 specsrht-migrate /home/build/sr-ht-spec/pkg/spec.sr.ht/usr/bin/specsrht-migrate mkdir -p /home/build/sr-ht-spec/pkg/spec.sr.ht/usr/share/sourcehut/migrations/spec.sr.ht install -Dm644 -t /home/build/sr-ht-spec/pkg/spec.sr.ht/usr/share/sourcehut/migrations/spec.sr.ht migrations/*.sql install -Dm644 schema.sql /home/build/sr-ht-spec/pkg/spec.sr.ht/usr/share/sourcehut/spec.sr.ht.sql >>> spec.sr.ht*: Running postcheck for spec.sr.ht >>> spec.sr.ht*: Preparing package spec.sr.ht... >>> spec.sr.ht*: Stripping binaries >>> spec.sr.ht*: Tracing dependencies... >>> spec.sr.ht*: Package size: 43.9 MB >>> spec.sr.ht*: Compressing data... >>> spec.sr.ht*: Create checksum... >>> spec.sr.ht*: Create spec.sr.ht-0.0.88-r0.apk >>> spec.sr.ht: Build complete at Wed, 05 Aug 2026 11:04:15 +0000 elapsed time 0h 0m 11s >>> spec.sr.ht: Cleaning up srcdir >>> spec.sr.ht: Cleaning up pkgdir >>> spec.sr.ht: Cleaning up tmpdir >>> spec.sr.ht: Updating the build/x86_64 repository index... >>> spec.sr.ht: Signing the index... + find /home/build/packages -name '*.apk' /home/build/packages/build/x86_64/spec.sr.ht-0.0.88-r0.apk |
1 2 3 4 |
+ cacher exists gomod/4a9ede49f1b7a7e4.tar.zst gomod/4a9ede49f1b7a7e4.tar.zst + cacher exists gocache/4a9ede49f1b7a7e4.tar.zst gocache/4a9ede49f1b7a7e4.tar.zst |
1 2 3 4 5 6 7 8 9 10 11 12 |
+ set +x + find /home/build/packages -name '*.apk' -print + read -r f ++ basename /home/build/packages/build/x86_64/spec.sr.ht-0.0.88-r0.apk + rclone copyto /home/build/packages/build/x86_64/spec.sr.ht-0.0.88-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/spec.sr.ht-0.0.88-r0.apk 2026/08/05 11:04:16 NOTICE: Config file "/home/build/.config/rclone/rclone.conf" not found - using defaults ++ basename /home/build/packages/build/x86_64/spec.sr.ht-0.0.88-r0.apk + echo 'uploaded spec.sr.ht-0.0.88-r0.apk' uploaded spec.sr.ht-0.0.88-r0.apk + read -r f published; apk-mirror on phoebe re-indexes within 15 minutes + echo 'published; apk-mirror on phoebe re-indexes within 15 minutes' |