From f1aa014a9a6eb6b8e8f5d883498225b78114d5eb Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Tue, 17 Sep 2024 13:15:41 -0700 Subject: [PATCH] Add iptables Signed-off-by: Derek Nola --- .github/workflows/e2e.yaml | 4 ++-- tests/docker/test-run-basics | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index b57e92f50568..2092c0d25650 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -134,7 +134,7 @@ jobs: strategy: fail-fast: false matrix: - dtest: [basics, bootstraptoken, cacerts, compat, lazypull, upgrade] + dtest: [basics, bootstraptoken, cacerts, compat, upgrade] steps: - name: Checkout uses: actions/checkout@v4 @@ -147,7 +147,7 @@ jobs: cache: false - name: Install Support Tools run: | - sudo apt-get update && sudo apt-get install -y wget gawk openssh-client openssh-server + sudo apt-get update && sudo apt-get install -y wget gawk openssh-client openssh-server net-tools iptables sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64 -O /usr/bin/yq &&\ sudo chmod +x /usr/bin/yq curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl" diff --git a/tests/docker/test-run-basics b/tests/docker/test-run-basics index bcfd6c33a19a..c3fde55242f8 100755 --- a/tests/docker/test-run-basics +++ b/tests/docker/test-run-basics @@ -10,8 +10,11 @@ all_services=( export NUM_SERVERS=1 export NUM_AGENTS=1 export WAIT_SERVICES="${all_services[@]}" -export SERVER_ARGS="--snapshotter=native" -export AGENT_ARGS="--snapshotter=native" + +if [ "$(uname -i)" = "aarch64" ]; then + export SERVER_ARGS="--snapshotter=native" + export AGENT_ARGS="--snapshotter=native" +fi start-test() { use-local-storage-volume