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 e2e daily tests #263

Merged
merged 2 commits into from
Jan 10, 2024
Merged

Fix e2e daily tests #263

merged 2 commits into from
Jan 10, 2024

Conversation

furkatgofurov7
Copy link
Contributor

@furkatgofurov7 furkatgofurov7 commented Jan 10, 2024

What this PR does / why we need it:
e2e tests locally are passing since the user is expected to change the projectID value in the GKEClusterConfig cluster template. However, e2e tests running daily in the GitHub Actions also need to replace that value, hence it was missing till now. This PR ensures the new GKE_PROJECT_ID var is created and passed to the cluster template later and replaces it with the actual value from GH secret GKE_PROJECT_ID. This should fix e2e tests currently broken
https://github.com/rancher/gke-operator/actions/workflows/e2e-latest-rancher.yaml

Which issue(s) this PR fixes
Fixes: #264
Follow-up to: #256

Special notes for your reviewer:
Tested the changes in my fork and tests are passing: https://github.com/furkatgofurov7/gke-operator/actions/runs/7472680816

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests
  • backport needed

@furkatgofurov7 furkatgofurov7 added the kind/bug Something isn't working label Jan 10, 2024
@furkatgofurov7 furkatgofurov7 requested a review from a team as a code owner January 10, 2024 09:30
Signed-off-by: Furkat Gofurov <[email protected]>
@furkatgofurov7 furkatgofurov7 merged commit c766add into rancher:main Jan 10, 2024
7 checks passed
@furkatgofurov7 furkatgofurov7 deleted the e2e-fix branch January 10, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing e2e tests
4 participants