From 90b40675238d23b1479b4a55e1d2d9a7bf98258e Mon Sep 17 00:00:00 2001 From: katexochen <49727155+katexochen@users.noreply.github.com> Date: Fri, 2 Sep 2022 12:26:24 +0200 Subject: [PATCH] e2e: Run tests on GitHub instead of local runner --- .github/workflows/e2e-test-azure-weekly.yml | 4 +--- .github/workflows/e2e-test-azure.yml | 8 ++------ .github/workflows/e2e-test-gcp-weekly.yml | 5 ++--- .github/workflows/e2e-test-gcp.yml | 9 +++------ 4 files changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/e2e-test-azure-weekly.yml b/.github/workflows/e2e-test-azure-weekly.yml index dc0e4905c..ae08b8d1c 100644 --- a/.github/workflows/e2e-test-azure-weekly.yml +++ b/.github/workflows/e2e-test-azure-weekly.yml @@ -11,9 +11,7 @@ jobs: strategy: matrix: version: ["1.22", "1.23"] - runs-on: [self-hosted, edgserver] - container: - image: ghcr.io/catthehacker/ubuntu:act-latest + runs-on: ubuntu-latest steps: - name: Check out repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b diff --git a/.github/workflows/e2e-test-azure.yml b/.github/workflows/e2e-test-azure.yml index 4700f36ff..802f317fd 100644 --- a/.github/workflows/e2e-test-azure.yml +++ b/.github/workflows/e2e-test-azure.yml @@ -6,9 +6,7 @@ on: - cron: "0 0 * * 2-6" jobs: test-latest: - runs-on: [self-hosted, edgserver] - container: - image: ghcr.io/catthehacker/ubuntu:act-latest + runs-on: ubuntu-latest steps: - name: Check out repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b @@ -39,9 +37,7 @@ jobs: strategy: matrix: version: ["1.22", "1.23"] - runs-on: [self-hosted, edgserver] - container: - image: ghcr.io/catthehacker/ubuntu:act-latest + runs-on: ubuntu-latest steps: - name: Check out repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b diff --git a/.github/workflows/e2e-test-gcp-weekly.yml b/.github/workflows/e2e-test-gcp-weekly.yml index daa5fc9f0..58f89b9d9 100644 --- a/.github/workflows/e2e-test-gcp-weekly.yml +++ b/.github/workflows/e2e-test-gcp-weekly.yml @@ -11,14 +11,13 @@ jobs: strategy: matrix: version: ["1.22", "1.23"] - runs-on: [self-hosted, edgserver] - container: - image: ghcr.io/catthehacker/ubuntu:act-latest + runs-on: ubuntu-latest steps: - name: Check out repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b with: fetch-depth: 0 + - name: Run GCP E2E test uses: ./.github/actions/e2e_test with: diff --git a/.github/workflows/e2e-test-gcp.yml b/.github/workflows/e2e-test-gcp.yml index 8bf96114c..499de2a28 100644 --- a/.github/workflows/e2e-test-gcp.yml +++ b/.github/workflows/e2e-test-gcp.yml @@ -6,14 +6,13 @@ on: - cron: "0 2 * * 2-6" jobs: test-latest: - runs-on: [self-hosted, edgserver] - container: - image: ghcr.io/catthehacker/ubuntu:act-latest + runs-on: ubuntu-latest steps: - name: Check out repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b with: fetch-depth: 0 + - name: Run GCP E2E test uses: ./.github/actions/e2e_test with: @@ -39,9 +38,7 @@ jobs: strategy: matrix: version: ["1.22", "1.23"] - runs-on: [self-hosted, edgserver] - container: - image: ghcr.io/catthehacker/ubuntu:act-latest + runs-on: ubuntu-latest steps: - name: Check out repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b