Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: move to new release-plz release flow #3369

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ci: move to new release-plz release flow
antonbaliasnikov committed Dec 9, 2024
commit eceb9bc0cef624afdea21fa1c8fb1453fd09ac97
31 changes: 0 additions & 31 deletions .github/release-please/config.json

This file was deleted.

5 changes: 0 additions & 5 deletions .github/release-please/manifest.json

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/build-docker-from-tag.yml
Original file line number Diff line number Diff line change
@@ -14,9 +14,11 @@ on:
required: true
push:
tags:
- core-v**
- prover-v**
- core-bins-v**
- core-libs-v**
- contract_verifier-v**
- prover-bins-v**
- prover-libs-v**

concurrency: docker-build

3 changes: 2 additions & 1 deletion .github/workflows/deploy-core-docs.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,8 @@ on:
branches:
- "main"
tags:
- "core-v*.*.*"
- "core-bins-v*.*.*"
- "core-libs-v*.*.*"
paths:
- 'docs/**'
- '.github/workflows/deploy-core-docs.yml'
3 changes: 2 additions & 1 deletion .github/workflows/deploy-prover-docs.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,8 @@ on:
branches:
- "main"
tags:
- "prover-v*.*.*"
- "prover-libs-v*.*.*"
- "prover-bins-v*.*.*"
paths:
- 'prover/docs/**'
- '.github/workflows/deploy-prover-docs.yml'
55 changes: 0 additions & 55 deletions .github/workflows/release-please-cargo-lock.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/release-please.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Release

on:
push:
branches:
- main

jobs:

release-core:
uses: matter-labs/zksync-ci-common/.github/workflows/release-plz.yaml@v1
secrets:
gh_token: ${{ secrets.GITHUB_TOKEN }}
cargo_registry_token: ${{ secrets.CRATES_IO_TOKEN }}
slack_webhook: ${{ secrets.SLACK_WEBHOOK }}
with:
manifest_path: 'Cargo.toml'
config: 'release-plz.toml'
concurrency-suffix: 'core'

release-prover:
if: always()
needs: release-core
uses: matter-labs/zksync-ci-common/.github/workflows/release-plz.yaml@v1
secrets:
gh_token: ${{ secrets.GITHUB_TOKEN }}
cargo_registry_token: ${{ secrets.CRATES_IO_TOKEN }}
slack_webhook: ${{ secrets.SLACK_WEBHOOK }}
with:
manifest_path: 'prover/Cargo.toml'
config: 'prover/release-plz.toml'
concurrency-suffix: 'prover'

release-zkstack:
if: always()
needs: release-prover
uses: matter-labs/zksync-ci-common/.github/workflows/release-plz.yaml@v1
secrets:
gh_token: ${{ secrets.GITHUB_TOKEN }}
cargo_registry_token: ${{ secrets.CRATES_IO_TOKEN }}
slack_webhook: ${{ secrets.SLACK_WEBHOOK }}
with:
manifest_path: 'zkstack_cli/Cargo.toml'
config: 'zkstack_cli/release-plz.toml'
concurrency-suffix: 'zkstack'
Loading