#278

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

success

bb8ce43Eugene Blikh

web: restyle dashboard and database lists after git.sr.ht

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

Tasks

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 »
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
[#278] 2026/08/06 19:35:26 Running build on srht-build-1.lab.local
[#278] 2026/08/06 19:35:26 Booting image alpine/edge (default) on port 22377
Waiting for VM to come up...
ssh: connect to host localhost port 22377: Connection refused
Attempt 1...
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 22377
Attempt 2...
Warning: Permanently added '[localhost]:22377' (ED25519) to the list of known hosts.
Warning: Permanently added '[localhost]:22377' (ED25519) to the list of known hosts.
[#278] 2026/08/06 19:35:37 preconfigure: ok
[#278] 2026/08/06 19:35:37 Waiting for guest to settle
[#278] 2026/08/06 19:35:37 Sending tasks
[#278] 2026/08/06 19:35:38 Sending build environment
[#278] 2026/08/06 19:35:38 Sending secrets
[#278] 2026/08/06 19:35:38 Resolving secret apk-ci-s3
[#278] 2026/08/06 19:35:39 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600
[#278] 2026/08/06 19:35:39 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46
[#278] 2026/08/06 19:35:39 Installing packages
Warning: Permanently added '[localhost]:22377' (ED25519) to the list of known hosts.
( 1/14) Upgrading alpine-release (3.24.0-r0 -> 3.25.0_alpha20260805-r0)
( 2/14) Upgrading alpine-base (3.24.0-r0 -> 3.25.0_alpha20260805-r0)
( 3/14) Upgrading git (2.55.0-r0 -> 2.55.0-r1)
( 4/14) Upgrading git-init-template (2.55.0-r0 -> 2.55.0-r1)
( 5/14) Upgrading haveged (1.9.21-r0 -> 1.9.26-r0)
( 6/14) Upgrading haveged-openrc (1.9.21-r0 -> 1.9.26-r0)
( 7/14) Upgrading openssh-keygen (10.4_p1-r1 -> 10.4_p1-r2)
( 8/14) Upgrading openssh-client-common (10.4_p1-r1 -> 10.4_p1-r2)
( 9/14) Upgrading openssh-client-default (10.4_p1-r1 -> 10.4_p1-r2)
(10/14) Upgrading openssh-sftp-server (10.4_p1-r1 -> 10.4_p1-r2)
(11/14) Upgrading openssh-server-common (10.4_p1-r1 -> 10.4_p1-r2)
  Installing file to etc/ssh/sshd_config.apk-new
(12/14) Upgrading openssh-server-common-openrc (10.4_p1-r1 -> 10.4_p1-r2)
(13/14) Upgrading openssh-server (10.4_p1-r1 -> 10.4_p1-r2)
  Executing openssh-server-10.4_p1-r2.post-upgrade
(14/14) 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]:22377' (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
[#278] 2026/08/06 19:35:48 Cloning repositories
Cloning into 'sr-ht-dolt'...
+ git -C sr-ht-dolt checkout -q bb8ce43b699435a1b43302e70fe9c1e29a9d0f23
+ git -C sr-ht-dolt submodule update --init --recursive
[#278] 2026/08/06 19:35:48 Running task cacher
[#278] 2026/08/06 19:35:49 Running task scss
[#278] 2026/08/06 19:35:49 Running task keygen
[#278] 2026/08/06 19:35:50 Running task version
[#278] 2026/08/06 19:35:50 Running task cache_restore
[#278] 2026/08/06 19:36:03 Running task build
[#278] 2026/08/06 19:36:24 Running task cache_save
[#278] 2026/08/06 19:36:24 Running task publish
qemu-system-x86_64: terminating on signal 15 from pid 2573852 (/bin/sh)
cacher
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
scss
1
2
3
4
5
+ KEY_SCSS=scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst
+ cacher dir download scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst /home/build/scss
Cache HIT  — scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst → extract /home/build/scss
+ 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
+ cd sr-ht-dolt
++ git rev-list --count HEAD
+ ver=0.0.38
+ sed -i 's/^pkgver=.*/pkgver=0.0.38/' APKBUILD
building 0.0.38
+ echo 'export PKGVER=0.0.38'
+ echo 'building 0.0.38'
cache_restore
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
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.38-r0 (using abuild 3.18.0_rc5-r0) started Thu, 06 Aug 2026 19:36:03 +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.9 ms, 159 kB, 123 kB,  77.1%,  55 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.38-r0.apk
>>> dolt.sr.ht: Build complete at Thu, 06 Aug 2026 19:36:23 +0000 elapsed time 0h 0m 20s
>>> 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.38-r0.apk
cache_save
1
2
3
4
+ cacher exists gomod/521d8ce684e3423d.tar.zst
gomod/521d8ce684e3423d.tar.zst
+ cacher exists gocache/521d8ce684e3423d.tar.zst
gocache/521d8ce684e3423d.tar.zst
publish
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.38-r0.apk
+ rclone copyto /home/build/packages/build/x86_64/dolt.sr.ht-0.0.38-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/dolt.sr.ht-0.0.38-r0.apk
2026/08/06 19:36:24 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.38-r0.apk
+ echo 'uploaded dolt.sr.ht-0.0.38-r0.apk'
uploaded dolt.sr.ht-0.0.38-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
Build complete: success 11 days ago (took 58 seconds)