Skip to content

Commit

Permalink
Merge pull request #21 from verida/au-cluster
Browse files Browse the repository at this point in the history
Add AU cluster pipeline
  • Loading branch information
nick-verida authored Jun 27, 2022
2 parents 046528b + 2f83164 commit 30e0a93
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/testnet-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
- name: SG1 env
run: |
echo "${{secrets.SG1_TESTNET_JSON_BASE64 }}" | base64 -d > .env.sg1.testnet.json
- name: AU1 env
run: |
echo "${{secrets.AU1_TESTNET_JSON_BASE64 }}" | base64 -d > .env.au1.testnet.json
# install packages and run deploy
- id: nvmrc
Expand All @@ -59,3 +63,6 @@ jobs:
# do SG1 deployment
- run: yarn lambda-update-testnet-sg1

# do AU1 deployment
- run: yarn lambda-update-testnet-au1

11 changes: 11 additions & 0 deletions claudia.au1.testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"lambda": {
"role": "arn:aws:iam::737954963756:role/verida_storage-node-executor",
"name": "storage-node-au1-testnet",
"region": "ap-southeast-2",
"sharedRole": true
},
"api": {
"id": "g1e2uq6mqf"
}
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"lambda-deploy-testnet-sg1": "yarn build && yarn claudia create --config claudia.sg1.testnet.json --name 'storage-node-sg1-testnet' --region ap-southeast-1 --role arn:aws:iam::737954963756:role/verida_storage-node-executor --handler lambda.handler --deploy-proxy-api --no-optional-dependencies --set-env-from-json .env.sg1.testnet.json",
"lambda-update-testnet-sg1": "yarn build && yarn claudia update --config claudia.sg1.testnet.json --set-env-from-json .env.sg1.testnet.json",

"lambda-deploy-testnet-au1": "yarn build && yarn claudia create --config claudia.au1.testnet.json --name 'storage-node-au1-testnet' --region ap-southeast-2 --role arn:aws:iam::737954963756:role/verida_storage-node-executor --handler lambda.handler --deploy-proxy-api --no-optional-dependencies --set-env-from-json .env.au1.testnet.json",
"lambda-update-testnet-au1": "yarn build && yarn claudia update --config claudia.au1.testnet.json --set-env-from-json .env.au1.testnet.json",

"lambda-pack": "yarn build && yarn claudia pack --no-optional-dependencies"
},
"files": [
Expand Down

0 comments on commit 30e0a93

Please sign in to comment.