#296

~bigbes/ci-cacher/commits/publish.yml

success

46be89fEugene Blikh

install.sh: verify checksums without coreutils extensions; bump to 0.2.1

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

Artifacts

cacher-linux-amd64 10.0 MiB download »
cacher-linux-arm64 9.3 MiB download »
cacher-darwin-amd64 10.2 MiB download »
cacher-darwin-arm64 9.5 MiB download »
checksums.txt 342 Bytes download »
Build artifacts are pruned after 90 days.

Tasks

view log »
install_cacher view log »
cacher_init view log »
install_go view log »
install_hut view log »
install_goreleaser view log »
build view log »
package_pages view log »
publish_pages view log »
stage_artifacts 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[#296] 2026/08/06 22:09:27 Running build on srht-build-1.lab.local
[#296] 2026/08/06 22:09:27 Booting image ubuntu/noble (default) on port 22395
Waiting for VM to come up...
ssh: connect to host localhost port 22395: Connection refused
Attempt 1...
Warning: Permanently added '[localhost]:22395' (ED25519) to the list of known hosts.
Warning: Permanently added '[localhost]:22395' (ED25519) to the list of known hosts.
[#296] 2026/08/06 22:09:32 preconfigure: ok
[#296] 2026/08/06 22:09:32 Waiting for guest to settle
[#296] 2026/08/06 22:09:32 Sending tasks
[#296] 2026/08/06 22:09:34 Sending build environment
[#296] 2026/08/06 22:09:34 Sending secrets
[#296] 2026/08/06 22:09:34 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600
[#296] 2026/08/06 22:09:35 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46
[#296] 2026/08/06 22:09:35 Installing packages
Warning: Permanently added '[localhost]:22395' (ED25519) to the list of known hosts.
Hit:1 https://mirror.yandex.ru/ubuntu noble InRelease
Get:2 https://mirror.yandex.ru/ubuntu noble-security InRelease [126 kB]
Get:3 https://mirror.yandex.ru/ubuntu noble-updates InRelease [126 kB]
Get:4 https://mirror.yandex.ru/ubuntu noble-backports InRelease [126 kB]
Get:5 https://mirror.yandex.ru/ubuntu noble-security/main amd64 Packages [927 kB]
Get:6 https://mirror.yandex.ru/ubuntu noble-security/main Translation-en [201 kB]
Get:7 https://mirror.yandex.ru/ubuntu noble-security/restricted amd64 Packages [1320 kB]
Get:8 https://mirror.yandex.ru/ubuntu noble-security/restricted Translation-en [302 kB]
Get:9 https://mirror.yandex.ru/ubuntu noble-security/universe amd64 Packages [1199 kB]
Get:10 https://mirror.yandex.ru/ubuntu noble-security/universe Translation-en [239 kB]
Get:11 https://mirror.yandex.ru/ubuntu noble-updates/main amd64 Packages [1184 kB]
Get:12 https://mirror.yandex.ru/ubuntu noble-updates/main Translation-en [281 kB]
Get:13 https://mirror.yandex.ru/ubuntu noble-updates/restricted amd64 Packages [1414 kB]
Get:14 https://mirror.yandex.ru/ubuntu noble-updates/restricted Translation-en [320 kB]
Get:15 https://mirror.yandex.ru/ubuntu noble-updates/universe amd64 Packages [1682 kB]
Get:16 https://mirror.yandex.ru/ubuntu noble-updates/universe Translation-en [335 kB]
Fetched 9783 kB in 1s (7788 kB/s)
Reading package lists...
Warning: Permanently added '[localhost]:22395' (ED25519) to the list of known hosts.
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (8.5.0-2ubuntu10.11).
ca-certificates is already the newest version (20260601~24.04.1).
The following NEW packages will be installed:
  cmark
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 103 kB of archives.
After this operation, 339 kB of additional disk space will be used.
Get:1 https://mirror.yandex.ru/ubuntu noble/universe amd64 cmark amd64 0.30.2-6build1 [103 kB]
Fetched 103 kB in 1s (93.9 kB/s)
Selecting previously unselected package cmark.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 43936 files and directories currently installed.)
Preparing to unpack .../cmark_0.30.2-6build1_amd64.deb ...
Unpacking cmark (0.30.2-6build1) ...
Setting up cmark (0.30.2-6build1) ...
[#296] 2026/08/06 22:09:40 Cloning repositories
Cloning into 'ci-cacher'...
+ git -C ci-cacher checkout -q 46be89f3e30bff634a7699be89964749a16611d9
+ git -C ci-cacher submodule update --init --recursive
[#296] 2026/08/06 22:09:41 Running task install_cacher
[#296] 2026/08/06 22:09:41 Running task cacher_init
[#296] 2026/08/06 22:09:42 Running task install_go
[#296] 2026/08/06 22:09:44 Running task install_hut
[#296] 2026/08/06 22:10:05 Running task install_goreleaser
[#296] 2026/08/06 22:10:06 Running task build
[#296] 2026/08/06 22:11:49 Running task package_pages
[#296] 2026/08/06 22:11:51 Running task publish_pages
[#296] 2026/08/06 22:11:52 Running task stage_artifacts
[#296] 2026/08/06 22:11:52 Uploading cacher-linux-amd64
[#296] 2026/08/06 22:11:53 https://phoebe.lab.local:3900/srht/builds/~bigbes/296/23ac61be6b702ec4/cacher-linux-amd64
[#296] 2026/08/06 22:11:53 Uploading cacher-linux-arm64
[#296] 2026/08/06 22:11:53 https://phoebe.lab.local:3900/srht/builds/~bigbes/296/23ac61be6b702ec4/cacher-linux-arm64
[#296] 2026/08/06 22:11:53 Uploading cacher-darwin-amd64
[#296] 2026/08/06 22:11:53 https://phoebe.lab.local:3900/srht/builds/~bigbes/296/23ac61be6b702ec4/cacher-darwin-amd64
[#296] 2026/08/06 22:11:53 Uploading cacher-darwin-arm64
[#296] 2026/08/06 22:11:53 https://phoebe.lab.local:3900/srht/builds/~bigbes/296/23ac61be6b702ec4/cacher-darwin-arm64
[#296] 2026/08/06 22:11:53 Uploading checksums.txt
[#296] 2026/08/06 22:11:54 https://phoebe.lab.local:3900/srht/builds/~bigbes/296/23ac61be6b702ec4/checksums.txt
install_cacher
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
+ 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
+ cacher version
                       _
   ___ __ _  ___ _ __ | |__   ___ _ __
  / __/ _` |/ __| '_ \| '_ \ / _ \ '__|
 | (_| (_| | (__| | | | | | |  __/ |
  \___\__,_|\___|_| |_|_| |_|\___|_|
cacher: S3-backed CI cache helper for builds.sr.ht — replaces .builds/lib/ci-lib.sh
go.bigb.es/cacher

GitVersion:    0.2.0
GitCommit:     f26ddc0eb8a369d4d0d67f45824853cb36d789e2
GitTreeState:  dirty
BuildDate:     2026-08-06T21:58:15Z
BuiltBy:       unknown
Clean:         false
GoVersion:     go1.26.3
Compiler:      gc
ModuleSum:     unknown
Platform:      linux/amd64
cacher_init
1
2
3
4
5
6
7
8
9
+ cacher init --endpoint https://s3.bigb.es --region garage --bucket docker-cache --prefix ci-cacher/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=ci-cacher/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
install_go
1
2
3
4
5
6
7
8
+ GO_TARBALL=go1.26.3.linux-amd64.tar.gz
+ mkdir -p /home/build/.local
+ cacher download golang/go1.26.3.linux-amd64.tar.gz /tmp/go1.26.3.linux-amd64.tar.gz --url https://go.dev/dl/go1.26.3.linux-amd64.tar.gz
Cache HIT  — golang/go1.26.3.linux-amd64.tar.gz
+ tar -xz -C /home/build/.local -f /tmp/go1.26.3.linux-amd64.tar.gz
+ rm /tmp/go1.26.3.linux-amd64.tar.gz
+ go version
go version go1.26.3 linux/amd64
install_hut
1
2
3
4
5
6
7
8
9
10
11
12
13
14
+ go install git.sr.ht/~xenrox/hut@latest
go: downloading git.sr.ht/~xenrox/hut v0.8.0
go: downloading codeberg.org/emersion/go-scfg v0.1.0
go: downloading git.sr.ht/~emersion/gqlclient v0.0.0-20250318184027-d4a003529bba
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: downloading github.com/juju/ansiterm v1.0.0
go: downloading github.com/spf13/cobra v1.10.2
go: downloading golang.org/x/term v0.37.0
go: downloading github.com/spf13/pflag v1.0.10
go: downloading github.com/lunixbochs/vtclean v1.0.0
go: downloading golang.org/x/sys v0.38.0
+ hut version
hut v0.8.0-dev
install_goreleaser
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
+ GRL_TARBALL=goreleaser_v2.7.0_Linux_x86_64.tar.gz
+ cacher download goreleaser/goreleaser_v2.7.0_Linux_x86_64.tar.gz /tmp/goreleaser_v2.7.0_Linux_x86_64.tar.gz --url https://github.com/goreleaser/goreleaser/releases/download/v2.7.0/goreleaser_Linux_x86_64.tar.gz
Cache HIT  — goreleaser/goreleaser_v2.7.0_Linux_x86_64.tar.gz
+ tar -xz -C /home/build/.local/bin -f /tmp/goreleaser_v2.7.0_Linux_x86_64.tar.gz goreleaser
+ rm /tmp/goreleaser_v2.7.0_Linux_x86_64.tar.gz
+ goreleaser --version
  ____       ____      _
 / ___| ___ |  _ \ ___| | ___  __ _ ___  ___ _ __
| |  _ / _ \| |_) / _ \ |/ _ \/ _` / __|/ _ \ '__|
| |_| | (_) |  _ <  __/ |  __/ (_| \__ \  __/ |
 \____|\___/|_| \_\___|_|\___|\__,_|___/\___|_|
goreleaser: Release engineering, simplified.
https://goreleaser.com

GitVersion:    2.7.0
GitCommit:     8aacb197877091cea0d18523ad672eb99087b18d
GitTreeState:  false
BuildDate:     2025-02-11T01:08:18Z
BuiltBy:       goreleaser
GoVersion:     go1.23.6
Compiler:      gc
ModuleSum:     h1:Hvr/kXenZ+k/PWBT+MUwX/aq4+jSRFMg4MxSk4gvSL8=
Platform:      linux/amd64
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
+ cd ci-cacher
+ goreleaser release --clean --skip=validate,publish
  • skipping announce, publish, and validate...
  • cleaning distribution directory
  • loading environment variables
  • getting and validating git state
    • git state                                      commit=46be89f3e30bff634a7699be89964749a16611d9 branch=HEAD current_tag=v0.2.1 previous_tag=v0.2.0 dirty=false
    • pipe skipped                                   reason=validation is disabled
  • parsing tag
  • setting defaults
    • pipe skipped                                   reason=release is disabled
  • running before hooks
    • running                                        hook=go mod tidy
  • ensuring distribution directory
  • setting up metadata
  • writing release metadata
  • loading go mod information
  • build prerequisites
  • building binaries
    • building                                       binary=dist/cacher_linux_arm64_v8.0/cacher
    • building                                       binary=dist/cacher_linux_amd64_v1/cacher
    • building                                       binary=dist/cacher_darwin_amd64_v1/cacher
    • building                                       binary=dist/cacher_darwin_arm64_v8.0/cacher
    • took: 1m36s
  • archives
    • archiving                                      binary=cacher name=cacher_0.2.1_linux_amd64
    • archiving                                      binary=cacher name=cacher_0.2.1_darwin_amd64
    • archiving                                      binary=cacher name=cacher_0.2.1_linux_arm64
    • archiving                                      binary=cacher name=cacher_0.2.1_darwin_arm64
  • calculating checksums
  • writing artifacts metadata
  • release succeeded after 1m42s
  • thanks for using GoReleaser!
+ ls dist/
artifacts.json
cacher_darwin_amd64_v1
cacher_darwin_arm64_v8.0
cacher_linux_amd64_v1
cacher_linux_arm64_v8.0
checksums.txt
config.yaml
metadata.json
package_pages
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
++ cd ci-cacher
++ git describe --tags --abbrev=0
+ VERSION=v0.2.1
++ date -u +%Y-%m-%dT%H:%M:%SZ
+ BUILT=2026-08-06T22:11:49Z
+ mkdir -p /home/build/pages
+ cp ci-cacher/dist/cacher_linux_amd64_v1/cacher /home/build/pages/cacher-linux-amd64
+ cp ci-cacher/dist/cacher_linux_arm64_v8.0/cacher /home/build/pages/cacher-linux-arm64
+ cp ci-cacher/dist/cacher_darwin_amd64_v1/cacher /home/build/pages/cacher-darwin-amd64
+ cp ci-cacher/dist/cacher_darwin_arm64_v8.0/cacher /home/build/pages/cacher-darwin-arm64
+ chmod +x /home/build/pages/cacher-darwin-amd64 /home/build/pages/cacher-darwin-arm64 /home/build/pages/cacher-linux-amd64 /home/build/pages/cacher-linux-arm64
+ cp ci-cacher/install.sh /home/build/pages/install.sh
+ cd /home/build/pages
+ sha256sum cacher-darwin-amd64 cacher-darwin-arm64 cacher-linux-amd64 cacher-linux-arm64
+ cat /home/build/pages/checksums.txt
626ccd1a55b2b565c60095583c8f9cd5c956d9c456caab06caf0dc984c5368a1  cacher-darwin-amd64
79452e169b95b3246a1ed0fbcc699a1e1300688a21adeb3df893599db8e88136  cacher-darwin-arm64
bf9abf14508a4a83312f2c2d543c4291d043bace6c879f4509ffc1ad683eff34  cacher-linux-amd64
b7e2387e950627cb2ad3eb0fb99056f7a260a4648cb3dd73ea52ba6510ff44f0  cacher-linux-arm64
++ awk '/cacher-linux-amd64$/  {print $1}' /home/build/pages/checksums.txt
+ SHA_LA=bf9abf14508a4a83312f2c2d543c4291d043bace6c879f4509ffc1ad683eff34
++ awk '/cacher-linux-arm64$/  {print $1}' /home/build/pages/checksums.txt
+ SHA_LAR=b7e2387e950627cb2ad3eb0fb99056f7a260a4648cb3dd73ea52ba6510ff44f0
++ awk '/cacher-darwin-amd64$/ {print $1}' /home/build/pages/checksums.txt
+ SHA_DA=626ccd1a55b2b565c60095583c8f9cd5c956d9c456caab06caf0dc984c5368a1
++ awk '/cacher-darwin-arm64$/ {print $1}' /home/build/pages/checksums.txt
+ SHA_DAR=79452e169b95b3246a1ed0fbcc699a1e1300688a21adeb3df893599db8e88136
+ cmark --to html ci-cacher/CHANGELOG.md
+ sed '/<h1>Changelog<\/h1>/d'
+ sed -e 's|<h3|<h4|g; s|</h3>|</h4>|g; s|<h2|<h3|g; s|</h2>|</h3>|g'
+ sed -e 's|{{VERSION}}|v0.2.1|g' -e 's|{{BUILT}}|2026-08-06T22:11:49Z|g' -e 's|{{SHA_LINUX_AMD64}}|bf9abf14508a4a83312f2c2d543c4291d043bace6c879f4509ffc1ad683eff34|g' -e 's|{{SHA_LINUX_ARM64}}|b7e2387e950627cb2ad3eb0fb99056f7a260a4648cb3dd73ea52ba6510ff44f0|g' -e 's|{{SHA_DARWIN_AMD64}}|626ccd1a55b2b565c60095583c8f9cd5c956d9c456caab06caf0dc984c5368a1|g' -e 's|{{SHA_DARWIN_ARM64}}|79452e169b95b3246a1ed0fbcc699a1e1300688a21adeb3df893599db8e88136|g' ci-cacher/docs/index.html
+ sed -e '/{{CHANGELOG}}/r /tmp/changelog.html' -e '/{{CHANGELOG}}/d'
+ cd /home/build/pages
+ tar -czvf /home/build/site.tar.gz .
./
./cacher-darwin-amd64
./checksums.txt
./cacher-darwin-arm64
./install.sh
./index.html
./cacher-linux-amd64
./cacher-linux-arm64
publish_pages
1
2
3
+ sed -i 's|http://pages:5112|https://pages.srht.bigb.es|' /home/build/.config/hut/config
+ hut pages publish -d bigbes.pages.srht.bigb.es -s /ci-cacher /home/build/site.tar.gz
Published site at bigbes.pages.srht.bigb.es
stage_artifacts
1
2
3
4
5
+ cp /home/build/pages/cacher-linux-amd64 /home/build/
+ cp /home/build/pages/cacher-linux-arm64 /home/build/
+ cp /home/build/pages/cacher-darwin-amd64 /home/build/
+ cp /home/build/pages/cacher-darwin-arm64 /home/build/
+ cp /home/build/pages/checksums.txt /home/build/
Build complete: success 11 days ago (took 2 minutes)