Skip to content

Commit

Permalink
github: Prevent interactions with image server
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Oct 12, 2023
1 parent c38cf37 commit cbf01fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,13 @@ jobs:
sudo microceph.ceph status
sudo rm -f /snap/bin/rbd
- name: "Ensure offline mode (block image server)"
run: |
nft add table inet filter
nft add chain 'inet filter output { type filter hook output priority 10 ; }'
nft add rule inet filter output ip daddr 45.45.148.8 reject
nft add rule inet filter output ip6 daddr 2602:fc62:a:1::8 reject
- name: "Run system tests (${{ matrix.go }}, ${{ matrix.suite }}, ${{ matrix.backend }})"
run: |
chmod +x ~
Expand Down

0 comments on commit cbf01fe

Please sign in to comment.