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 |
[#273] 2026/08/05 11:03:15 Running build on srht-build-1.lab.local [#273] 2026/08/05 11:03:15 Booting image alpine/edge (default) on port 22372 Waiting for VM to come up... ssh: connect to host localhost port 22372: Connection refused Attempt 1... kex_exchange_identification: read: Connection reset by peer Connection reset by 127.0.0.1 port 22372 Attempt 2... Warning: Permanently added '[localhost]:22372' (ED25519) to the list of known hosts. Warning: Permanently added '[localhost]:22372' (ED25519) to the list of known hosts. [#273] 2026/08/05 11:03:25 preconfigure: ok [#273] 2026/08/05 11:03:25 Waiting for guest to settle [#273] 2026/08/05 11:03:25 Sending tasks [#273] 2026/08/05 11:03:27 Sending build environment [#273] 2026/08/05 11:03:27 Sending secrets [#273] 2026/08/05 11:03:27 Resolving secret apk-ci-s3 [#273] 2026/08/05 11:03:27 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600 [#273] 2026/08/05 11:03:28 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46 [#273] 2026/08/05 11:03:28 Installing packages Warning: Permanently added '[localhost]:22372' (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]:22372' (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 [#273] 2026/08/05 11:03:38 Cloning repositories Cloning into 'sr-ht-dolt'... + git -C sr-ht-dolt checkout -q b5b082357aed36d6e1db9a33f765ed552e9eed62 + git -C sr-ht-dolt submodule update --init --recursive [#273] 2026/08/05 11:03:38 Running task cacher [#273] 2026/08/05 11:03:39 Running task scss [#273] 2026/08/05 11:03:52 Running task keygen [#273] 2026/08/05 11:03:53 Running task version [#273] 2026/08/05 11:03:53 Running task cache_restore [#273] 2026/08/05 11:04:10 Running task build [#273] 2026/08/05 11:04:31 Running task cache_save [#273] 2026/08/05 11:04:31 Running task publish qemu-system-x86_64: terminating on signal 15 from pid 2488024 (/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-dolt/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-dolt/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-dolt ++ git rev-list --count HEAD + ver=0.0.37 + sed -i 's/^pkgver=.*/pkgver=0.0.37/' APKBUILD building 0.0.37 + echo 'export PKGVER=0.0.37' + echo 'building 0.0.37' |
1 2 3 4 5 6 7 8 9 |
++ cacher key 'gomod/{hash}.tar.zst' --hash-from sr-ht-dolt/go.sum
+ KEY_MOD=gomod/521d8ce684e3423d.tar.zst
++ cacher key 'gocache/{hash}.tar.zst' --hash-from sr-ht-dolt/go.sum
+ KEY_GOC=gocache/521d8ce684e3423d.tar.zst
+ echo 'export KEY_MOD=gomod/521d8ce684e3423d.tar.zst KEY_GOC=gocache/521d8ce684e3423d.tar.zst'
+ cacher dir download gomod/521d8ce684e3423d.tar.zst /home/build/go/pkg/mod
Cache HIT — gomod/521d8ce684e3423d.tar.zst → extract /home/build/go/pkg/mod
+ cacher dir download gocache/521d8ce684e3423d.tar.zst /home/build/.cache/go-build
Cache HIT — gocache/521d8ce684e3423d.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 |
+ cd sr-ht-dolt + REPODEST=/home/build/packages + abuild -d >>> dolt.sr.ht: Building build/dolt.sr.ht 0.0.37-r0 (using abuild 3.18.0_rc5-r0) started Wed, 05 Aug 2026 11:04:10 +0000 >>> dolt.sr.ht: Validating /home/build/sr-ht-dolt/APKBUILD... >>> WARNING: dolt.sr.ht: Makefile is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: README.md is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: authn is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: browse is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: cmd is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: config.example.ini is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: contrib is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: core is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: db is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: docs is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: go.mod is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: go.sum is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: migrations is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: remoteapi is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: schema.sql is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: scss is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: static is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: storage is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: third_party is not in $source/$install/$triggers >>> WARNING: dolt.sr.ht: web is not in $source/$install/$triggers >>> dolt.sr.ht: Cleaning up srcdir >>> dolt.sr.ht: Cleaning up pkgdir >>> dolt.sr.ht: Cleaning up tmpdir go build -tags gms_pure_go -o doltsrht ./cmd/doltsrht go build -tags gms_pure_go -o doltsrht-migrate ./cmd/doltsrht-migrate mkdir -p static sassc -I/usr/share/sourcehut/scss/ scss/main.scss 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 static/main.min.css static/main.css (2.8 ms, 159 kB, 123 kB, 77.1%, 56 MB/s) - static/main.css to static/main.min.css cp static/main.min.css static/main.min.$(sha256sum static/main.min.css | cut -c1-8).css >>> dolt.sr.ht: Entering fakeroot... go build -tags gms_pure_go -o doltsrht ./cmd/doltsrht go build -tags gms_pure_go -o doltsrht-migrate ./cmd/doltsrht-migrate mkdir -p /home/build/sr-ht-dolt/pkg/dolt.sr.ht/usr/share/sourcehut/static/dolt.sr.ht mkdir -p /home/build/sr-ht-dolt/pkg/dolt.sr.ht/usr/share/sourcehut/migrations/dolt.sr.ht install -Dm644 schema.sql /home/build/sr-ht-dolt/pkg/dolt.sr.ht/usr/share/sourcehut/dolt.sr.ht.sql install -Dm644 migrations/*.sql /home/build/sr-ht-dolt/pkg/dolt.sr.ht/usr/share/sourcehut/migrations/dolt.sr.ht if [ -d static ]; then install -Dm644 static/*.css static/*.svg /home/build/sr-ht-dolt/pkg/dolt.sr.ht/usr/share/sourcehut/static/dolt.sr.ht 2>/dev/null || true; fi mkdir -p /home/build/sr-ht-dolt/pkg/dolt.sr.ht/usr/bin for bin in doltsrht doltsrht-migrate; do \ if [ -x $bin ]; then install -Dm755 $bin /home/build/sr-ht-dolt/pkg/dolt.sr.ht/usr/bin/; fi; \ done >>> dolt.sr.ht*: Running postcheck for dolt.sr.ht >>> dolt.sr.ht*: Preparing package dolt.sr.ht... >>> dolt.sr.ht*: Stripping binaries >>> dolt.sr.ht*: Tracing dependencies... >>> dolt.sr.ht*: Package size: 109.6 MB >>> dolt.sr.ht*: Compressing data... >>> dolt.sr.ht*: Create checksum... >>> dolt.sr.ht*: Create dolt.sr.ht-0.0.37-r0.apk >>> dolt.sr.ht: Build complete at Wed, 05 Aug 2026 11:04:31 +0000 elapsed time 0h 0m 21s >>> dolt.sr.ht: Cleaning up srcdir >>> dolt.sr.ht: Cleaning up pkgdir >>> dolt.sr.ht: Cleaning up tmpdir >>> dolt.sr.ht: Updating the build/x86_64 repository index... >>> dolt.sr.ht: Signing the index... + find /home/build/packages -name '*.apk' /home/build/packages/build/x86_64/dolt.sr.ht-0.0.37-r0.apk |
1 2 3 4 |
+ cacher exists gomod/521d8ce684e3423d.tar.zst gomod/521d8ce684e3423d.tar.zst + cacher exists gocache/521d8ce684e3423d.tar.zst gocache/521d8ce684e3423d.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/dolt.sr.ht-0.0.37-r0.apk + rclone copyto /home/build/packages/build/x86_64/dolt.sr.ht-0.0.37-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/dolt.sr.ht-0.0.37-r0.apk 2026/08/05 11:04:32 NOTICE: Config file "/home/build/.config/rclone/rclone.conf" not found - using defaults ++ basename /home/build/packages/build/x86_64/dolt.sr.ht-0.0.37-r0.apk uploaded dolt.sr.ht-0.0.37-r0.apk + echo 'uploaded dolt.sr.ht-0.0.37-r0.apk' + read -r f + echo 'published; apk-mirror on phoebe re-indexes within 15 minutes' published; apk-mirror on phoebe re-indexes within 15 minutes |