~emersion/#1370764

success

ci: use latest podman release

2a95258fd2 — Simon Ser

Owner
~emersion
Created
a month ago
Updated
a month ago
Build manifest
view manifest »

Tasks

view log »
build view log »
deploy 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[#1370764] 2024/11/18 17:00:18 Booting image archlinux (default) on port 22964
[#1370764] 2024/11/18 17:00:18 Waiting for guest to settle
[#1370764] 2024/11/18 17:00:28 Sending tasks
[#1370764] 2024/11/18 17:00:29 Sending build environment
[#1370764] 2024/11/18 17:00:29 Sending secrets
[#1370764] 2024/11/18 17:00:29 Resolving secret 106c7011-4e0e-4b33-a3f2-ffea55ce3f4b
[#1370764] 2024/11/18 17:00:30 Installing packages
Warning: Permanently added '[localhost]:22964' (ED25519) to the list of known hosts.
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
warning: archlinux-keyring-20241015-1 is up to date -- skipping
 there is nothing to do
Warning: Permanently added '[localhost]:22964' (ED25519) to the list of known hosts.
nothing to do
Warning: Permanently added '[localhost]:22964' (ED25519) to the list of known hosts.
Sync Explicit (1): podman-5.3.0-1
resolving dependencies...
:: There are 2 providers available for oci-runtime:
:: Repository extra
   1) crun  2) runc

Enter a number (default=1): 
looking for conflicting packages...

Packages (21) aardvark-dns-1.13.1-1  abseil-cpp-20240722.0-1  catatonit-0.2.0-3  conmon-1:2.1.12-1  containers-common-1:0.60.4-2  criu-4.0-1  crun-1.18.2-1  gtest-1.15.2-1  libbsd-0.12.2-2  libdrm-2.4.123-1  libmd-1.1.0-2  libnet-2:1.3-1  libpciaccess-0.18.1-2  netavark-1.13.0-1  nftables-1:1.1.1-1  passt-2024_10_30.ee7d0b6-1  protobuf-28.3-1  protobuf-c-1.5.0-8  python-protobuf-28.3-1  yajl-2.1.0-6  podman-5.3.0-1

Total Download Size:    36.49 MiB
Total Installed Size:  134.15 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 podman-5.3.0-1-x86_64 downloading...
 netavark-1.13.0-1-x86_64 downloading...
 protobuf-28.3-1-x86_64 downloading...
 abseil-cpp-20240722.0-1-x86_64 downloading...
 aardvark-dns-1.13.1-1-x86_64 downloading...
 criu-4.0-1-x86_64 downloading...
 gtest-1.15.2-1-x86_64 downloading...
 python-protobuf-28.3-1-x86_64 downloading...
 nftables-1:1.1.1-1-x86_64 downloading...
 libdrm-2.4.123-1-x86_64 downloading...
 libnet-2:1.3-1-x86_64 downloading...
 catatonit-0.2.0-3-x86_64 downloading...
 crun-1.18.2-1-x86_64 downloading...
 passt-2024_10_30.ee7d0b6-1-x86_64 downloading...
 libbsd-0.12.2-2-x86_64 downloading...
 protobuf-c-1.5.0-8-x86_64 downloading...
 containers-common-1:0.60.4-2-any downloading...
 yajl-2.1.0-6-x86_64 downloading...
 libmd-1.1.0-2-x86_64 downloading...
 conmon-1:2.1.12-1-x86_64 downloading...
 libpciaccess-0.18.1-2-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing catatonit...
installing conmon...
installing aardvark-dns...
installing netavark...
installing containers-common...
installing yajl...
installing libmd...
installing libbsd...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool
installing libnet...
installing nftables...
Optional dependencies for nftables
    python: Python bindings [installed]
installing gtest...
Optional dependencies for gtest
    python: gmock generator [installed]
installing abseil-cpp...
installing protobuf...
installing protobuf-c...
installing python-protobuf...
installing criu...
installing crun...
installing passt...
Optional dependencies for passt
    sh: for demo script [installed]
installing podman...
Optional dependencies for podman
    apparmor: for AppArmor support
    btrfs-progs: support btrfs backend devices
    cni-plugins: for an alternative container-network-stack implementation
    fuse-overlayfs: for storage driver in rootless environment
    slirp4netns: for alternative rootless network support
    podman-compose: for docker-compose compatibility
    podman-docker: for Docker-compatible CLI
:: Running post-transaction hooks...
(1/4) Reloading system manager configuration...
(2/4) Reloading user manager configuration...
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
[#1370764] 2024/11/18 17:00:32 Cloning repositories
Cloning into 'soju-containers'...
+ cd soju-containers
+ git checkout -q 2a95258fd29e7c0e21bd94d858d29135204a8cd2
+ cd soju-containers
+ git submodule update --init --recursive
[#1370764] 2024/11/18 17:00:33 Running task build
[#1370764] 2024/11/18 17:01:48 Running task deploy
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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
+ cd soju-containers
+ podman build --target soju --tag soju .
[1/4] STEP 1/5: FROM docker.io/library/golang:alpine AS soju-build
Trying to pull docker.io/library/golang:alpine...
Getting image source signatures
Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Copying blob sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f
Copying blob sha256:c79bddf330f7de2b96b69740174bc7152350ef81439db2dfa776fc3a9365dc80
Copying blob sha256:5418e60db87de98b06e455a400579c7f27106374f3450aef2951989cf6c7f536
Copying blob sha256:f115f9222c8e1a0a23300412608c2f4a3d45a6a471af693ed24f073d76d9f288
Copying config sha256:98069ee7ef5d97727559513880f76a2de6a1656a51f3685e074309a1b14f7718
Writing manifest to image destination
[1/4] STEP 2/5: RUN --mount=type=cache,target=/var/cache/apk 	apk -U add build-base ca-certificates tzdata
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/22) Installing libgcc (13.2.1_git20240309-r0)
(2/22) Installing jansson (2.14-r4)
(3/22) Installing libstdc++ (13.2.1_git20240309-r0)
(4/22) Installing zstd-libs (1.5.6-r0)
(5/22) Installing binutils (2.42-r0)
(6/22) Installing libmagic (5.45-r1)
(7/22) Installing file (5.45-r1)
(8/22) Installing libgomp (13.2.1_git20240309-r0)
(9/22) Installing libatomic (13.2.1_git20240309-r0)
(10/22) Installing gmp (6.3.0-r1)
(11/22) Installing isl26 (0.26-r1)
(12/22) Installing mpfr4 (4.2.1-r0)
(13/22) Installing mpc1 (1.3.1-r1)
(14/22) Installing gcc (13.2.1_git20240309-r0)
(15/22) Installing libstdc++-dev (13.2.1_git20240309-r0)
(16/22) Installing musl-dev (1.2.5-r0)
(17/22) Installing g++ (13.2.1_git20240309-r0)
(18/22) Installing make (4.4.1-r2)
(19/22) Installing fortify-headers (1.1-r3)
(20/22) Installing patch (2.7.6-r10)
(21/22) Installing build-base (0.5-r3)
(22/22) Installing tzdata (2024b-r0)
Executing busybox-1.36.1-r29.trigger
OK: 226 MiB in 37 packages
--> af28bbb3c058
[1/4] STEP 3/5: ADD https://codeberg.org/emersion/soju.git /src/
--> 05ac51e715a5
[1/4] STEP 4/5: WORKDIR /src
--> 5c4f87dcb9a1
[1/4] STEP 5/5: RUN --mount=type=cache,target=/root/.cache/go-build 	--mount=type=cache,target=/root/go/pkg/mod 	go build -o . 		-ldflags "-linkmode=external -extldflags=-static 		-X codeberg.org/emersion/soju/config.DefaultPath=/soju-config 		-X codeberg.org/emersion/soju/config.DefaultUnixAdminPath=/soju-admin.sock" 		./cmd/...
go: downloading gopkg.in/irc.v4 v4.0.0
go: downloading golang.org/x/crypto v0.27.0
go: downloading git.sr.ht/~emersion/go-scfg v0.0.0-20240128091534-2ae16e782082
go: downloading github.com/pires/go-proxyproto v0.7.0
go: downloading github.com/prometheus/client_golang v1.20.4
go: downloading git.sr.ht/~emersion/go-sqlite3-fts5 v0.0.0-20240124102820-f3a72e8b79b1
go: downloading github.com/lib/pq v1.10.9
go: downloading github.com/mattn/go-sqlite3 v1.14.23
go: downloading golang.org/x/time v0.6.0
go: downloading github.com/SherClockHolmes/webpush-go v1.3.0
go: downloading github.com/coder/websocket v1.8.12
go: downloading github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/client_model v0.6.1
go: downloading github.com/prometheus/common v0.59.1
go: downloading github.com/prometheus/procfs v0.15.1
go: downloading google.golang.org/protobuf v1.34.2
go: downloading github.com/klauspost/compress v1.17.9
go: downloading golang.org/x/term v0.24.0
go: downloading git.sr.ht/~sircmpwn/go-bare v0.0.0-20210406120253-ab86bc2846d9
go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading golang.org/x/sys v0.25.0
--> ec3c3bb49b18
[4/4] STEP 1/6: FROM scratch AS soju
[4/4] STEP 2/6: COPY --from=soju-build /src/soju /src/sojudb /src/sojuctl /
--> 38087b7fc7bf
[4/4] STEP 3/6: COPY --from=soju-build /usr/share/zoneinfo /usr/share/zoneinfo
--> cfeda3795184
[4/4] STEP 4/6: COPY --from=soju-build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
--> 03f583f6bd37
[4/4] STEP 5/6: ENTRYPOINT ["/soju"]
--> f7487a7f7de0
[4/4] STEP 6/6: HEALTHCHECK CMD ["/sojuctl", "help"]
[4/4] COMMIT soju
time="2024-11-18T17:01:30Z" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> 99a292f0ae22
Successfully tagged localhost/soju:latest
99a292f0ae22f632d439200b59893cf46f79649bc53797af190549493f73c17d
+ podman build --target gamja --tag gamja .
[2/5] STEP 1/5: FROM docker.io/library/golang:alpine AS kimchi-build
[2/5] STEP 2/5: ADD https://git.sr.ht/~emersion/kimchi/archive/master.tar.gz /src/
--> 2d1faac6b863
[2/5] STEP 3/5: WORKDIR /src
--> 40e67b5296c5
[2/5] STEP 4/5: RUN tar --strip-components=1 -xf master.tar.gz
--> c6916a3b481f
[2/5] STEP 5/5: RUN --mount=type=cache,target=/root/.cache/go-build 	--mount=type=cache,target=/root/go/pkg/mod 	go build
go: downloading git.sr.ht/~emersion/go-scfg v0.0.0-20240128091534-2ae16e782082
go: downloading github.com/pires/go-proxyproto v0.7.0
go: downloading golang.org/x/net v0.22.0
go: downloading golang.org/x/text v0.14.0
--> ca65bab86aad
[3/5] STEP 1/4: FROM docker.io/library/node:alpine AS gamja-build
Trying to pull docker.io/library/node:alpine...
Getting image source signatures
Copying blob sha256:a5c5ecca157bb8fd977d211aa365385a7461e4431c1c034cc9e7fb92ee88a968
Copying blob sha256:c5fe7dee25208c6748ad05c572e5abf0b61ec799bc73fcf20e6cfe58088833c2
Copying blob sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f
Copying blob sha256:82a77b39fd1829672d28d644c144624500360ef0ea67725e2700abd2379f3ad2
Copying config sha256:553a52ccb5ff87022da26271235c86d86060d20c11d2a0ab3515f62b9b072d41
Writing manifest to image destination
[3/5] STEP 2/4: ADD https://codeberg.org/emersion/gamja.git /src/
--> 9e22bd83c196
[3/5] STEP 3/4: WORKDIR /src
--> 24a3d9d49888
[3/5] STEP 4/4: RUN --mount=type=cache,target=/src/node_modules 	--mount=type=cache,target=/src/.parcel-cache 	npm install --include=dev && npm run build
(node:2) ExperimentalWarning: CommonJS module /usr/local/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/local/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
npm warn deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility

added 279 packages, and audited 280 packages in 6s

109 packages are looking for funding
  run `npm fund` for details

5 vulnerabilities (3 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

> build
> parcel build

78(node:58) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Building...
Bundling...
Packaging & Optimizing...
✨ Built in 1.02s

dist/index.html                  574 B    315ms
dist/manifest.webmanifest         99 B    183ms
dist/index.83982b15.css       10.16 KB    200ms
dist/index.c8e052b6.js       145.97 KB    383ms
--> d298376893be
[5/5] STEP 1/5: FROM scratch AS gamja
[5/5] STEP 2/5: COPY --from=kimchi-build /src/kimchi /kimchi
--> 3114d6b868fd
[5/5] STEP 3/5: COPY --from=gamja-build /src/dist /gamja
--> 5af34394a64e
[5/5] STEP 4/5: ADD kimchi-config /kimchi-config
--> 4c02561f126d
[5/5] STEP 5/5: CMD ["/kimchi", "-config", "/kimchi-config"]
[5/5] COMMIT gamja
--> 6e2187b8e7e6
Successfully tagged localhost/gamja:latest
6e2187b8e7e69eebe89ffc2cd1a8bb9d2702cf8ee83cfc6b248c46599d1f2d0c
deploy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
+ cd soju-containers
++ git rev-parse HEAD
++ git rev-parse origin/master
+ '[' 2a95258fd29e7c0e21bd94d858d29135204a8cd2 = 2a95258fd29e7c0e21bd94d858d29135204a8cd2 ']'
+ podman login codeberg.org --username emersion --password-stdin
Login Succeeded!
+ podman push soju codeberg.org/emersion/soju
Getting image source signatures
Copying blob sha256:091bc22e04669a4ccd45454bd98b0d4e574de4dcfad20ec6aa86588a6f402ebe
Copying blob sha256:966ba1bb2b66e4fb2916ba6c0dedaf0b5ecebd0479db1ecd7e0e370f2f3016c8
Copying blob sha256:7f197583e712619a25c280409a04734d451989a5386d48d56aae020fc01ba2d1
Copying config sha256:99a292f0ae22f632d439200b59893cf46f79649bc53797af190549493f73c17d
Writing manifest to image destination
+ podman push gamja codeberg.org/emersion/gamja
Getting image source signatures
Copying blob sha256:2c7921439faed345c42415c80b18725be8f85aa7f55ba4c9a2d576b6db39d04a
Copying blob sha256:1b779d0379e9c8b916c8e3a1bade6d07404704e49b5de78bc9693712cb2278b3
Copying blob sha256:4477a7a589d35ef627878a80476617aaba1b1fe60d1e3a3aff9ffe63ca823658
Copying config sha256:6e2187b8e7e69eebe89ffc2cd1a8bb9d2702cf8ee83cfc6b248c46599d1f2d0c
Writing manifest to image destination
Build complete: success a month ago (took a minute)