Skip to content

Commit

Permalink
temp commit
Browse files Browse the repository at this point in the history
Signed-off-by: Parthvi <parthvi.vala@gmail.com>
  • Loading branch information
valaparthvi committed Jan 16, 2024
1 parent 5ad0e5c commit 4182e39
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
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'}}
12 changes: 6 additions & 6 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 [ ${{ 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: ${{ 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: ${{ 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: ${{ 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: ${{ 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 All @@ -206,7 +206,7 @@ jobs:
if-no-files-found: ignore

delete-runner:
if: ${{ always() && inputs.destroy_runner == true }}
if: ${{ always() && inputs.destroy_runner == 'true' }}
needs: [create-runner, installation-and-e2e-tests]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 4182e39

Please sign in to comment.