Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with GH Action Input #33

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ jobs:
hosted_provider: aks
rancher_version: ${{ inputs.rancher_version || '2.8-head' }}
k3s_version: ${{ inputs.k3s_version || 'v1.27.9+k3s1' }}
operator_nightly_chart: ${{ inputs.operator_nightly_chart || true }}
run_p0_provisioning_tests: ${{ inputs.run_p0_provisioning_tests || true }}
run_p0_importing_tests: ${{ inputs.run_p0_imorting_tests || true }}
run_support_matrix_provisioning_tests: ${{ inputs.run_support_matrix_provisioning_tests || false }}
run_support_matrix_importing_tests: ${{ inputs.run_support_matrix_importing_tests || false }}
destroy_runner: ${{ inputs.destroy_runner || true }}
operator_nightly_chart: ${{ inputs.operator_nightly_chart == true || true }}
run_p0_provisioning_tests: ${{ inputs.run_p0_provisioning_tests == true || true }}
run_p0_importing_tests: ${{ inputs.run_p0_imorting_tests == true || true }}
run_support_matrix_provisioning_tests: ${{ inputs.run_support_matrix_provisioning_tests == true || false }}
run_support_matrix_importing_tests: ${{ inputs.run_support_matrix_importing_tests == true || false }}
destroy_runner: ${{ inputs.destroy_runner == true || true }}
runner_template: ${{ inputs.runner_template || 'hosted-prov-e2e-ci-runner-spot-n2-highmem-16-gl-template-v1' }}
12 changes: 6 additions & 6 deletions .github/workflows/eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ jobs:
hosted_provider: eks
rancher_version: ${{ inputs.rancher_version || '2.8-head' }}
k3s_version: ${{ inputs.k3s_version || 'v1.27.9+k3s1' }}
operator_nightly_chart: ${{ inputs.operator_nightly_chart || true }}
run_p0_provisioning_tests: ${{ inputs.run_p0_provisioning_tests || true }}
run_p0_importing_tests: ${{ inputs.run_p0_imorting_tests || true }}
run_support_matrix_provisioning_tests: ${{ inputs.run_support_matrix_provisioning_tests || false }}
run_support_matrix_importing_tests: ${{ inputs.run_support_matrix_importing_tests || false }}
destroy_runner: ${{ inputs.destroy_runner || true}}
operator_nightly_chart: ${{ inputs.operator_nightly_chart == true || github.event_name == 'schedule' && true }}
run_p0_provisioning_tests: ${{ inputs.run_p0_provisioning_tests == true || github.event_name == 'schedule' && true }}
run_p0_importing_tests: ${{ inputs.run_p0_imorting_tests == true || github.event_name == 'schedule' && true }}
run_support_matrix_provisioning_tests: ${{ inputs.run_support_matrix_provisioning_tests == true || github.event_name == 'schedule' && false }}
run_support_matrix_importing_tests: ${{ inputs.run_support_matrix_importing_tests == true || github.event_name == 'schedule' && false }}
destroy_runner: ${{ inputs.destroy_runner == true || github.event_name == 'schedule' && true}}
runner_template: ${{ inputs.runner_template || 'hosted-prov-e2e-ci-runner-spot-n2-highmem-16-gl-template-v1'}}
12 changes: 6 additions & 6 deletions .github/workflows/gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
hosted_provider: gke
rancher_version: ${{ inputs.rancher_version || '2.8-head' }}
k3s_version: ${{ inputs.k3s_version || 'v1.27.9+k3s1' }}
operator_nightly_chart: ${{ inputs.operator_nightly_chart || false }}
run_p0_provisioning_tests: ${{ inputs.run_p0_provisioning_tests || true }}
run_p0_importing_tests: ${{ inputs.run_p0_imorting_tests || true }}
run_support_matrix_provisioning_tests: ${{ inputs.run_support_matrix_provisioning_tests || false }}
run_support_matrix_importing_tests: ${{ inputs.run_support_matrix_importing_tests || false }}
destroy_runner: ${{ inputs.destroy_runner || true}}
operator_nightly_chart: ${{ inputs.operator_nightly_chart == false || false }}
run_p0_provisioning_tests: ${{ inputs.run_p0_provisioning_tests == true || true }}
run_p0_importing_tests: ${{ inputs.run_p0_imorting_tests == true || true }}
run_support_matrix_provisioning_tests: ${{ inputs.run_support_matrix_provisioning_tests == true || false }}
run_support_matrix_importing_tests: ${{ inputs.run_support_matrix_importing_tests == true || false }}
destroy_runner: ${{ inputs.destroy_runner == true || true}}
runner_template: ${{ inputs.runner_template || 'hosted-prov-e2e-ci-runner-spot-n2-highmem-16-gl-template-v1'}}
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
RANCHER_VERSION: ${{ inputs.rancher_version }}
RANCHER_HOSTNAME: ${{steps.runner-ip.outputs.PUBLIC_IP}}.sslip.io
run: |
if [ ${{ github.event.inputs.operator_nightly_chart }} == true ]; then
if [ ${{ github.event.inputs.operator_nightly_chart }} == 'true' ]; then
make prepare-e2e-ci-rancher-hosted-nightly-chart
else
make prepare-e2e-ci-rancher
Expand Down Expand Up @@ -160,31 +160,31 @@ jobs:
go-version-file: go.mod

- name: Provisioning cluster tests
if: ${{ github.event.inputs.run_p0_provisioning_tests == true }}
if: ${{ github.event.inputs.run_p0_provisioning_tests == 'true' }}
env:
RANCHER_HOSTNAME: ${{ steps.runner-ip.outputs.PUBLIC_IP}}.sslip.io
CATTLE_TEST_CONFIG: ${{ github.workspace }}/cattle-config-provisioning.yaml
run: |
make e2e-provisioning-tests

- name: Importing cluster tests
if: ${{ github.event.inputs.run_p0_importing_tests == true }}
if: ${{ github.event.inputs.run_p0_importing_tests == 'true' }}
env:
RANCHER_HOSTNAME: ${{ steps.runner-ip.outputs.PUBLIC_IP}}.sslip.io
CATTLE_TEST_CONFIG: ${{ github.workspace }}/cattle-config-import.yaml
run: |
make e2e-import-tests

- name: Support matrix provisioning tests
if: ${{ github.event.inputs.run_support_matrix_provisioning_tests == true }}
if: ${{ github.event.inputs.run_support_matrix_provisioning_tests == 'true' }}
env:
RANCHER_HOSTNAME: ${{ steps.runner-ip.outputs.PUBLIC_IP}}.sslip.io
CATTLE_TEST_CONFIG: ${{ github.workspace }}/cattle-config-provisioning.yaml
run: |
make e2e-support-matrix-provisioning-tests

- name: Support matrix importing tests
if: ${{ github.event.inputs.run_support_matrix_importing_tests == true }}
if: ${{ github.event.inputs.run_support_matrix_importing_tests == 'true' }}
env:
RANCHER_HOSTNAME: ${{ steps.runner-ip.outputs.PUBLIC_IP}}.sslip.io
CATTLE_TEST_CONFIG: ${{ github.workspace }}/cattle-config-import.yaml
Expand Down
Loading