From a31ee50ebffa9d51013d505894924a4affe29489 Mon Sep 17 00:00:00 2001 From: Branislav Kojic Date: Wed, 31 Jul 2024 11:24:56 +0200 Subject: [PATCH 1/3] Add socket configuration --- .github/workflows/deploy-network.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-network.yml b/.github/workflows/deploy-network.yml index 379fbe4078..2f6e258c79 100644 --- a/.github/workflows/deploy-network.yml +++ b/.github/workflows/deploy-network.yml @@ -148,7 +148,7 @@ jobs: uses: actions/checkout@v4.1.1 with: repository: Ethernal-Tech/blade-deployment - ref: main + ref: config-socket - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4.0.1 with: @@ -200,6 +200,7 @@ jobs: sed 's/log_level: .*/log_level: ${{ vars.LOG_LEVEL }}/g' group_vars/all.yml > group_vars/all.yml.tmp && mv group_vars/all.yml.tmp group_vars/all.yml sed 's/epoch_reward: .*/epoch_reward: 1000000000/g' group_vars/all.yml > group_vars/all.yml.tmp && mv group_vars/all.yml.tmp group_vars/all.yml sed 's/reward_wallet_balance: .*/reward_wallet_balance: 0xD3C21BCECCEDA1000000/g' group_vars/all.yml > group_vars/all.yml.tmp && mv group_vars/all.yml.tmp group_vars/all.yml + sed 's/config_socket: .*/config_socket: true/g' group_vars/all.yml > group_vars/all.yml.tmp && mv group_vars/all.yml.tmp group_vars/all.yml - name: Setup Ansible working-directory: ansible run: | From 6d71155558c04992e5f4b5e47d5ff587752f2d59 Mon Sep 17 00:00:00 2001 From: Branislav Kojic Date: Wed, 31 Jul 2024 15:22:54 +0200 Subject: [PATCH 2/3] Revert deployment branch to `main` --- .github/workflows/deploy-network.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-network.yml b/.github/workflows/deploy-network.yml index 2f6e258c79..3496a94404 100644 --- a/.github/workflows/deploy-network.yml +++ b/.github/workflows/deploy-network.yml @@ -148,7 +148,7 @@ jobs: uses: actions/checkout@v4.1.1 with: repository: Ethernal-Tech/blade-deployment - ref: config-socket + ref: main - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4.0.1 with: From 59c976b76abbcdef469ef27064e2b0f5e4a4c6ae Mon Sep 17 00:00:00 2001 From: Branislav Kojic Date: Wed, 31 Jul 2024 15:35:45 +0200 Subject: [PATCH 3/3] Add `CONFIG_SOCKET` as variable --- .github/workflows/deploy-network.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-network.yml b/.github/workflows/deploy-network.yml index 3496a94404..122a486b02 100644 --- a/.github/workflows/deploy-network.yml +++ b/.github/workflows/deploy-network.yml @@ -200,7 +200,7 @@ jobs: sed 's/log_level: .*/log_level: ${{ vars.LOG_LEVEL }}/g' group_vars/all.yml > group_vars/all.yml.tmp && mv group_vars/all.yml.tmp group_vars/all.yml sed 's/epoch_reward: .*/epoch_reward: 1000000000/g' group_vars/all.yml > group_vars/all.yml.tmp && mv group_vars/all.yml.tmp group_vars/all.yml sed 's/reward_wallet_balance: .*/reward_wallet_balance: 0xD3C21BCECCEDA1000000/g' group_vars/all.yml > group_vars/all.yml.tmp && mv group_vars/all.yml.tmp group_vars/all.yml - sed 's/config_socket: .*/config_socket: true/g' group_vars/all.yml > group_vars/all.yml.tmp && mv group_vars/all.yml.tmp group_vars/all.yml + sed 's/config_socket: .*/config_socket: ${{ vars.CONFIG_SOCKET }}/g' group_vars/all.yml > group_vars/all.yml.tmp && mv group_vars/all.yml.tmp group_vars/all.yml - name: Setup Ansible working-directory: ansible run: |