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
# This workflow is a reusable one called by other workflows | ||
name: (template) CLI/UI template | ||
on: | ||
workflow_call: | ||
# Variables to set when calling this reusable workflow | ||
inputs: | ||
backup_restore_version: | ||
type: string | ||
ca_type: | ||
type: string | ||
cert-manager_version: | ||
type: string | ||
cluster_name: | ||
required: true | ||
type: string | ||
cypress_tags: | ||
type: string | ||
destroy_runner: | ||
type: boolean | ||
elemental_ui_version: | ||
type: string | ||
iso_boot: | ||
type: boolean | ||
k8s_version_to_provision: | ||
required: true | ||
type: string | ||
operator_repo: | ||
type: string | ||
proxy: | ||
type: string | ||
public_dns: | ||
required: true | ||
type: string | ||
qase_run_id: | ||
type: string | ||
rancher_version: | ||
type: string | ||
runner_label: | ||
required: true | ||
type: string | ||
test_description: | ||
type: string | ||
test_type: | ||
required: true | ||
type: string | ||
ui_account: | ||
type: string | ||
upgrade_image: | ||
type: string | ||
upgrade_os_channel: | ||
type: string | ||
upstream_cluster_version: | ||
type: string | ||
# Secrets to set when calling this reusable workflow | ||
secrets: | ||
qase_api_token: | ||
jobs: | ||
debug: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check test_type value | ||
run: echo "test_type: ${{ inputs.test_type }}" | ||
cli: | ||
if: ${{ inputs.test_type == 'cli' }} | ||
uses: ./.github/workflows/master_cli.yaml | ||
secrets: | ||
qase_api_token: ${{ secrets.qase_api_token }} | ||
with: | ||
ca_type: ${{ inputs.ca_type }} | ||
cert-manager_version: ${{ inputs.cert-manager_version }} | ||
cluster_name: ${{ inputs.cluster_name }} | ||
iso_boot: ${{ inputs.iso_boot }} | ||
k8s_version_to_provision: ${{ inputs.k8s_version_to_provision }} | ||
operator_repo: ${{ inputs.operator_repo }} | ||
public_dns: ${{ needs.create-runner.outputs.public_dns }} | ||
qase_run_id: ${{ needs.pre-qase.outputs.qase_run_id }} | ||
rancher_version: ${{ inputs.rancher_version }} | ||
runner_label: ${{ needs.create-runner.outputs.runner_label }} | ||
test_description: ${{ inputs.test_description }} | ||
test_type: ${{ inputs.test_type }} | ||
upgrade_image: ${{ inputs.upgrade_image }} | ||
upgrade_os_channel: ${{ inputs.os_channel }} | ||
upstream_cluster_version: ${{ inputs.upstream_cluster_version }} | ||
ui: | ||
if: ${{ inputs.test_type == 'ui' }} | ||
uses: ./.github/workflows/master_ui.yaml | ||
secrets: | ||
qase_api_token: ${{ secrets.qase_api_token }} | ||
with: | ||
ca_type: ${{ inputs.ca_type }} | ||
cert-manager_version: ${{ inputs.cert-manager_version }} | ||
cluster_name: ${{ inputs.cluster_name }} | ||
cypress_tags: ${{ inputs.cypress_tags }} | ||
elemental_ui_version: ${{ inputs.elemental_ui_version }} | ||
iso_boot: ${{ inputs.iso_boot }} | ||
k8s_version_to_provision: ${{ inputs.k8s_version_to_provision }} | ||
operator_repo: ${{ inputs.operator_repo }} | ||
proxy: ${{ inputs.proxy }} | ||
public_dns: ${{ needs.create-runner.outputs.public_dns }} | ||
qase_run_id: ${{ needs.pre-qase.outputs.qase_run_id }} | ||
rancher_version: ${{ inputs.rancher_version }} | ||
runner_label: ${{ needs.create-runner.outputs.runner_label }} | ||
test_description: ${{ inputs.test_description }} | ||
ui_account: ${{ inputs.ui_account }} | ||
upgrade_image: ${{ inputs.upgrade_image }} | ||
upgrade_os_channel: ${{ inputs.os_channel }} | ||
upstream_cluster_version: ${{ inputs.upstream_cluster_version }} |