-
Notifications
You must be signed in to change notification settings - Fork 139
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
ci: add openshift on-demand cluster tests #1816
Conversation
Hey there! OverviewFor this feature implementation, we needed to extract the test logic into a reusable action called Key Changes
Technical Challenges
Summary
Testing and Results
Thank you in advance for the review! |
62e8eac
to
1b7fef1
Compare
Hi @aabouzaid, I have updated the branch to rebase it on main, reintegrating the features that were added in the meantime. I also took the opportunity to add comments on the points we discussed. Regarding the generation of GH tokens, it has been extracted into the calling workflows as requested. Slack alerting has been added, but we will need to test it once we agree on the content of the PR. Please wait before merging until I have tested after the review (as I need the PR of the IaC to be merged for that): Slack tests and ROSA on-demand integration tests The standard tests are green, hopefully nothing broke :) Thank you in advance! |
@leiicamundi Thanks a lot for the split, it uses the same methods we use in the team and is much easier to follow and review. I just have a question about cloning the cluster resources from the Distro repo. |
Hi @aabouzaid, thanks for the reviews. The clone of the distribution repo is referenced here
Then, the next step proceeds to the template of the values and cluster configuration |
facce12
to
1f25012
Compare
@aabouzaid, can you do a final review before the merge? However, I noticed that the upgrade tests are taking more time and resources than they did a month ago. I had to increase the cluster by 4 CPUs. Is there a reason for this? I observed the same phenomenon in the integration tests on the permanent clusters. Looking at the history, we can see that it used to take 10 minutes (https://github.com/camunda/camunda-platform-helm/actions/runs/9408861180/job/25917664656) compared to 16 minutes today (https://github.com/camunda/camunda-platform-helm/actions/runs/9799006610/job/27058448099?pr=1816, https://github.com/camunda/camunda-platform-helm/actions/runs/9782418024/job/27008671740). |
No idea, but we will investigate it later. Thanks for the changes, looks good to me 🙌 |
Which problem does the PR fix?
This PR addresses the limitation in our current CI pipeline for the Helm chart repository, which only tests against a single version of OpenShift. By modifying the pipeline to test against multiple OpenShift versions, we aim to enhance compatibility and ensure the Helm charts work seamlessly across different OpenShift environments.
What's in this PR?
In this PR, we have made the following changes:
Additionally, as part of this PR, the following secrets were added:
DISTRO_CI_REDHAT_CONSOLE_TOKEN
: Token to add the cluster on the Red Hat console.DISTRO_CI_AWS_ACCESS_KEY
,DISTRO_CI_AWS_SECRET_KEY
,DISTRO_CI_AWS_PROFILE
: Credentials to authenticate with AWS.DISTRO_CI_OPENSHIFT_TFSTATE_BUCKET
: Storage for Terraform state files.DISTRO_CI_ON_DEMAND_EXTERNAL_DNS_GCP_SERVICE_ACCOUNT
,DISTRO_CI_ON_DEMAND_CERT_MANAGER_GCP_SERVICE_ACCOUNT
: GCP DNS Service AccountsChecklist
Before opening the PR:
make go.update-golden-only
in the repo's root dir.After opening the PR:
To-Do