From 7cdc745acd01cfefcd4b77b6d8c17a7d12103fb4 Mon Sep 17 00:00:00 2001 From: Erik Holum Date: Sun, 9 Jun 2024 12:48:57 -0400 Subject: [PATCH] Remove earthy build (issue space-ros/space-ros#158) --- .github/workflows/earthly-build.yaml | 54 ---------------------------- 1 file changed, 54 deletions(-) delete mode 100644 .github/workflows/earthly-build.yaml diff --git a/.github/workflows/earthly-build.yaml b/.github/workflows/earthly-build.yaml deleted file mode 100644 index 58e9354..0000000 --- a/.github/workflows/earthly-build.yaml +++ /dev/null @@ -1,54 +0,0 @@ -name: Earthly build -on: - workflow_dispatch: - push: - branches: ['main'] - tags: ['*'] - pull_request: - schedule: - - cron: '0 11 * * *' -jobs: - build-testing-results: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Set up earthly - run: | - sudo wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly - sudo chmod 755 /usr/local/bin/earthly - - name: Build Space ROS - id: build - run: | - cd spaceros - earthly --ci --output +sources - earthly --ci --output +build-testing - echo "archivename=$(basename log/build_results_archives/build_results_*.tar.bz2)" >> $GITHUB_ENV - - name: Upload build results archive - uses: actions/upload-artifact@v3 - with: - name: ${{env.archivename}} - path: spaceros/log/build_results_archives/${{env.archivename}} - if-no-files-found: error - space-ros-image: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Set up earthly - run: | - sudo wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly - sudo chmod 755 /usr/local/bin/earthly - - name: Build spaceros image - run: | - cd spaceros - earthly --ci --output +sources - earthly --ci +image - - name: Push spaceros image - env: - DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_RW_TOKEN }} - if: ${{ github.ref_type == 'tag' }} - run: | - echo $DOCKER_HUB_TOKEN | docker login --username osrfbot --password-stdin - cd spaceros - earthly --ci --push +image --tag=${{ github.ref_name }}