Skip to content

Commit

Permalink
r1
Browse files Browse the repository at this point in the history
  • Loading branch information
leshikus committed Jun 17, 2024
1 parent e3cc24d commit 4a8163b
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/deploy-gh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,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 -S
sudo iptables -D -P FORWARD DROP
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -t nat -F
sudo iptables -t mangle -F
sudo iptables -F
sudo cat /var/log/auth.log
- name: Upload control node data
Expand Down Expand Up @@ -69,10 +74,13 @@ jobs:

- run: |
set -vx
# sudo iptables -P INPUT ACCEPT
# sudo iptables -P OUTPUT ACCEPT
# sudo iptables -P FORWARD ACCEPT
# sudo iptables -F
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -t nat -F
sudo iptables -t mangle -F
sudo iptables -F
sudo iptables -S
echo ${{ matrix.id }}
ip=$(cat control-node-ip.txt)
Expand Down

0 comments on commit 4a8163b

Please sign in to comment.