Add an e2e GHA

For now this only uses the default deployment.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
Stephen Kitt
2020-11-10 18:45:33 +01:00
committed by Stephen Kitt
parent c31bf71824
commit 7ffc2bb663
2 changed files with 36 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
---
name: End to End Tests
on:
pull_request:
jobs:
e2e:
name: E2E
timeout-minutes: 30
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Reclaim free space
run: |
sudo swapoff -a
sudo rm -f /swapfile
df -h
free -h
- name: Run E2E deployment and tests
run: |
make e2e
- name: Post mortem
if: failure()
run: |
df -h
free -h
make post-mortem
+2
View File
@@ -13,6 +13,8 @@ export DEPLOY_ARGS
deploy: clusters preload-images
e2e: E2E_ARGS=cluster1 cluster2
preload-images:
source $(SCRIPTS_DIR)/lib/debug_functions; \
source $(SCRIPTS_DIR)/lib/deploy_funcs; \