Skip to content

Commit

Permalink
Merge branch 'sync-layer-stable' into sb-sync-main-sls
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Dec 19, 2024
2 parents fa83edd + 3f4e4a7 commit 9f65dbd
Show file tree
Hide file tree
Showing 29 changed files with 2 additions and 143 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
steps:
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: Login to google container registry
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/build-contract-verifier-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
DOCKERHUB_TOKEN:
description: "DOCKERHUB_TOKEN"
required: true
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true
inputs:
image_tag_suffix:
description: "Optional suffix to override tag name generation"
Expand Down Expand Up @@ -43,7 +40,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: setup-env
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/build-core-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
DOCKERHUB_TOKEN:
description: "DOCKERHUB_TOKEN"
required: true
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true
inputs:
image_tag_suffix:
description: "Optional suffix to override tag name generation"
Expand Down Expand Up @@ -52,7 +49,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: setup-env
Expand Down Expand Up @@ -185,8 +181,6 @@ jobs:
IMAGE_TAG_SUFFIX: ${{ inputs.image_tag_suffix }}${{ (inputs.en_alpha_release && matrix.component.name == 'external-node') && '-alpha' || '' }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}

- name: login to Docker registries
run: |
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/build-docker-from-tag.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Build Image from tag
on:
workflow_call:
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true
inputs:
tag_name:
description: "Tag of an image to built"
Expand All @@ -16,10 +12,6 @@ on:
description: "Tag of an image to built"
type: string
required: true
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true
push:
tags:
- core-v**
Expand All @@ -37,8 +29,6 @@ jobs:
prover_fri_gpu_key_id: ${{ steps.extract-prover-fri-setup-key-ids.outputs.gpu_short_commit_sha }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
- name: Generate output with git tag
id: set
run: |
Expand All @@ -64,7 +54,6 @@ jobs:
secrets:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
with:
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}
en_alpha_release: true
Expand All @@ -79,7 +68,6 @@ jobs:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
with:
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}

Expand All @@ -91,7 +79,6 @@ jobs:
secrets:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
with:
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}
action: "push"
Expand All @@ -108,7 +95,6 @@ jobs:
secrets:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}

build-push-witness-generator-image-avx512:
name: Build and push image
Expand All @@ -123,7 +109,6 @@ jobs:
secrets:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}

build-gar-prover-fri-gpu-and-circuit-prover-gpu-gar:
name: Build GAR prover FRI GPU
Expand All @@ -134,5 +119,3 @@ jobs:
setup_keys_id: ${{ needs.setup.outputs.prover_fri_gpu_key_id }}
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}
protocol_version: ${{ needs.build-push-prover-images.outputs.protocol_version }}
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
1 change: 0 additions & 1 deletion .github/workflows/build-local-node-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: setup-env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Build Prover FRI GPU & Circuit Prover GPU with builtin setup data
on:
workflow_call:
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true
inputs:
image_tag_suffix:
description: "Commit sha or git tag for Docker tag"
Expand All @@ -27,7 +24,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: Download Setup data
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/build-prover-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
DOCKERHUB_TOKEN:
description: "DOCKERHUB_TOKEN"
required: true
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true
inputs:
ERA_BELLMAN_CUDA_RELEASE:
description: "ERA_BELLMAN_CUDA_RELEASE"
Expand Down Expand Up @@ -65,7 +62,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: setup-env
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-runtime-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
steps:
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: Login to google container registry
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/build-tee-prover-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
ATTIC_TOKEN:
description: "ATTIC_TOKEN"
required: false
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true
inputs:
image_tag_suffix:
description: "Optional suffix to override tag name generation"
Expand All @@ -35,12 +32,9 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' }}
with:
ref: ${{ github.event.inputs.target_branch }}
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}

- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
if: ${{ github.event_name != 'workflow_dispatch' }}
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}

- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/build-witness-generator-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
DOCKERHUB_TOKEN:
description: "DOCKERHUB_TOKEN"
required: true
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true
inputs:
ERA_BELLMAN_CUDA_RELEASE:
description: "ERA_BELLMAN_CUDA_RELEASE"
Expand Down Expand Up @@ -59,7 +56,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: setup-env
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/ci-common-reusable.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Workflow template for CI jobs to be ran on both Prover and Core Components
on:
workflow_call:
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true

jobs:
build:
Expand All @@ -15,7 +11,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: Setup environment
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/ci-core-lint-reusable.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
name: Workflow template for Core Linting CI jobs
on:
workflow_call:
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true

jobs:
code_lint:
runs-on: matterlabs-ci-runner-highmem-long
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: Setup environment
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/ci-core-reusable.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Workflow template for CI jobs for Core Components
on:
workflow_call:
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true
inputs:
compilers:
description: "JSON of required compilers and their versions"
Expand All @@ -20,15 +16,12 @@ jobs:
lint:
name: lint
uses: ./.github/workflows/ci-core-lint-reusable.yml
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
unit-tests:
runs-on: [ matterlabs-ci-runner-highmem-long ]

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"
fetch-depth: 0

Expand Down Expand Up @@ -101,7 +94,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"
fetch-depth: 0

Expand Down Expand Up @@ -185,7 +177,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"
fetch-depth: 0

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/ci-docs-reusable.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Workflow template for CI jobs against docs
on:
workflow_call:
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true

jobs:
lint:
Expand All @@ -14,7 +10,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: Setup environment
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/ci-prover-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Workflow for testing prover component end-to-end
on:
workflow_call:
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true

jobs:
e2e-test:
Expand All @@ -15,7 +11,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"
fetch-depth: 0

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ci-prover-reusable.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Workflow template for CI jobs for Prover Components
on:
workflow_call:
secrets:
ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE:
description: "Token which will be provided to checkout action to be able to clone private submodules"
required: true

jobs:
lint:
Expand All @@ -15,7 +11,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: Setup environment
Expand Down Expand Up @@ -57,7 +52,6 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
submodules: "recursive"

- name: Setup environment
Expand Down
Loading

0 comments on commit 9f65dbd

Please sign in to comment.