-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
179 changed files
with
2,053 additions
and
1,258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"core": "24.0.0", | ||
"prover": "13.0.0" | ||
"prover": "14.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
on: | ||
push: | ||
branches: | ||
- release-please--branches--main--components--core | ||
|
||
name: release-please-update-cargo-lock | ||
jobs: | ||
update_cargo_lock: | ||
runs-on: [matterlabs-default-infra-runners] | ||
|
||
steps: | ||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | ||
with: | ||
submodules: "recursive" | ||
|
||
- name: Setup environment | ||
run: | | ||
echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV | ||
echo $(pwd)/bin >> $GITHUB_PATH | ||
echo IN_DOCKER=1 >> .env | ||
- name: Start services | ||
run: | | ||
docker compose up -d zk | ||
- name: Cargo check | ||
run: ci_run cargo check | ||
|
||
- name: Push changes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} | ||
run: | | ||
git config --global user.email "zksync-era-bot@users.noreply.github.com" | ||
git config --global user.name "zksync-era-bot" | ||
git add ./Cargo.lock | ||
git commit -m "Update Cargo.lock" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Workflow to push stable EN image | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
tag_name: | ||
description: "Tag of an image" | ||
type: string | ||
required: true | ||
|
||
jobs: | ||
release: | ||
runs-on: [matterlabs-ci-runner] | ||
steps: | ||
- name: Login to Docker registries | ||
run: docker login -u ${{ secrets.DOCKERHUB_USER }} -p ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Check if alpha image exists | ||
run: | | ||
set +e | ||
docker manifest inspect matterlabs/external-node:${{ inputs.tag_name }}-alpha >/dev/null 2>&1 | ||
exitcode=$? | ||
set -e | ||
if [[ "$exitcode" -eq "1" ]]; then | ||
echo "Image matterlabs/external-node:${{ inputs.tag_name }} doesn't exist" | ||
exit 1 | ||
fi | ||
- name: Push stable image | ||
run: | | ||
docker pull matterlabs/external-node:${{ inputs.tag_name }}-alpha | ||
docker tag matterlabs/external-node:${{ inputs.tag_name }}-alpha \ | ||
matterlabs/external-node:${{ inputs.tag_name }} | ||
docker push matterlabs/external-node:${{ inputs.tag_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.