ci: Add CI values file for testing the Orchestrator flavor [RHIDP-7469] - #177
Merged
Conversation
Reviewer's GuideAdds CI support for the Orchestrator flavor by introducing a dedicated values file and enhancing the GitHub Actions workflow to detect Backstage chart changes and install required CRDs. Class diagram for new Orchestrator CI values file structureclassDiagram
class OrchestratorCIValues {
route: enabled (bool)
upstream.postgresql.primary.persistence.enabled (bool)
global.dynamic.plugins (list)
orchestrator.enabled (bool)
}
class Plugin {
package: string
disabled: bool
}
OrchestratorCIValues "1" -- "*" Plugin : dynamic.plugins
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
The Orchestrator flavor requires installing the orchestrator-infra chart as a prerequisite, but the OpenShift Serverless and Serverless Operators installed by this chart are available only on OCP (from the Red Hat Catalog). And we cannot install the orchestrator-infra-chart directly here using the charts/orchestrator-infra/ci/upstream-olm-values.yaml file because `ct install` on the orchestrator-infra chart would then fail to install it due to mismatching resource labels. For the simple testing that we are doing here on a vanilla K8s cluster, we only need both the Knative and SonataFlow CRDs. Additional nOTES: - Serverless 1.35 corresponds to Knative 1.18 - Serverless Logic 1.35 corresponds to Sonataflow 1.43
rm3l
force-pushed
the
rhidp-7469-add-ci-values-file-testing-the-helm-chart-with-the-orchestrator-enabled
branch
from
June 26, 2025 10:38
7753202 to
a33c97b
Compare
rm3l
force-pushed
the
rhidp-7469-add-ci-values-file-testing-the-helm-chart-with-the-orchestrator-enabled
branch
from
June 26, 2025 12:43
a33c97b to
c00ae90
Compare
|
There was a problem hiding this comment.
Hey @rm3l - I've reviewed your changes - here's some feedback:
- The workflow currently triggers the CRD install step on any Backstage chart change; consider specifically checking for changes to the new
ci/with-orchestrator-values.yamlfile to avoid unnecessary CRD installs. - Rather than pulling the SonataFlow operator manifest unpinned, pin it to a specific digest or vendor the CRD files locally to guard against upstream changes breaking the CI.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The workflow currently triggers the CRD install step on any Backstage chart change; consider specifically checking for changes to the new `ci/with-orchestrator-values.yaml` file to avoid unnecessary CRD installs.
- Rather than pulling the SonataFlow operator manifest unpinned, pin it to a specific digest or vendor the CRD files locally to guard against upstream changes breaking the CI.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
rm3l
marked this pull request as ready for review
June 26, 2025 13:24
rm3l
commented
Jun 30, 2025
rm3l
left a comment
Member
Author
There was a problem hiding this comment.
This only adds a CI values file, with no impact on the actual chart. Merging to close out https://issues.redhat.com/browse/RHIDP-6159
rm3l
deleted the
rhidp-7469-add-ci-values-file-testing-the-helm-chart-with-the-orchestrator-enabled
branch
June 30, 2025 09:41
rm3l
added a commit
that referenced
this pull request
Jun 30, 2025
5 tasks
openshift-merge-bot Bot
pushed a commit
that referenced
this pull request
Jun 30, 2025
* chore: Bump `backstage` chart version to fix release workflow Follow-up to #177 * chore(pre-commit): Auto-fix hooks Co-authored-by: rm3l <rm3l@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: rm3l <rm3l@users.noreply.github.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description of the change
This PR adds a CI values file in the
backstagechart for testing this Chart with the Orchestrator enabled. Since installing the Orchestrator flavor requires the orchestrator-infra chart, and the operators the orchestrator-infra chart installs are only available in the RH CatalogSource, this tries to install the bare minimum requirements (Knative and SonataFlow CRDs) to have a running instance of the app.The scope of the tests in the backstage chart is not to have complete app E2E tests, but instead to make sure that the chart is installable and the app starts as expected. So this should be fine for having some minimal testing of this. There is a different Story for full E2E orchestrator testing.
Which issue(s) does this PR fix or relate to
Fixes https://issues.redhat.com/browse/RHIDP-7469
How to test changes / Special notes to the reviewer
We can see in the workflow run that the new CI values is being picked in the CI.
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Usepre-commit run -ato apply changes. The pre-commit Workflow will do this automatically for you if needed.pre-commithook.ct lintcommand.Summary by Sourcery
Add CI support for testing the Orchestrator flavor by introducing a dedicated values file, extending the test workflow to detect Backstage chart changes and install required CRDs, and bump the Backstage chart version.
Enhancements:
CI:
Chores: