diff --git a/.github/workflows/build-docker-from-tag.yml b/.github/workflows/build-docker-from-tag.yml index 206e15bd195f..991b53d48df7 100644 --- a/.github/workflows/build-docker-from-tag.yml +++ b/.github/workflows/build-docker-from-tag.yml @@ -23,7 +23,7 @@ concurrency: docker-build jobs: setup: name: Setup - runs-on: [ ubuntu-latest ] + runs-on: [ubuntu-latest] outputs: image_tag_suffix: ${{ steps.set.outputs.image_tag_suffix }} prover_fri_gpu_key_id: ${{ steps.extract-prover-fri-setup-key-ids.outputs.gpu_short_commit_sha }} @@ -46,44 +46,44 @@ jobs: run: | ./prover/extract-setup-data-keys.sh >> $GITHUB_OUTPUT - build-push-core-images: - name: Build and push image - needs: [ setup ] - uses: ./.github/workflows/build-core-template.yml - if: contains(github.ref_name, 'core') - secrets: - DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - with: - image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }} - en_alpha_release: true - - build-push-tee-prover-images: - name: Build and push images - needs: [ setup ] - uses: ./.github/workflows/build-tee-prover-template.yml - if: contains(github.ref_name, 'core') - secrets: - DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }} - with: - image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }} - - build-push-contract-verifier: - name: Build and push image - needs: [ setup ] - uses: ./.github/workflows/build-contract-verifier-template.yml - if: contains(github.ref_name, 'contract_verifier') - secrets: - DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - with: - image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }} - + # build-push-core-images: + # name: Build and push image + # needs: [ setup ] + # uses: ./.github/workflows/build-core-template.yml + # if: contains(github.ref_name, 'core') + # secrets: + # DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + # DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + # with: + # image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }} + # en_alpha_release: true + # + # build-push-tee-prover-images: + # name: Build and push images + # needs: [ setup ] + # uses: ./.github/workflows/build-tee-prover-template.yml + # if: contains(github.ref_name, 'core') + # secrets: + # DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + # DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + # ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }} + # with: + # image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }} + # + # build-push-contract-verifier: + # name: Build and push image + # needs: [ setup ] + # uses: ./.github/workflows/build-contract-verifier-template.yml + # if: contains(github.ref_name, 'contract_verifier') + # secrets: + # DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + # DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + # with: + # image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }} + # build-push-prover-images: name: Build and push image - needs: [ setup ] + needs: [setup] uses: ./.github/workflows/build-prover-template.yml if: contains(github.ref_name, 'prover') with: @@ -94,23 +94,23 @@ jobs: DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - build-push-witness-generator-image-avx512: - name: Build and push image - needs: [ setup ] - uses: ./.github/workflows/build-witness-generator-template.yml - if: contains(github.ref_name, 'prover') - with: - image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}-avx512 - ERA_BELLMAN_CUDA_RELEASE: ${{ vars.ERA_BELLMAN_CUDA_RELEASE }} - CUDA_ARCH: "60;70;75;80;89" - WITNESS_GENERATOR_RUST_FLAGS: "-Ctarget_feature=+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512vl" - secrets: - DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - + # build-push-witness-generator-image-avx512: + # name: Build and push image + # needs: [ setup ] + # uses: ./.github/workflows/build-witness-generator-template.yml + # if: contains(github.ref_name, 'prover') + # with: + # image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}-avx512 + # ERA_BELLMAN_CUDA_RELEASE: ${{ vars.ERA_BELLMAN_CUDA_RELEASE }} + # CUDA_ARCH: "60;70;75;80;89" + # WITNESS_GENERATOR_RUST_FLAGS: "-Ctarget_feature=+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512vl" + # secrets: + # DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + # DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + # build-gar-prover-fri-gpu-and-circuit-prover-gpu-gar: name: Build GAR prover FRI GPU - needs: [ setup, build-push-prover-images ] + needs: [setup, build-push-prover-images] uses: ./.github/workflows/build-prover-fri-gpu-gar-and-circuit-prover-gpu-gar.yml if: contains(github.ref_name, 'prover') with: diff --git a/.github/workflows/new-build-prover-template.yml b/.github/workflows/new-build-prover-template.yml index cb254f602fc5..69dcab5b6ea1 100644 --- a/.github/workflows/new-build-prover-template.yml +++ b/.github/workflows/new-build-prover-template.yml @@ -90,13 +90,13 @@ jobs: strategy: matrix: components: - - witness-generator - - prover-gpu-fri - - witness-vector-generator - - prover-fri-gateway - - prover-job-monitor - - proof-fri-gpu-compressor - - prover-autoscaler + # - witness-generator + # - prover-gpu-fri + # - witness-vector-generator + # - prover-fri-gateway + # - prover-job-monitor + # - proof-fri-gpu-compressor + # - prover-autoscaler - circuit-prover-gpu steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -210,7 +210,6 @@ jobs: --tag asia-docker.pkg.dev/matterlabs-infra/matterlabs-docker/${{ matrix.component }}:2.0-${{ inputs.image_tag_suffix }} \ us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/${{ matrix.component }}:2.0-${{ inputs.image_tag_suffix }} - - name: Login and push to Europe GAR run: | gcloud auth print-access-token --lifetime=7200 --impersonate-service-account=gha-ci-runners@matterlabs-infra.iam.gserviceaccount.com | docker login -u oauth2accesstoken --password-stdin https://europe-docker.pkg.dev