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 the scheduled actions to take correct input and fix invalid aksClusterConfig key #37

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

valaparthvi
Copy link
Collaborator

@valaparthvi valaparthvi commented Jan 17, 2024

What does this PR do?

This PR fixes:

  1. Scheduled GH actions not taking appropriate inputs.
  2. Invalid aksClusterConfig key introduced in Update all the workflow input with GCP Zone and move to geolocalized instance template #19.

Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes #

Checklist:

  • Squashed commits into logical changes
  • Documentation
  • GitHub Actions (if applicable) (Check the Set up Job > Inputs)
    1. GKE
    2. EKS

Special notes for your reviewer:

EKS
GKE

runner_template: ${{ inputs.runner_template }}
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 || false }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, if I use github.event == 'schedule' && false or github.event == 'schedule' && true, it always takes the value as true, so I have decided to use pass false, and same for other providers.

@cpinjani
Copy link
Collaborator

lgtm

@valaparthvi valaparthvi merged commit 88374c1 into main Jan 17, 2024
@valaparthvi valaparthvi deleted the fix-scheduler-input branch January 17, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants