From 3b6e855c7ecc6fc95462aef0e7957f6cd57b0b37 Mon Sep 17 00:00:00 2001 From: HirakawaTakara Date: Mon, 15 Dec 2025 01:51:02 +0000 Subject: [PATCH] Unsupport arm64 for CI --- .github/workflows/build-sdk.yml | 6 --- .github/workflows/build.yml | 6 --- .github/workflows/builder.yml | 58 +-------------------------- .github/workflows/release.yml | 70 --------------------------------- .github/workflows/test.yml | 10 +---- 5 files changed, 3 insertions(+), 147 deletions(-) diff --git a/.github/workflows/build-sdk.yml b/.github/workflows/build-sdk.yml index c48a491..45c16f8 100644 --- a/.github/workflows/build-sdk.yml +++ b/.github/workflows/build-sdk.yml @@ -34,12 +34,6 @@ jobs: fail-fast: false matrix: include: - - name: raspios-bookworm - runner: ubuntu-22.04-4core-arm64 - platform: arm64 - - name: ubuntu-noble - runner: ubuntu-22.04-4core-arm64 - platform: arm64 - name: ubuntu-noble runner: ubuntu-22.04 platform: amd64 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 949e4a1..f8fe4df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,12 +34,6 @@ jobs: fail-fast: false matrix: include: - - name: raspios-bookworm - runner: ubuntu-22.04-4core-arm64 - platform: arm64 - - name: ubuntu-noble - runner: ubuntu-22.04-4core-arm64 - platform: arm64 - name: ubuntu-noble runner: ubuntu-22.04 platform: amd64 diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 1a0f657..abc96b1 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -53,7 +53,6 @@ jobs: with: files: | .devcontainer/ubuntu/Dockerfile - .devcontainer/raspi/Dockerfile .github/workflows/builder.yml - name: Set builder tag @@ -71,35 +70,6 @@ jobs: echo "$file" done - build-push-raspi: - name: Build and push raspios bookworm builder - if: ${{ needs.builder-necessary.outputs.build == 'true' }} - needs: - - builder-necessary - runs-on: ubuntu-22.04-4core-arm64 - - steps: - - name: Checkout the code - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Github Registry - uses: docker/login-action@v3 - with: - username: ${{ github.actor }} - password: ${{ github.token }} - registry: ghcr.io - - - name: Build and push raspios bookworm builder - uses: docker/build-push-action@v5 - with: - context: .devcontainer/raspi - file: .devcontainer/raspi/Dockerfile - push: true - tags: ghcr.io/${{ inputs.package-namespace }}/builder-raspios-bookworm:${{ needs.builder-necessary.outputs.builder-tag }} - build-push-ubuntu: name: Build and push ubuntu noble (${{ matrix.platform }}) if: ${{ needs.builder-necessary.outputs.build == 'true' }} @@ -112,8 +82,6 @@ jobs: include: - platform: amd64 runner: ubuntu-22.04 - - platform: arm64 - runner: ubuntu-22.04-4core-arm64 steps: - name: Checkout the code @@ -136,28 +104,4 @@ jobs: file: .devcontainer/ubuntu/Dockerfile push: true provenance: false - tags: ghcr.io/${{ inputs.package-namespace }}/builder-ubuntu-noble:${{ needs.builder-necessary.outputs.builder-tag }}-${{ matrix.platform }} - - manifest-ubuntu: - if: ${{ needs.builder-necessary.outputs.build == 'true' }} - needs: - - builder-necessary - - build-push-ubuntu - name: Docker manifest - runs-on: ubuntu-22.04 - - steps: - - name: Login to Github Registry - uses: docker/login-action@v3 - with: - username: ${{ github.actor }} - password: ${{ github.token }} - registry: ghcr.io - - - name: Create and push multiarch manifests - run: | - docker manifest create \ - ghcr.io/${{ inputs.package-namespace }}/builder-ubuntu-noble:${{ needs.builder-necessary.outputs.builder-tag }} \ - ghcr.io/${{ inputs.package-namespace }}/builder-ubuntu-noble:${{ needs.builder-necessary.outputs.builder-tag }}-amd64 \ - ghcr.io/${{ inputs.package-namespace }}/builder-ubuntu-noble:${{ needs.builder-necessary.outputs.builder-tag }}-arm64 - docker manifest push ghcr.io/${{ inputs.package-namespace }}/builder-ubuntu-noble:${{ needs.builder-necessary.outputs.builder-tag }} + tags: ghcr.io/${{ inputs.package-namespace }}/builder-ubuntu-noble:${{ needs.builder-necessary.outputs.builder-tag }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 96b26ee..ff3fdac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,66 +35,6 @@ jobs: ) test -z $last_run_id && echo "cannot find last successful run_id" && exit 1 || echo "last_run_id=$last_run_id" && echo "last_run_id=$last_run_id" >> $GITHUB_OUTPUT - - name: Download Python SDK (RaspiOS bookworm ARM64) - uses: actions/download-artifact@v4 - env: - LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} - with: - name: python-sdk-raspios-bookworm-arm64-${{ env.LAST_RUN_ID }} - run-id: ${{ env.LAST_RUN_ID }} - path: dist-raspios-bookworm-arm64 - github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - - - name: Download Python SDK deb (RaspiOS bookworm ARM64) - uses: actions/download-artifact@v4 - env: - LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} - with: - name: python-sdk-deb-raspios-bookworm-arm64-${{ env.LAST_RUN_ID }} - run-id: ${{ env.LAST_RUN_ID }} - path: dist-raspios-bookworm-arm64 - github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - - - name: Download Agent deb (RaspiOS bookworm ARM64) - uses: actions/download-artifact@v4 - env: - LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} - with: - name: agent-deb-raspios-bookworm-arm64-${{ env.LAST_RUN_ID }} - run-id: ${{ env.LAST_RUN_ID }} - path: dist-raspios-bookworm-arm64 - github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - - - name: Download Python SDK (Ubuntu noble ARM64) - uses: actions/download-artifact@v4 - env: - LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} - with: - name: python-sdk-ubuntu-noble-arm64-${{ env.LAST_RUN_ID }} - run-id: ${{ env.LAST_RUN_ID }} - path: dist-ubuntu-noble-arm64 - github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - - - name: Download Python SDK deb (Ubuntu noble ARM64) - uses: actions/download-artifact@v4 - env: - LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} - with: - name: python-sdk-deb-ubuntu-noble-arm64-${{ env.LAST_RUN_ID }} - run-id: ${{ env.LAST_RUN_ID }} - path: dist-ubuntu-noble-arm64 - github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - - - name: Download Agent deb (Ubuntu noble ARM64) - uses: actions/download-artifact@v4 - env: - LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} - with: - name: agent-deb-ubuntu-noble-arm64-${{ env.LAST_RUN_ID }} - run-id: ${{ env.LAST_RUN_ID }} - path: dist-ubuntu-noble-arm64 - github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - - name: Download Python SDK (Ubuntu noble AMD64) uses: actions/download-artifact@v4 env: @@ -143,10 +83,6 @@ jobs: mv $deb $(echo $deb | sed -E 's/(.*)_([^_]*).deb/\1-ubuntu-noble_\2.deb/'); done - for deb in dist-raspios-bookworm-*/*.deb; do - mv $deb $(echo $deb | sed -E 's/(.*)_([^_]*).deb/\1-raspios-bookworm_\2.deb/'); - done - - name: Create a zip for sbom run: | set -x @@ -159,12 +95,6 @@ jobs: - name: List files in dist-ubuntu-noble-amd64 run: ls -la dist-ubuntu-noble-amd64 - - name: List files in dist-ubuntu-noble-arm64 - run: ls -la dist-ubuntu-noble-arm64 - - - name: List files in dist-raspios-bookworm-arm64 - run: ls -la dist-raspios-bookworm-arm64 - - name: Push artifacts to release uses: softprops/action-gh-release@v2 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e670e01..9b85696 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,12 +34,6 @@ jobs: fail-fast: false matrix: include: - - name: raspios-bookworm - runner: ubuntu-22.04-4core-arm64 - platform: arm64 - - name: ubuntu-noble - runner: ubuntu-22.04-4core-arm64 - platform: arm64 - name: ubuntu-noble runner: ubuntu-22.04 platform: amd64 @@ -137,7 +131,7 @@ jobs: retention-days: ${{ job.status == 'success' && '7' || '14' }} - name: Report code coverage - if: ${{ matrix.name == 'raspios-bookworm' && matrix.platform == 'arm64' }} + if: ${{ matrix.name == 'ubuntu-noble' && matrix.platform == 'amd64' }} id: report-action-lcov uses: zgosalvez/github-actions-report-lcov@v4.1.2 with: @@ -148,7 +142,7 @@ jobs: update-comment: true - name: Report summary coverage to status - if: ${{ matrix.name == 'raspios-bookworm' && matrix.platform == 'arm64' }} + if: ${{ matrix.name == 'ubuntu-noble' && matrix.platform == 'amd64' }} uses: guibranco/github-status-action-v2@v1.1.13 with: authToken: ${{ github.token }}