From b46f631dba903919c071802dfef54759452d4bdc Mon Sep 17 00:00:00 2001 From: Dmitry Yakovlev Date: Tue, 7 Jun 2022 23:07:42 +1200 Subject: [PATCH 1/2] Add AU cluster pipeline --- .github/workflows/testnet-deployment.yml | 7 +++++++ package.json | 3 +++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/testnet-deployment.yml b/.github/workflows/testnet-deployment.yml index 68a095a0..d1dc7b51 100644 --- a/.github/workflows/testnet-deployment.yml +++ b/.github/workflows/testnet-deployment.yml @@ -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 @@ -59,3 +63,6 @@ jobs: # do SG1 deployment - run: yarn lambda-update-testnet-sg1 + # do AU1 deployment + - run: yarn lambda-update-testnet-au1 + diff --git a/package.json b/package.json index 022bcf37..b0be04c2 100644 --- a/package.json +++ b/package.json @@ -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": [ From 2f83164f30e477b8da18e31798a4d797c59f97b9 Mon Sep 17 00:00:00 2001 From: Dmitry Yakovlev Date: Fri, 17 Jun 2022 09:25:57 +1200 Subject: [PATCH 2/2] Add claudia json for AU1 --- claudia.au1.testnet.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 claudia.au1.testnet.json diff --git a/claudia.au1.testnet.json b/claudia.au1.testnet.json new file mode 100644 index 00000000..312d9696 --- /dev/null +++ b/claudia.au1.testnet.json @@ -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" + } +} \ No newline at end of file