-
Notifications
You must be signed in to change notification settings - Fork 15
68 lines (67 loc) · 3.09 KB
/
deploy-testnet-workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: 'Deployment for Testnet'
on:
workflow_dispatch:
workflow_call:
schedule:
- cron: '29 11 * * 4'
jobs:
deploy-javascore:
uses: icon-project/icon-bridge/.github/workflows/deploy-javascore-testnet.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GOLOOP_RPC_KEY_STORE_B64: ${{ secrets.GOLOOP_RPC_KEY_STORE_B64 }}
GOLOOP_RPC_URI: ${{ secrets.GOLOOP_RPC_URI }}
GOLOOP_RPC_KEY_PASSWORD: ${{ secrets.GOLOOP_RPC_KEY_PASSWORD }}
deploy-solidity:
uses: icon-project/icon-bridge/.github/workflows/deploy-solidity-testnet.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
BSC_PRIVATE_KEY: ${{ secrets.BSC_PRIVATE_KEY }}
BSC_RPC_URI: ${{ secrets.BSC_RPC_URI }}
BSC_NID: ${{ secrets.BSC_NID }}
BSC_BMC_NET: ${{ secrets.BSC_BMC_NET }}
deploy-token-javascore:
needs: [deploy-javascore]
uses: icon-project/icon-bridge/.github/workflows/deploy-token-javascore.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GOLOOP_RPC_KEY_STORE_B64: ${{ secrets.GOLOOP_RPC_KEY_STORE_B64 }}
GOLOOP_RPC_URI: ${{ secrets.GOLOOP_RPC_URI }}
GOLOOP_RPC_KEY_PASSWORD: ${{ secrets.GOLOOP_RPC_KEY_PASSWORD }}
link-register-token:
needs: [deploy-javascore,deploy-solidity]
uses: icon-project/icon-bridge/.github/workflows/link-register-coin.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GOLOOP_RPC_KEY_STORE_B64: ${{ secrets.GOLOOP_RPC_KEY_STORE_B64 }}
GOLOOP_RPC_URI: ${{ secrets.GOLOOP_RPC_URI }}
GOLOOP_RPC_KEY_PASSWORD: ${{ secrets.GOLOOP_RPC_KEY_PASSWORD }}
BSC_PRIVATE_KEY: ${{ secrets.BSC_PRIVATE_KEY }}
BSC_RPC_URI: ${{ secrets.BSC_RPC_URI }}
BSC_NID: ${{ secrets.BSC_NID }}
BSC_BMC_NET: ${{ secrets.BSC_BMC_NET }}
deploy-bmr:
needs: [link-register-token]
uses: icon-project/icon-bridge/.github/workflows/deploy-bmr.yml@main
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GOLOOP_RPC_KEY_PASSWORD: ${{ secrets.GOLOOP_RPC_KEY_PASSWORD }}
BSC_BMR_WALLET_SECRET: ${{ secrets.BSC_BMR_WALLET_SECRET }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
GOLOOP_RPC_KEY_STORE_B64: ${{ secrets.GOLOOP_RPC_KEY_STORE_B64 }}