Skip to content

Commit cf2f33e

Browse files
committed
fixing yml
1 parent 2999427 commit cf2f33e

1 file changed

Lines changed: 32 additions & 8 deletions

File tree

.github/workflows/ec2-integration-test.yml

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,43 @@ jobs:
8484
- name: Install resolvconf
8585
run: sudo apt-get update && sudo apt-get install -y resolvconf
8686

87-
88-
# Add this step to enable IPv6 via Cloudflare Warp
87+
# Non-manual setup for Cloudflare Warp to enable IPv6 (replaces manual run step)
8988
- name: Setup Cloudflare Warp for IPv6
90-
uses: fscarmen/warp-on-actions@v1.3
89+
uses: boywithkeyboard/warp@v1
9190
with:
92-
stack: dual # Enables both IPv4 and IPv6 (default is dual, but explicit for clarity)
91+
familyMode: off # Optional: Disables content blocking; set to 'malware' or 'on' if needed
92+
onlyDoH: false # Optional: Full WARP routing (with IPv6) instead of DNS-only
9393

94-
# Check IPv6 connectivity
9594
- name: Debug IPv6 connectivity
9695
run: |
97-
echo "Testing IPv6 connectivity..."
98-
curl -6 ifconfig.io || echo "No IPv6"
99-
ping6 google.com -c 3 || echo "Can't reach IPv6 internet"
96+
echo "Warp status:"
97+
warp-cli status || echo "Warp not running"
98+
echo "IPv6 address:"
99+
curl -6 ifconfig.io || echo "No IPv6 address"
100+
echo "Ping IPv6:"
101+
ping6 -c 3 google.com || echo "IPv6 ping failed"
102+
echo "DNS resolution:"
103+
dig AAAA google.com || echo "IPv6 DNS failed"
104+
105+
# Import Existing Security Group Rules
106+
- name: Import Existing Security Group Rules
107+
run: |
108+
if [ "${{ matrix.arrays.terraform_dir }}" != "" ]; then
109+
cd "${{ matrix.arrays.terraform_dir }}"
110+
else
111+
cd ${{inputs.test_dir}}
112+
fi
113+
114+
terraform init
115+
116+
# Import ingress rule if not in state
117+
if ! terraform state list | grep -q 'module.linux_common.aws_security_group_rule.ingress_ssh_ipv6'; then
118+
terraform import module.linux_common.aws_security_group_rule.ingress_ssh_ipv6 sg-0dc2ce0ee2353c86d_ingress_tcp_22_22_::/0
119+
fi
120+
# Import egress rule if not in state
121+
if ! terraform state list | grep -q 'module.linux_common.aws_security_group_rule.egress_all_ipv6'; then
122+
terraform import module.linux_common.aws_security_group_rule.egress_all_ipv6 sg-0dc2ce0ee2353c86d_egress_-1_0_0_::/0
123+
fi
100124
101125
# nick-fields/retry@v2 starts at base dir
102126
- name: Terraform apply

0 commit comments

Comments
 (0)