From 02bcf64f8640b9cd15d267ee91714683daee9e1d Mon Sep 17 00:00:00 2001 From: Alexei Fedotov Date: Sun, 16 Jun 2024 00:56:26 +0200 Subject: [PATCH] r1 --- .github/workflows/deploy-gh.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-gh.yaml b/.github/workflows/deploy-gh.yaml index 859e1a3..966ef9b 100644 --- a/.github/workflows/deploy-gh.yaml +++ b/.github/workflows/deploy-gh.yaml @@ -29,10 +29,13 @@ jobs: ssh-keygen -q -b 2048 -t rsa -N '' -C 'cluster key' -f ~/.ssh/id_rsa cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys cp ~/.ssh/id_rsa.pub . + sudo iptables -X + sudo iptables -t nat -F + sudo iptables -t nat -X + sudo iptables -t mangle -F + sudo iptables -t mangle -X sudo iptables -P INPUT ACCEPT - sudo iptables -P OUTPUT ACCEPT sudo iptables -P FORWARD ACCEPT - sudo iptables -F - name: Upload control node data uses: actions/upload-artifact@v4 @@ -70,10 +73,18 @@ jobs: - run: | set -vx + sudo iptables -X + sudo iptables -t nat -F + sudo iptables -t nat -X + sudo iptables -t mangle -F + sudo iptables -t mangle -X sudo iptables -P INPUT ACCEPT - sudo iptables -P OUTPUT ACCEPT sudo iptables -P FORWARD ACCEPT - sudo iptables -F + sudo iptables -P OUTPUT ACCEPT +# sudo iptables -P INPUT ACCEPT +# sudo iptables -P OUTPUT ACCEPT +# sudo iptables -P FORWARD ACCEPT +# sudo iptables -F echo ${{ matrix.id }} ip=$(cat control-node-ip.txt)