diff --git a/.github/workflows/build-humble-self-hosted.yaml b/.github/workflows/build-humble-self-hosted.yaml deleted file mode 100644 index 477a0d4567c26..0000000000000 --- a/.github/workflows/build-humble-self-hosted.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: build-humble-self-hosted - -on: - schedule: - - cron: 0 12 * * * - workflow_dispatch: - -jobs: - build-humble-self-hosted: - runs-on: [self-hosted, linux, ARM64] - container: ubuntu:22.04 - steps: - - name: Check out repository - uses: actions/checkout@v3 - with: - ref: humble - - - name: Run setup script - run: | - ./setup-dev-env.sh -y universe - - - name: Run vcs import - run: | - mkdir src - vcs import src < autoware.repos - - - name: Run vcs export - run: | - vcs export --exact src || true - - - name: Run rosdep install - run: | - sudo apt-get -y update - rosdep update - DEBIAN_FRONTEND=noninteractive rosdep install -y --from-paths src --ignore-src --rosdistro humble - - - name: Build - run: | - . /opt/ros/humble/setup.sh - colcon build --event-handlers console_cohesion+ --cmake-args -DCMAKE_BUILD_TYPE=Release diff --git a/.github/workflows/build-humble.yaml b/.github/workflows/build-humble.yaml deleted file mode 100644 index b8be1706cdb48..0000000000000 --- a/.github/workflows/build-humble.yaml +++ /dev/null @@ -1,45 +0,0 @@ -name: build-humble - -on: - schedule: - - cron: 0 12 * * * - workflow_dispatch: - -jobs: - build-humble: - runs-on: ubuntu-latest - container: ubuntu:22.04 - steps: - - name: Check out repository - uses: actions/checkout@v3 - with: - ref: humble - - - name: Run setup script - run: | - ./setup-dev-env.sh -y - - - name: Set git config - uses: autowarefoundation/autoware-github-actions/set-git-config@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Run vcs import - run: | - mkdir src - vcs import src < autoware.repos - - - name: Run vcs export - run: | - vcs export --exact src || true - - - name: Run rosdep install - run: | - sudo apt-get -y update - rosdep update - DEBIAN_FRONTEND=noninteractive rosdep install -y --from-paths src --ignore-src --rosdistro humble - - - name: Build - run: | - . /opt/ros/humble/setup.sh - colcon build --event-handlers console_cohesion+ --cmake-args -DCMAKE_BUILD_TYPE=Release diff --git a/.github/workflows/docker-build-and-push-humble-self-hosted.yaml b/.github/workflows/docker-build-and-push-humble-self-hosted.yaml deleted file mode 100644 index 805e5fdcb23d7..0000000000000 --- a/.github/workflows/docker-build-and-push-humble-self-hosted.yaml +++ /dev/null @@ -1,65 +0,0 @@ -name: docker-build-and-push-humble-self-hosted - -on: - push: - tags: - - v* - - "[0-9]+.[0-9]+*" - schedule: - - cron: 0 0 1,15 * * - workflow_dispatch: - -jobs: - docker-build-and-push-humble-self-hosted: - runs-on: [self-hosted, linux, ARM64] - strategy: - fail-fast: false - matrix: - name: - - no-cuda - - cuda - include: - - name: no-cuda - base_image_env: base_image - setup-args: --no-nvidia - additional-tag-suffix: "" - - name: cuda - base_image_env: cuda_base_image - setup-args: --no-cuda-drivers - additional-tag-suffix: -cuda - steps: - # https://github.com/actions/checkout/issues/211 - - name: Change permission of workspace - run: | - sudo chown -R $USER:$USER ${{ github.workspace }} - - - name: Check out repository - uses: actions/checkout@v3 - with: - ref: humble - - - name: Free disk space - uses: ./.github/actions/free-disk-space - - - name: Load env - run: | - cat amd64.env | sed -e "s/^\s*//" -e "/^#/d" >> $GITHUB_ENV - if [ "$(uname -m)" = "aarch64" ]; then - cat arm64.env | sed -e "s/^\s*//" -e "/^#/d" >> $GITHUB_ENV - fi - - - name: Build 'autoware-universe' - uses: ./.github/actions/docker-build-and-push - with: - bake-target: autoware-universe - build-args: | - *.platform=linux/arm64 - *.args.ROS_DISTRO=${{ env.rosdistro }} - *.args.BASE_IMAGE=${{ env[format('{0}', matrix.base_image_env)] }} - *.args.SETUP_ARGS=${{ matrix.setup-args }} - tag-prefix: ${{ env.rosdistro }}- - tag-suffix: ${{ matrix.additional-tag-suffix }}-arm64 - - - name: Show disk space - run: | - df -h diff --git a/.github/workflows/docker-build-and-push-humble.yaml b/.github/workflows/docker-build-and-push-humble.yaml deleted file mode 100644 index 50733f2415a33..0000000000000 --- a/.github/workflows/docker-build-and-push-humble.yaml +++ /dev/null @@ -1,60 +0,0 @@ -name: docker-build-and-push-humble - -on: - push: - tags: - - v* - - "[0-9]+.[0-9]+*" - schedule: - - cron: 0 0 1,15 * * - workflow_dispatch: - -jobs: - docker-build-and-push-humble: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - name: - - no-cuda - - cuda - include: - - name: no-cuda - base_image_env: base_image - setup-args: --no-nvidia - additional-tag-suffix: "" - - name: cuda - base_image_env: cuda_base_image - setup-args: --no-cuda-drivers - additional-tag-suffix: -cuda - steps: - - name: Check out repository - uses: actions/checkout@v3 - with: - ref: humble - - - name: Free disk space - uses: ./.github/actions/free-disk-space - - - name: Load env - run: | - cat amd64.env | sed -e "s/^\s*//" -e "/^#/d" >> $GITHUB_ENV - if [ "$(uname -m)" = "aarch64" ]; then - cat arm64.env | sed -e "s/^\s*//" -e "/^#/d" >> $GITHUB_ENV - fi - - - name: Build 'autoware-universe' - uses: ./.github/actions/docker-build-and-push - with: - bake-target: autoware-universe - build-args: | - *.platform=linux/amd64 - *.args.ROS_DISTRO=${{ env.rosdistro }} - *.args.BASE_IMAGE=${{ env[format('{0}', matrix.base_image_env)] }} - *.args.SETUP_ARGS=${{ matrix.setup-args }} - tag-prefix: ${{ env.rosdistro }}- - tag-suffix: ${{ matrix.additional-tag-suffix }}-amd64 - - - name: Show disk space - run: | - df -h