Skip to content

Commit

Permalink
Fix scheduled gh action to run the tests (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
valaparthvi authored Jan 15, 2024
1 parent 6bce3c2 commit 5ad0e5c
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 5ad0e5c

Please sign in to comment.