From 04e69cd2b39a851909ba237f6a3c33afd8df552a Mon Sep 17 00:00:00 2001 From: Jari Hodju Date: Wed, 28 Feb 2024 14:26:48 +0200 Subject: [PATCH 1/2] Upgrade sdk and base images to v3.2.0 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c6d4363..92fd7f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Given dynamically from CI job. -FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/tiiuae/fog-ros-sdk:v3.1.0-${TARGETARCH:-amd64} AS builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/tiiuae/fog-ros-sdk:v3.2.0-${TARGETARCH:-amd64} AS builder # Must be defined another time after "FROM" keyword. ARG TARGETARCH @@ -14,7 +14,7 @@ RUN /packaging/build_colcon_sdk.sh ${TARGETARCH:-amd64} # Even though it is possible to tar the install directory for retrieving it later in runtime image, # the tar extraction in arm64 emulated on arm64 is still slow. So, we copy the install directory instead -FROM ghcr.io/tiiuae/fog-ros-baseimage:v3.1.0 +FROM ghcr.io/tiiuae/fog-ros-baseimage:v3.2.0 HEALTHCHECK --interval=5s \ CMD fog-health check --metric=location_update_count --diff-gte=5.0 \ From b8a5fa2ab3517cc22c209145d0126fe2d141b79b Mon Sep 17 00:00:00 2001 From: Jari Hodju Date: Thu, 29 Feb 2024 16:20:03 +0200 Subject: [PATCH 2/2] Free disk space before running build --- .github/workflows/tii-mocap-pose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tii-mocap-pose.yaml b/.github/workflows/tii-mocap-pose.yaml index 2e4832a..3eb3065 100644 --- a/.github/workflows/tii-mocap-pose.yaml +++ b/.github/workflows/tii-mocap-pose.yaml @@ -18,6 +18,9 @@ jobs: contents: read packages: write steps: + - name: Free up space + uses: jlumbroso/free-disk-space@main + - uses: actions/checkout@v4 with: submodules: recursive