Test flightcontrol action #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e-tests | |
# on: | |
# schedule: | |
# - cron: 0 0 * * 1-5 # every work day at 00:00 | |
on: | |
push: | |
branches: | |
- "github-action-running-e2e-tests" | |
env: | |
NAMESPACE: dto-k8s-ondemand | |
ENVIRONMENT: dto-k8s-1-27 | |
jobs: | |
use-flightcontrol: | |
name: Use flightcontrol | |
runs-on: | |
- self-hosted | |
- operator-e2e | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install kubectl | |
uses: azure/setup-kubectl@v3 | |
- name: Create cluster | |
run: .github/scripts/create-cluster.sh # trigger creation, wait for completion and return kubeconfig | |
- name: Run test | |
run: .github/scripts/run-test.sh # use kubeconfig | |
- name: Destroy cluster | |
run: .github/scripts/destroy-cluster.sh # cleanup |