|
| 1 | +# This workflow calls the master E2E workflow with custom variables |
| 2 | +name: UI-Rancher-Manager-Head-2.8 |
| 3 | + |
| 4 | +on: |
| 5 | + workflow_dispatch: |
| 6 | + inputs: |
| 7 | + boot_type: |
| 8 | + description: Type of image used for bootstrapping the nodes |
| 9 | + default: '"iso"' |
| 10 | + type: string |
| 11 | + destroy_runner: |
| 12 | + description: Destroy the auto-generated self-hosted runner |
| 13 | + default: true |
| 14 | + type: boolean |
| 15 | + k8s_downstream_version: |
| 16 | + description: Rancher cluster downstream version to use |
| 17 | + default: '"v1.28.13+k3s1"' |
| 18 | + type: string |
| 19 | + k8s_upstream_version: |
| 20 | + description: Rancher cluster upstream version to use |
| 21 | + default: '"v1.28.13+k3s1"' |
| 22 | + type: string |
| 23 | + proxy: |
| 24 | + description: Deploy a proxy (none/rancher/elemental) |
| 25 | + default: elemental |
| 26 | + type: string |
| 27 | + qase_run_id: |
| 28 | + description: Qase run ID where the results will be reported |
| 29 | + type: string |
| 30 | + rancher_version: |
| 31 | + description: Rancher Manager channel/version/head_version to use |
| 32 | + default: '"latest/devel/2.8"' |
| 33 | + type: string |
| 34 | + schedule: |
| 35 | + # Every Sunday at 12pm UTC (7am in us-central1) |
| 36 | + - cron: '0 12 * * 0' |
| 37 | + |
| 38 | +jobs: |
| 39 | + ui: |
| 40 | + strategy: |
| 41 | + fail-fast: false |
| 42 | + max-parallel: 4 |
| 43 | + matrix: |
| 44 | + boot_type: ${{ fromJSON(format('[{0}]', inputs.boot_type || '"iso","raw"')) }} |
| 45 | + k8s_downstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_downstream_version || '"v1.28.13+k3s1","v1.28.13+rke2r1"')) }} |
| 46 | + k8s_upstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_upstream_version || '"v1.28.13+k3s1"')) }} |
| 47 | + rancher_version: ${{ fromJSON(format('[{0}]', inputs.rancher_version || '"latest/devel/2.8"')) }} |
| 48 | + uses: ./.github/workflows/master_e2e.yaml |
| 49 | + secrets: |
| 50 | + credentials: ${{ secrets.GCP_CREDENTIALS }} |
| 51 | + pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }} |
| 52 | + qase_api_token: ${{ secrets.QASE_API_TOKEN }} |
| 53 | + with: |
| 54 | + boot_type: ${{ matrix.boot_type }} |
| 55 | + ca_type: selfsigned |
| 56 | + cypress_tags: main |
| 57 | + destroy_runner: ${{ github.event_name == 'schedule' && true || inputs.destroy_runner }} |
| 58 | + elemental_ui_version: dev |
| 59 | + k8s_downstream_version: ${{ matrix.k8s_downstream_version }} |
| 60 | + k8s_upstream_version: ${{ matrix.k8s_upstream_version }} |
| 61 | + proxy: ${{ inputs.proxy || 'elemental' }} |
| 62 | + qase_run_id: ${{ github.event_name == 'schedule' && 'auto' || inputs.qase_run_id }} |
| 63 | + rancher_version: ${{ matrix.rancher_version }} |
| 64 | + test_type: ui |
| 65 | + zone: us-central1-a |
0 commit comments