#380

~bigbes/sr-ht-compare/commits/master/.build.yml

success

19f0585bigbes

ci: drop the 'all' from go mod download, which rewrote go.sum

Owner
~bigbes
Created
9 days ago
Updated
9 days ago
Build manifest
view manifest »

Tasks

view log »
cacher_install view log »
cacher_init view log »
scss view log »
keygen view log »
version view log »
cache_restore view log »
test view log »
build view log »
publish view log »
cache_save view log »
go to bottom »
go to top »
setup
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
[#380] 2026/08/08 22:43:17 Running build on srht-build-1.lab.local
[#380] 2026/08/08 22:43:17 Booting image alpine/edge (default) on port 22479
Waiting for VM to come up...
ssh: connect to host localhost port 22479: Connection refused
Attempt 1...
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 22479
Attempt 2...
Warning: Permanently added '[localhost]:22479' (ED25519) to the list of known hosts.
Warning: Permanently added '[localhost]:22479' (ED25519) to the list of known hosts.
[#380] 2026/08/08 22:43:27 preconfigure: ok
[#380] 2026/08/08 22:43:27 Waiting for guest to settle
[#380] 2026/08/08 22:43:27 Sending tasks
[#380] 2026/08/08 22:43:29 Sending build environment
[#380] 2026/08/08 22:43:29 Sending secrets
[#380] 2026/08/08 22:43:29 Resolving secret apk-ci-s3
[#380] 2026/08/08 22:43:30 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600
[#380] 2026/08/08 22:43:30 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46
[#380] 2026/08/08 22:43:30 Installing packages
Warning: Permanently added '[localhost]:22479' (ED25519) to the list of known hosts.
( 1/15) Upgrading alpine-release (3.24.0-r0 -> 3.25.0_alpha20260805-r0)
( 2/15) Upgrading alpine-base (3.24.0-r0 -> 3.25.0_alpha20260805-r0)
( 3/15) Upgrading git (2.55.0-r0 -> 2.55.0-r1)
( 4/15) Upgrading git-init-template (2.55.0-r0 -> 2.55.0-r1)
( 5/15) Upgrading libldap (2.6.13-r0 -> 2.6.14-r0)
( 6/15) Upgrading haveged (1.9.21-r0 -> 1.9.26-r0)
( 7/15) Upgrading haveged-openrc (1.9.21-r0 -> 1.9.26-r0)
( 8/15) Upgrading openssh-keygen (10.4_p1-r1 -> 10.4_p1-r2)
( 9/15) Upgrading openssh-client-common (10.4_p1-r1 -> 10.4_p1-r2)
(10/15) Upgrading openssh-client-default (10.4_p1-r1 -> 10.4_p1-r2)
(11/15) Upgrading openssh-sftp-server (10.4_p1-r1 -> 10.4_p1-r2)
(12/15) Upgrading openssh-server-common (10.4_p1-r1 -> 10.4_p1-r2)
  Installing file to etc/ssh/sshd_config.apk-new
(13/15) Upgrading openssh-server-common-openrc (10.4_p1-r1 -> 10.4_p1-r2)
(14/15) Upgrading openssh-server (10.4_p1-r1 -> 10.4_p1-r2)
  Executing openssh-server-10.4_p1-r2.post-upgrade
(15/15) Upgrading openssh (10.4_p1-r1 -> 10.4_p1-r2)
Executing busybox-1.38.0-r4.trigger
OK: 526.9 MiB in 142 packages
Warning: Permanently added '[localhost]:22479' (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
[#380] 2026/08/08 22:43:42 Cloning repositories
Cloning into 'sr-ht-compare'...
+ git -C sr-ht-compare checkout -q 19f0585714695aa711b0a70e601ded7770118bd6
+ git -C sr-ht-compare submodule update --init --recursive
[#380] 2026/08/08 22:43:43 Running task cacher_install
[#380] 2026/08/08 22:43:44 Running task cacher_init
[#380] 2026/08/08 22:43:44 Running task scss
[#380] 2026/08/08 22:43:47 Running task keygen
[#380] 2026/08/08 22:43:47 Running task version
[#380] 2026/08/08 22:43:48 Running task cache_restore
[#380] 2026/08/08 22:44:06 Running task test
[#380] 2026/08/08 22:46:08 Running task build
[#380] 2026/08/08 22:47:20 Running task publish
[#380] 2026/08/08 22:47:21 Running task cache_save
qemu-system-x86_64: terminating on signal 15 from pid 2725310 (/bin/sh)
cacher_install
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
+ curl -fsSL https://bigbes.pages.srht.bigb.es/ci-cacher/install.sh
+ sh
install.sh: fetching https://bigbes.pages.srht.bigb.es/ci-cacher/cacher-linux-amd64
install.sh: checksum ok
install.sh: added /home/build/.local/bin to ~/.buildenv PATH
install.sh: installed → /home/build/.local/bin/cacher
                       _
   ___ __ _  ___ _ __ | |__   ___ _ __
  / __/ _` |/ __| '_ \| '_ \ / _ \ '__|
 | (_| (_| | (__| | | | | | |  __/ |
  \___\__,_|\___|_| |_|_| |_|\___|_|
cacher: S3-backed CI cache helper for builds.sr.ht — replaces .builds/lib/ci-lib.sh
go.bigb.es/cacher

GitVersion:    0.2.2
GitCommit:     333189a20b7bb2b7440b083e151afd24bb5a61d4
GitTreeState:  dirty
BuildDate:     2026-08-06T22:16:13Z
BuiltBy:       unknown
Clean:         false
GoVersion:     go1.26.3
Compiler:      gc
ModuleSum:     unknown
Platform:      linux/amd64
install.sh: note — /home/build/.local/bin is not on your PATH
cacher_init
1
2
3
4
5
6
7
8
9
+ cacher init --endpoint https://s3.bigb.es --region garage --bucket docker-cache --prefix sr-ht-compare/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-compare/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
scss
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
+ cacher dir download scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst /home/build/scss --exec $'\n  git clone --depth 1 --branch "$CORE_VER" \\\n    https://git.sr.ht/~sircmpwn/core.sr.ht /tmp/core\n  mkdir -p ~/scss/bootstrap\n  cp /tmp/core/scss/*.scss /tmp/core/scss/*.css ~/scss/\n  git init -q /tmp/bootstrap\n  git -C /tmp/bootstrap remote add origin https://github.com/twbs/bootstrap\n  git -C /tmp/bootstrap fetch -q --depth 1 origin "$BOOTSTRAP_REV"\n  git -C /tmp/bootstrap checkout -q FETCH_HEAD\n  cp -r /tmp/bootstrap/scss ~/scss/bootstrap/scss\n'
Cache MISS — scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst
Running  — sh -c "\n  git clone --depth 1 --branch \"$CORE_VER\" \\\n    https://git.sr.ht/~sircmpwn/core.sr.ht /tmp/core\n  mkdir -p ~/scss/bootstrap\n  cp /tmp/core/scss/*.scss /tmp/core/scss/*.css ~/scss/\n  git init -q /tmp/bootstrap\n  git -C /tmp/bootstrap remote add origin https://github.com/twbs/bootstrap\n  git -C /tmp/bootstrap fetch -q --depth 1 origin \"$BOOTSTRAP_REV\"\n  git -C /tmp/bootstrap checkout -q FETCH_HEAD\n  cp -r /tmp/bootstrap/scss ~/scss/bootstrap/scss\n"
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

Packing /home/build/scss → scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst
Cached  → scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst
+ sudo mkdir -p /usr/share/sourcehut
+ sudo cp -r /home/build/scss /usr/share/sourcehut/scss
keygen
1
2
3
+ SUDO=sudo
+ abuild-keygen -a -n -i -q
writing RSA key
version
1
2
3
4
5
6
7
8
9
10
11
+ cd sr-ht-compare
++ git describe --tags --always --dirty
+ desc=19f0585
+ base=19f0585
+ case "$base" in
++ git rev-list --count HEAD
+ ver=0.0.39
+ echo 'export PKGVER=0.0.39'
building 0.0.39 from 19f0585
+ echo 'building 0.0.39 from 19f0585'
+ git status --porcelain
cache_restore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
++ cacher key 'gomod/{hash}.tar.zst' --hash-from sr-ht-compare/go.sum
+ KEY_MOD=gomod/4c2fc612cfbcca47.tar.zst
++ cacher key 'gocache/{hash}.tar.zst' --hash-from sr-ht-compare/go.sum
+ KEY_GOC=gocache/4c2fc612cfbcca47.tar.zst
+ echo 'export KEY_MOD=gomod/4c2fc612cfbcca47.tar.zst KEY_GOC=gocache/4c2fc612cfbcca47.tar.zst'
+ cacher dir download gomod/4c2fc612cfbcca47.tar.zst /home/build/go/pkg/mod --optional
Cache MISS — gomod/4c2fc612cfbcca47.tar.zst
+ cacher dir download gocache/4c2fc612cfbcca47.tar.zst /home/build/.cache/go-build --optional
Cache MISS — gocache/4c2fc612cfbcca47.tar.zst
+ cd sr-ht-compare
+ chmod -R u+w /home/build/go/pkg/mod
+ true
+ go mod verify
+ go mod download
+ go mod verify
all modules verified
+ git status --porcelain
test
1
2
3
4
5
6
7
8
9
10
11
12
13
+ cd sr-ht-compare
+ gofmt -l .
+ tee /tmp/fmt
+ test '!' -s /tmp/fmt
+ go vet ./...
+ make test
go test ./...
ok  	sourcecraft.dev/bigbes/sr-ht-compare/authz	0.054s
ok  	sourcecraft.dev/bigbes/sr-ht-compare/cmd/comparesrht	2.769s
?   	sourcecraft.dev/bigbes/sr-ht-compare/contrib/dev-stub	[no test files]
ok  	sourcecraft.dev/bigbes/sr-ht-compare/core	0.007s
ok  	sourcecraft.dev/bigbes/sr-ht-compare/gitx	1.332s
ok  	sourcecraft.dev/bigbes/sr-ht-compare/web	2.446s
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
+ cd sr-ht-compare
+ REPODEST=/home/build/packages
+ abuild -d
>>> compare.sr.ht: Building build/compare.sr.ht 0.0.39-r0 (using abuild 3.18.0_rc5-r0) started Sat, 08 Aug 2026 22:46:08 +0000
>>> compare.sr.ht: Validating /home/build/sr-ht-compare/APKBUILD...
>>> WARNING: compare.sr.ht: Makefile is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: README.md is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: authz is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: cmd is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: config.example.ini is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: contrib is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: core is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: docs is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: frontend is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: gitx is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: go.mod is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: go.sum is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: scss is not in $source/$install/$triggers
>>> WARNING: compare.sr.ht: web is not in $source/$install/$triggers
>>> compare.sr.ht: Cleaning up srcdir
>>> compare.sr.ht: Cleaning up pkgdir
>>> compare.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
(7.1 ms, 168 kB, 131 kB,  77.7%,  24 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
 D web/static/main.min.79713f25.css
b215ba9a10a951f105bf52a11261d4a0deeadd456c96f4f883e10357e46a25e5  web/static/main.min.b215ba9a.css
go build -o comparesrht ./cmd/comparesrht
>>> compare.sr.ht: Entering fakeroot...
install -Dm755 comparesrht /home/build/sr-ht-compare/pkg/compare.sr.ht/usr/bin/comparesrht
mkdir -p /home/build/sr-ht-compare/pkg/compare.sr.ht/usr/share/sourcehut/compare.sr.ht/static
install -Dm644 -t /home/build/sr-ht-compare/pkg/compare.sr.ht/usr/share/sourcehut/compare.sr.ht/static web/static/*
>>> compare.sr.ht*: Running postcheck for compare.sr.ht
>>> compare.sr.ht*: Preparing package compare.sr.ht...
>>> compare.sr.ht*: Stripping binaries
>>> compare.sr.ht*: Tracing dependencies...
>>> compare.sr.ht*: Package size: 37.4 MB
>>> compare.sr.ht*: Compressing data...
>>> compare.sr.ht*: Create checksum...
>>> compare.sr.ht*: Create compare.sr.ht-0.0.39-r0.apk
>>> compare.sr.ht: Build complete at Sat, 08 Aug 2026 22:47:20 +0000 elapsed time 0h 1m 12s
>>> compare.sr.ht: Cleaning up srcdir
>>> compare.sr.ht: Cleaning up pkgdir
>>> compare.sr.ht: Cleaning up tmpdir
>>> compare.sr.ht: Updating the build/x86_64 repository index...
>>> compare.sr.ht: Signing the index...
+ find /home/build/packages -name '*.apk'
/home/build/packages/build/x86_64/compare.sr.ht-0.0.39-r0.apk
publish
1
2
3
4
5
6
7
8
9
10
11
12
13
+ '[' '!' -r /home/build/.apk-ci.env ']'
+ set +x
+ find /home/build/packages -name '*.apk' -print
+ read -r f
++ basename /home/build/packages/build/x86_64/compare.sr.ht-0.0.39-r0.apk
+ rclone copyto /home/build/packages/build/x86_64/compare.sr.ht-0.0.39-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/compare.sr.ht-0.0.39-r0.apk
2026/08/08 22:47:21 NOTICE: Config file "/home/build/.config/rclone/rclone.conf" not found - using defaults
++ basename /home/build/packages/build/x86_64/compare.sr.ht-0.0.39-r0.apk
+ echo 'uploaded compare.sr.ht-0.0.39-r0.apk'uploaded compare.sr.ht-0.0.39-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'
cache_save
1
2
3
4
+ cacher dir upload gomod/4c2fc612cfbcca47.tar.zst /home/build/go/pkg/mod
Packing /home/build/go/pkg/mod → gomod/4c2fc612cfbcca47.tar.zst
+ cacher dir upload gocache/4c2fc612cfbcca47.tar.zst /home/build/.cache/go-build
Packing /home/build/.cache/go-build → gocache/4c2fc612cfbcca47.tar.zst
Build complete: success 9 days ago (took 4 minutes)