Skip to content

Commit 3fc6c17

Browse files
committed
chore(ci): improve actions output
1 parent 5509db4 commit 3fc6c17

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,14 @@ jobs:
205205
FILENAME=$(echo "$IMAGE" | tr '/:' '-').tar
206206
CACHE_PATH="/tmp/docker-images/$FILENAME"
207207
if [ -f "$CACHE_PATH" ]; then
208-
echo "Loading $IMAGE from cache"
208+
echo "::group::Loading $IMAGE from cache"
209209
docker load --input "$CACHE_PATH"
210+
echo "::endgroup::"
210211
else
211-
echo "Pulling $IMAGE from registry"
212+
echo "::group::Pulling $IMAGE from registry"
212213
docker pull "$IMAGE"
213-
echo "Saving $IMAGE for caching"
214214
docker save "$IMAGE" -o "$CACHE_PATH"
215+
echo "::endgroup::"
215216
fi
216217
done
217218
- name: Prepare environment
@@ -239,7 +240,7 @@ jobs:
239240
runs-on: ubuntu-latest
240241
env:
241242
CLUSTER_NAME: kind
242-
POPEYE_VERSION: v0.22.1
243+
POPEYE_VERSION: v0.22.1 # renovate: depName=derailed/popeye
243244
strategy:
244245
matrix:
245246
TEST_CASE:
@@ -254,7 +255,7 @@ jobs:
254255
cluster_name: ${{ env.CLUSTER_NAME }}
255256
- name: Install Popeye
256257
run: |
257-
curl -LO https://github.com/derailed/popeye/releases/download/${{ env.POPEYE_VERSION }}/popeye_linux_amd64.deb
258+
curl -sfOL https://github.com/derailed/popeye/releases/download/${{ env.POPEYE_VERSION }}/popeye_linux_amd64.deb
258259
sudo dpkg -i popeye_linux_amd64.deb
259260
- name: Use kubectl context
260261
run: |
@@ -274,8 +275,9 @@ jobs:
274275
FILENAME=$(echo "$IMAGE" | tr '/:' '-').tar
275276
CACHE_PATH="/tmp/docker-images/$FILENAME"
276277
if [ -f "$CACHE_PATH" ]; then
277-
echo "Loading $IMAGE from cache into kind cluster"
278+
echo "::group::Loading $IMAGE from cache into kind cluster"
278279
kind load image-archive "$CACHE_PATH"
280+
echo "::endgroup::"
279281
fi
280282
done
281283
- name: Download docker image artifacts
@@ -287,7 +289,9 @@ jobs:
287289
- name: Load downloaded docker images
288290
run: |
289291
for image in $(ls images/); do
292+
echo "::group::Loading $IMAGE from downloaded artifacts into kind cluster"
290293
kind load image-archive images/${image}
294+
echo "::endgroup::"
291295
done
292296
- name: Prepare environment
293297
run: |

0 commit comments

Comments
 (0)