From 49ed880db2cfd4cb7a958e456bbad7bea9279894 Mon Sep 17 00:00:00 2001 From: Jari Hodju Date: Thu, 29 Feb 2024 08:33:05 +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 1180721..3b1892b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -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 @@ -15,7 +15,7 @@ RUN /packaging/build_colcon_sdk.sh ${TARGETARCH:-amd64} # ▲ runtime ──┐ # └── build ▼ -FROM ghcr.io/tiiuae/fog-ros-baseimage:v3.1.0 +FROM ghcr.io/tiiuae/fog-ros-baseimage:v3.2.0 # ENTRYPOINT exec ros-with-env ros2 run ros2_gremsy gremsy_node --ros-args --remap __ns:=/$DRONE_DEVICE_ID -p com_port:=/dev/ttyUSB0 ENTRYPOINT [ "/entrypoint.sh" ] From 036d22b8305b3fbcff9d5fe35d3126b3a4f1f2da Mon Sep 17 00:00:00 2001 From: Jari Hodju Date: Thu, 29 Feb 2024 16:28:30 +0200 Subject: [PATCH 2/2] Free disk space before build --- .github/workflows/tii-gremsy.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tii-gremsy.yaml b/.github/workflows/tii-gremsy.yaml index 9e3574f..a8ffa60 100644 --- a/.github/workflows/tii-gremsy.yaml +++ b/.github/workflows/tii-gremsy.yaml @@ -13,6 +13,9 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Free up space + uses: jlumbroso/free-disk-space@main + - uses: actions/checkout@v4 with: submodules: recursive