Skip to content

Commit

Permalink
Disable e2e tests for now
Browse files Browse the repository at this point in the history
Disable the vagrant based e2e tests until
actions/runner-images#8730 is resolved.

Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Nov 14, 2023
1 parent c33f280 commit 8172436
Showing 1 changed file with 45 additions and 36 deletions.
81 changes: 45 additions & 36 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ jobs:
path: image.tar

e2e-fedora:
# TODO(saschagrunert): re-enable when
# https://github.com/actions/runner-images/issues/8730 is resolved
if: false
needs: image

runs-on: macos-12
timeout-minutes: 90
env:
Expand Down Expand Up @@ -86,8 +88,10 @@ jobs:
$RUN hack/ci/e2e-fedora.sh
e2e-ubuntu:
# TODO(saschagrunert): re-enable when
# https://github.com/actions/runner-images/issues/8730 is resolved
if: false
needs: image

runs-on: macos-12
timeout-minutes: 90
env:
Expand Down Expand Up @@ -116,42 +120,47 @@ jobs:
$RUN hack/ci/e2e-ubuntu.sh
e2e-flatcar:
needs: image

runs-on: macos-12
timeout-minutes: 90
env:
RUN: ./hack/ci/run-flatcar.sh
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.5.2
- name: Vagrant box version
id: vagrant-box
run: |
echo "version=$(curl -s https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_vagrant.json | jq '.versions[0].version' | tr -d '".')" >> $GITHUB_OUTPUT
shell: bash
- name: Upgrade vagrant box
run: |
ln -sf hack/ci/Vagrantfile-flatcar Vagrantfile
vagrant box update
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: image
path: .
- name: Boot Virtual Machine
run: make vagrant-up-flatcar
- name: Show environment information
run: |
$RUN kubectl wait --for=condition=ready --timeout=600s node localhost
$RUN kubectl get nodes -o wide
- name: Run E2E tests
run: $RUN hack/ci/e2e-flatcar-dev-container.sh
- name: Run Flaky E2E tests
continue-on-error: true
run: |
$RUN "echo \"export E2E_TEST_FLAKY_TESTS_ONLY=true\" >> /vagrant/hack/ci/env-flatcar.sh"
$RUN hack/ci/e2e-flatcar-dev-container.sh
# TODO(saschagrunert): re-enable when
# https://github.com/actions/runner-images/issues/8730 is resolved
if: false
needs: image
runs-on: macos-12
timeout-minutes: 90
env:
RUN: ./hack/ci/run-flatcar.sh
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.5.2
- name: Vagrant box version
id: vagrant-box
run: |
echo "version=$(curl -s https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_vagrant.json | jq '.versions[0].version' | tr -d '".')" >> $GITHUB_OUTPUT
shell: bash
- name: Upgrade vagrant box
run: |
ln -sf hack/ci/Vagrantfile-flatcar Vagrantfile
vagrant box update
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: image
path: .
- name: Boot Virtual Machine
run: make vagrant-up-flatcar
- name: Show environment information
run: |
$RUN kubectl wait --for=condition=ready --timeout=600s node localhost
$RUN kubectl get nodes -o wide
- name: Run E2E tests
run: $RUN hack/ci/e2e-flatcar-dev-container.sh
- name: Run Flaky E2E tests
continue-on-error: true
run: |
$RUN "echo \"export E2E_TEST_FLAKY_TESTS_ONLY=true\" >> /vagrant/hack/ci/env-flatcar.sh"
$RUN hack/ci/e2e-flatcar-dev-container.sh
baseprofiles:
# TODO(saschagrunert): re-enable when
# https://github.com/actions/runner-images/issues/8730 is resolved
if: false
needs: image
runs-on: macos-12
timeout-minutes: 90
Expand Down

0 comments on commit 8172436

Please sign in to comment.