From a1fe08cb8d3b9fdad20424847ed9bc91fb4d010e Mon Sep 17 00:00:00 2001 From: Trey Smith Date: Thu, 8 Feb 2024 15:53:13 -0500 Subject: [PATCH] Try to make ci_pr.yml use less space (#135) --- .github/workflows/ci_pr.yml | 42 ++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_pr.yml b/.github/workflows/ci_pr.yml index 6cc8b9ec..5e3a00d9 100644 --- a/.github/workflows/ci_pr.yml +++ b/.github/workflows/ci_pr.yml @@ -25,5 +25,45 @@ jobs: submodules: recursive path: isaac/ + # This version is more elegant but currently uses too much space for GitHub CI workers + #- name: Build code for isaac:astrobee Ubuntu 20 + # run: isaac/scripts/docker/build.sh --remote --focal --astrobee-source-path astrobee/ + + # These steps were copied verbatim from ci_push.yml which seems to use less space. - name: Build code for isaac:astrobee Ubuntu 20 - run: isaac/scripts/docker/build.sh --remote --focal --astrobee-source-path astrobee/ + run: docker build isaac -f isaac/scripts/docker/isaac_astrobee.Dockerfile + --build-arg UBUNTU_VERSION=20.04 + --build-arg ROS_VERSION=noetic + --build-arg PYTHON=3 + --build-arg REMOTE=ghcr.io/nasa + -t ghcr.io/${{ github.repository_owner }}/isaac:latest-astrobee-ubuntu20.04 + + - name: Build code for isaac:latest Ubuntu 20 + run: docker build isaac -f isaac/scripts/docker/isaac.Dockerfile + --build-arg UBUNTU_VERSION=20.04 + --build-arg ROS_VERSION=noetic + --build-arg PYTHON=3 + --build-arg REMOTE=ghcr.io/nasa + -t ghcr.io/${{ github.repository_owner }}/isaac:latest-ubuntu20.04 + + - name: Build messages dockers for Ubuntu 20 (astrobee) + run: docker build astrobee -f isaac/scripts/docker/astrobee_msgs.Dockerfile + --build-arg UBUNTU_VERSION=20.04 + --build-arg ROS_VERSION=noetic + --build-arg PYTHON=3 + -t ghcr.io/${{ github.repository_owner }}/isaac:astrobee-msgs-ubuntu20.04 + + - name: Build messages dockers for Ubuntu 20 (isaac) + run: docker build isaac -f isaac/scripts/docker/isaac_msgs.Dockerfile + --build-arg UBUNTU_VERSION=20.04 + --build-arg ROS_VERSION=noetic + --build-arg PYTHON=3 + --build-arg REMOTE=ghcr.io/nasa + -t ghcr.io/${{ github.repository_owner }}/isaac:msgs-ubuntu20.04 + + # Temp disabling the analyst build because it has a new version conflict issue. We should + # re-enable once that issue is solved. + #- name: Build analyst image isaac/isaac:msgs-ubuntu20.04 + # run: docker build isaac -f isaac/scripts/docker/analyst.Dockerfile + # --build-arg REMOTE=ghcr.io/nasa + # -t ghcr.io/${{ github.repository_owner }}/isaac_analyst_notebook:latest