Skip to content

Commit

Permalink
[skip ci] Witness Generator deployment to prod (#2350)
Browse files Browse the repository at this point in the history
  • Loading branch information
artmakh authored Mar 22, 2023
1 parent 5f2001e commit c6f16dc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ on:
type: string
required: false
default: server
server-witness-release:
description: Name of helm release for prover
type: string
required: false
default: server-witness
prover-release:
description: Name of helm release for prover
type: string
Expand Down Expand Up @@ -64,6 +69,7 @@ jobs:
- /var/run/secrets/tokens:/var/run/secrets/tokens
env:
DEPLOY_APPS: -l name=${{ inputs.server-release }} -l name=${{ inputs.prover-release }}
DEPLOY_APPS_PROD: -l name=${{ inputs.server-release }} -l name=${{ inputs.prover-release }} -l name=${{ inputs.server-witness-release }}
IMAGE_TAG: ${{ inputs.image-tag }}
KUBE_CONTEXT: matterlabs-zksync-${{ inputs.cluster }}
KUBE_TOKENPATH: /var/run/secrets/tokens/gha-deployer-${{ inputs.cluster }}
Expand All @@ -89,11 +95,19 @@ jobs:
path: helm-infra
token: ${{ secrets.github-token }}
-
if: "${{ github.event.inputs.environment != 'mainnet' }}"
name: Deploy Zksync
working-directory: helm-infra
run: |
UPDATE_REPOS=y helmfile -e ${{ inputs.release-environment }} repos
helmfile -e ${{ inputs.release-environment }} $DEPLOY_APPS apply --args "--timeout 900s"
-
if: "${{ github.event.inputs.environment == 'mainnet' }}"
name: Deploy Zksync Prod
working-directory: helm-infra
run: |
UPDATE_REPOS=y helmfile -e ${{ inputs.release-environment }} repos
helmfile -e ${{ inputs.release-environment }} $DEPLOY_APPS_PROD apply --args "--timeout 900s"
-
name: Scale Up
if: inputs.scaleup
Expand Down

0 comments on commit c6f16dc

Please sign in to comment.