Skip to content

Commit

Permalink
Do not deploy rinkeby-beta
Browse files Browse the repository at this point in the history
Signed-off-by: deniallugo <[email protected]>
  • Loading branch information
Deniallugo committed Sep 2, 2022
1 parent 931dbdc commit 7422c58
Showing 1 changed file with 47 additions and 47 deletions.
94 changes: 47 additions & 47 deletions .github/workflows/deploy.rinkeby-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,53 +46,53 @@ jobs:
run: |
docker-compose -f docker-compose-runner.yml down
setup:
name: Setup
uses: matter-labs/zksync-dev/.github/workflows/setup.runtime.yml@dev
needs: [images]
with:
environment: rinkeby-beta
create-deployment: true
# setup:
# name: Setup
# uses: matter-labs/zksync-dev/.github/workflows/setup.runtime.yml@dev
# needs: [images]
# with:
# environment: rinkeby-beta
# create-deployment: true

update:
name: Update
uses: matter-labs/zksync-dev/.github/workflows/server.update-config.yml@dev
needs: [setup]
with:
ref: master
cluster: ${{ needs.setup.outputs.cluster }}
environment: ${{ needs.setup.outputs.environment }}
namespace: ${{ needs.setup.outputs.release-namespace }}
secrets:
github-token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
# update:
# name: Update
# uses: matter-labs/zksync-dev/.github/workflows/server.update-config.yml@dev
# needs: [setup]
# with:
# ref: master
# cluster: ${{ needs.setup.outputs.cluster }}
# environment: ${{ needs.setup.outputs.environment }}
# namespace: ${{ needs.setup.outputs.release-namespace }}
# secrets:
# github-token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}

deploy:
name: Deploy
uses: matter-labs/zksync-dev/.github/workflows/deploy.yml@dev
needs: [setup, update]
with:
cluster: ${{ needs.setup.outputs.cluster }}
environment: ${{ needs.setup.outputs.environment }}
release-environment: ${{ needs.setup.outputs.release-environment }}
release-namespace: ${{ needs.setup.outputs.release-namespace }}
deployment-id: ${{ needs.setup.outputs.deployment-id }}
image-tag: ${{ needs.setup.outputs.sha-short }}
secrets:
github-token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}
# deploy:
# name: Deploy
# uses: matter-labs/zksync-dev/.github/workflows/deploy.yml@dev
# needs: [setup, update]
# with:
# cluster: ${{ needs.setup.outputs.cluster }}
# environment: ${{ needs.setup.outputs.environment }}
# release-environment: ${{ needs.setup.outputs.release-environment }}
# release-namespace: ${{ needs.setup.outputs.release-namespace }}
# deployment-id: ${{ needs.setup.outputs.deployment-id }}
# image-tag: ${{ needs.setup.outputs.sha-short }}
# secrets:
# github-token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }}

notify:
runs-on: ubuntu-latest
needs: [deploy]
if: always() && !cancelled()
steps:
- uses: technote-space/workflow-conclusion-action@v2
-
name: Notify to Mattermost (on incidents)
uses: tferreira/matterfy@releases/v1
if: ${{ env.WORKFLOW_CONCLUSION == 'failure' }}
with:
type: failure
job_name: '*Deploy to `${{ needs.setup.outputs.environment }}` failed*'
icon_emoji: octocat
channel: 'ci-notifications'
url: ${{ secrets.MATTERMOST_WEBHOOK }}
# notify:
# runs-on: ubuntu-latest
# needs: [deploy]
# if: always() && !cancelled()
# steps:
# - uses: technote-space/workflow-conclusion-action@v2
# -
# name: Notify to Mattermost (on incidents)
# uses: tferreira/matterfy@releases/v1
# if: ${{ env.WORKFLOW_CONCLUSION == 'failure' }}
# with:
# type: failure
# job_name: '*Deploy to `${{ needs.setup.outputs.environment }}` failed*'
# icon_emoji: octocat
# channel: 'ci-notifications'
# url: ${{ secrets.MATTERMOST_WEBHOOK }}

0 comments on commit 7422c58

Please sign in to comment.