@@ -13,17 +13,18 @@ jobs:
13
13
fail-fast : false # let other jobs try to complete if one fails
14
14
matrix :
15
15
include :
16
- - { id: "default-amd64", extraDockerOpts: "-e ENABLE_MANIFEST_CACHE=false", runner: "ubuntu-22.04" }
17
- - { id: "default-arm64", extraDockerOpts: "-e ENABLE_MANIFEST_CACHE=false", runner: "ubuntu-22.04-arm" }
18
-
16
+ - { id: "default-amd64", extraDockerOpts: "", runner: "ubuntu-22.04" }
17
+ - { id: "default-arm64", extraDockerOpts: "", runner: "ubuntu-22.04-arm" }
18
+ - { id: "manifest-cache", extraDockerOpts: "-e ENABLE_MANIFEST_CACHE=true", runner: "ubuntu-22.04" }
19
+ - { id: "disable-ipv6", extraDockerOpts: "-e DISABLE_IPV6=true", runner: "ubuntu-22.04" }
19
20
20
21
runs-on : " ${{ matrix.runner }}"
21
22
name : " ${{ matrix.id }} (${{ matrix.extraDockerOpts }})"
22
23
steps :
23
24
24
- - name : Install pipetty and ccze
25
+ - name : Install pipetty and ccze and jq
25
26
run : |
26
- sudo apt-get install -y colorized-logs ccze
27
+ sudo apt-get -o "DPkg::Use-Pty=false" -q install -y colorized-logs ccze jq
27
28
28
29
- name : Get machine's first IPv4 address for eth0
29
30
id : ip
@@ -158,7 +159,12 @@ jobs:
158
159
docker logs docker_registry_proxy > cold_cache.txt
159
160
160
161
- name : " LOG: cold_cache.txt"
161
- run : pipetty ccze -A < cold_cache.txt
162
+ run : |
163
+ pipetty ccze -A < cold_cache.txt
164
+
165
+ - name : " JSON: cold_cache.txt"
166
+ run : |
167
+ grep '^{"' cold_cache.txt | pipetty jq .
162
168
163
169
- name : prune all unused images from docker cache again
164
170
timeout-minutes : 1
@@ -180,5 +186,12 @@ jobs:
180
186
docker logs docker_registry_proxy > warm_cache.txt
181
187
182
188
- name : " LOG: warm_cache.txt"
183
- run : pipetty ccze -A < warm_cache.txt
189
+ run : |
190
+ pipetty ccze -A < warm_cache.txt
191
+ echo "--------------------------------------------------------------"
192
+ grep '^{"' warm_cache.txt | pipetty jq .
193
+
194
+ - name : " JSON: warm_cache.txt"
195
+ run : |
196
+ grep '^{"' warm_cache.txt | pipetty jq .
184
197
0 commit comments