Skip to content

Commit

Permalink
Merge branch 'main' into update_mainnet_deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik authored May 14, 2024
2 parents ef48cb2 + 5a9b0ec commit 84d02cb
Show file tree
Hide file tree
Showing 206 changed files with 2,165 additions and 2,450 deletions.
4 changes: 2 additions & 2 deletions .github/actions/install-pnpm-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ runs:
node-version: 20

- name: Install pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 8
version: 9
run_install: false

- name: Get pnpm store directory
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/blobstorage-preview.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/blobstorage-production.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Bridge UI Build and Checks

on:
workflow_call
on: workflow_call

jobs:
build:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bridge-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ on:

jobs:
build-and-test:
uses: ./.github/workflows/bridge-ui-ci.yml
uses: ./.github/workflows/bridge-ui--ci.yml

# Deployment name follow the pattern: deploy_<appname(bridge-ui)>_<network(devnet|hekla|mainnet)>_<environment(preview|production)>
deploy_bridge-ui_hekla_preview:
if: ${{ github.ref_type != 'tag' }}
needs: build-and-test
uses: ./.github/workflows/vercel-deploy.yml
uses: ./.github/workflows/repo--vercel-deploy.yml
with:
environment: "preview"
flags: ""
Expand All @@ -33,7 +33,7 @@ jobs:
deploy_bridge-ui_devnet_preview:
if: ${{ github.ref_type != 'tag' }}
needs: build-and-test
uses: ./.github/workflows/vercel-deploy.yml
uses: ./.github/workflows/repo--vercel-deploy.yml
with:
environment: "preview"
flags: ""
Expand All @@ -45,7 +45,7 @@ jobs:
deploy_bridge-ui_hekla_production:
if: ${{ startsWith(github.ref, 'refs/tags/bridge-ui-v') }}
needs: build-and-test
uses: ./.github/workflows/vercel-deploy.yml
uses: ./.github/workflows/repo--vercel-deploy.yml
with:
environment: "production"
flags: "--prod"
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/eventindexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ on:
pull_request:
paths:
- "packages/eventindexer/**"
- "go.mod"
- "go.sum"

jobs:
lint-eventindexer:
name: lint
name: lint-eventindexer
runs-on: [taiko-runner]
steps:
- uses: actions/setup-go@v5
Expand All @@ -30,7 +32,7 @@ jobs:

test-eventindexer:
runs-on: [taiko-runner]
needs: lint
needs: lint-eventindexer
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand All @@ -54,7 +56,7 @@ jobs:

push-eventindexer-docker-image:
# only push docker image on PR merge to main
if: ${{ github.event }} == 'push'
if: ${{ github.event == 'push' && github.ref == 'refs/heads/main' }}
name: Build and push docker image
runs-on: [taiko-runner]

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ on:

jobs:
build-and-test:
uses: ./.github/workflows/guardians-ui-ci.yml
uses: ./.github/workflows/guardian-prover-health-check-ui--ci.yml

# Deployment name follow the pattern: deploy_<appname(guardian-prover-health-check-ui)>_<network(devnet|hekla|mainnet)>_<environment(preview|production)>
deploy_guardians-ui_hekla_preview:
if: ${{ github.ref_name != 'main' }}
needs: build-and-test
uses: ./.github/workflows/vercel-deploy.yml
uses: ./.github/workflows/repo--vercel-deploy.yml
with:
environment: 'preview'
flags: ''
environment: "preview"
flags: ""
secrets:
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_HEKLA }}
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }}
Expand All @@ -30,10 +30,10 @@ jobs:
deploy_guardians-ui_devnet_preview:
if: ${{ github.ref_name != 'main' }}
needs: build-and-test
uses: ./.github/workflows/vercel-deploy.yml
uses: ./.github/workflows/repo--vercel-deploy.yml
with:
environment: 'preview'
flags: ''
environment: "preview"
flags: ""
secrets:
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_INTERNAL }}
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }}
Expand All @@ -42,10 +42,10 @@ jobs:
deploy_guardians-ui_hekla_production:
if: ${{ github.ref_name == 'main' && contains(github.ref, 'refs/tags/guardians-ui-') }}
needs: build-and-test
uses: ./.github/workflows/vercel-deploy.yml
uses: ./.github/workflows/repo--vercel-deploy.yml
with:
environment: 'production'
flags: '--prod'
environment: "production"
flags: "--prod"
secrets:
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_HEKLA }}
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ on:
pull_request:
paths:
- "packages/guardian-prover-health-check/**"
- "go.mod"
- "go.sum"

jobs:
lint:
name: lint
lint-guardian-prover-health-check:
name: lint-guardian-prover-health-check
runs-on: [taiko-runner]
steps:
- uses: actions/setup-go@v5
Expand All @@ -28,9 +30,9 @@ jobs:
working-directory: ./packages/guardian-prover-health-check
args: --config=.golangci.yml --timeout=4m

test:
test-guardian-prover-health-check:
runs-on: [taiko-runner]
needs: lint
needs: lint-guardian-prover-health-check
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand All @@ -52,9 +54,9 @@ jobs:
files: ./packages/guardian-prover-health-check/coverage.txt
flags: guardian-prover-health-check

push-docker-image:
push-guardian-prover-health-check-docker-image:
# only push docker image on PR merge to main
if: ${{ github.event }} == 'push'
if: ${{ github.event == 'push' && github.ref == 'refs/heads/main' }}
name: Build and push docker image
runs-on: [taiko-runner]

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/relayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ on:
pull_request:
paths:
- "packages/relayer/**"
- "go.mod"
- "go.sum"

jobs:
lint-relayer:
name: lint
name: lint-relayer
runs-on: [taiko-runner]
steps:
- uses: actions/setup-go@v5
Expand All @@ -30,7 +32,7 @@ jobs:

test-relayer:
runs-on: [taiko-runner]
needs: lint
needs: lint-relayer
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand All @@ -54,7 +56,7 @@ jobs:

push-relayer-docker-image:
# only push docker image on PR merge to main
if: ${{ github.event }} == 'push'
if: ${{ github.event == 'push' && github.ref == 'refs/heads/main' }}
name: Build and push docker image
runs-on: [taiko-runner]

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ on:
required: true
secrets:
vercel_project_id:
description: 'Vercel Project ID'
description: "Vercel Project ID"
required: true
vercel_org_id:
description: 'Vercel ORG ID'
description: "Vercel ORG ID"
required: true
vercel_token:
description: 'Vercel TOKEN'
description: "Vercel TOKEN"
required: true

env:
VERCEL_ORG_ID: ${{ secrets.vercel_org_id }}
VERCEL_PROJECT_ID: ${{ secrets.vercel_project_id }}
VERCEL_ORG_ID: ${{ secrets.vercel_org_id }}
VERCEL_PROJECT_ID: ${{ secrets.vercel_project_id }}

jobs:
build-deploy:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
pull_request:
paths:
- "packages/taiko-client/**"
- "go.mod"
- "go.sum"

jobs:
lint:
Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/taiko-client-proverapi-preview.yml

This file was deleted.

Loading

0 comments on commit 84d02cb

Please sign in to comment.