From f20b6eb710879996d287cb9cb1cc755d3644abb5 Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Thu, 7 Sep 2023 18:15:49 -0700 Subject: [PATCH] Disable gVisor in tests (for now) (#22881) We can't use `sudo` on our self-hosted runners at the moment to do the install and Docker reload. So, we'll disable this for now, which should automatically cause the gVisor-related tests to be skipped. --- .github/workflows/test-go.yml | 29 ------------------------- vault/external_plugin_container_test.go | 10 +++++++++ 2 files changed, 10 insertions(+), 29 deletions(-) diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index d8b57f2e73..71a3138367 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -255,35 +255,6 @@ jobs: GOPRIVATE: github.com/hashicorp/* run: time make ci-bootstrap dev - uses: ./.github/actions/set-up-gotestsum - - name: Install gVisor - run: | - ( - set -e - ARCH="$(uname -m)" - URL="https://storage.googleapis.com/gvisor/releases/release/latest/${ARCH}" - wget --quiet "${URL}/runsc" "${URL}/runsc.sha512" \ - "${URL}/containerd-shim-runsc-v1" "${URL}/containerd-shim-runsc-v1.sha512" - sha512sum -c runsc.sha512 \ - -c containerd-shim-runsc-v1.sha512 - rm -f -- *.sha512 - chmod a+rx runsc containerd-shim-runsc-v1 - sudo mv runsc containerd-shim-runsc-v1 /usr/local/bin - ) - sudo tee /etc/docker/daemon.json <