From c6b06e2ec6f2b98d6300989f1d97d3a35a5a284a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Fri, 22 Sep 2023 06:24:56 +0200 Subject: [PATCH] e2e: Move tests to gh action using azure workers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit use the azure runners provided by "confidential-containers/infra" to run the kata-clh and kata-qemu workflows. Signed-off-by: Lukáš Doktor --- .github/workflows/az-e2e.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/az-e2e.yaml diff --git a/.github/workflows/az-e2e.yaml b/.github/workflows/az-e2e.yaml new file mode 100644 index 00000000..9692b143 --- /dev/null +++ b/.github/workflows/az-e2e.yaml @@ -0,0 +1,31 @@ +name: azure e2e tests +on: + pull_request: + branches: + - main + +permissions: + contents: read + +jobs: + e2e: + name: operator azure e2e tests + runs-on: az-ubuntu-2204 + + strategy: + matrix: + runtimeclass: ["kata-qemu", "kata-clh"] + + steps: + - uses: actions/checkout@v3 + + - name: Install deps + run: | + sudo apt-get update -y + sudo apt-get install -y ansible python-is-python3 + + - name: Run e2e tests + run: | + cd tests/e2e + export PATH="$PATH:/usr/local/bin" + ./run-local.sh -r "{{ runtimeclass }}" -u