Skip to content

Commit

Permalink
Update integration-tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 committed Dec 4, 2023
1 parent cc0bf1b commit d3de6c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ jobs:

- name: Install Aproxy Snap
run: |
snap remove aproxy || :
sudo snap install --dangerous aproxy_*_amd64.snap
- name: Configure Aproxy
run: |
sudo snap set aproxy proxy=squid.internal:3128 listen=:23403
sudo nft flush ruleset
sudo nft -f - << EOF
define default-ip = $(ip route get $(ip route show 0.0.0.0/0 | grep -oP 'via \K\S+') | grep -oP 'src \K\S+')
define private-ips = { 10.0.0.0/8, 127.0.0.1/8, 172.16.0.0/12, 192.168.0.0/16 }
Expand Down

0 comments on commit d3de6c2

Please sign in to comment.