feat(devspaces): add workspace devfile, startup scripts, and Dev Spaces guide - #272
feat(devspaces): add workspace devfile, startup scripts, and Dev Spaces guide#272BoseKarthikeyan wants to merge 9 commits into
Conversation
PR Summary by QodoAdd OpenShift Dev Spaces workspace definition, startup scripts, and guide
AI Description
Diagram
High-Level Assessment
Files changed (6)
|
Code Review by Qodo
Context used✅ Cross-repo context Explored:
repo: redhat-developer/rhdh (sha: d090bd1a) Explored:
repo: redhat-developer/rhdh-plugins (sha: 83d8a479) 1.
|
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit ffc1728 |
|
@rm3l, can you kickoff the pipeline? |
|
|
@rm3l,do you need anyother details to merge this PR? |
|
/cc |
@BoseKarthikeyan Thanks for this PR, but I'm curious: is there a motivation or specific request behind this? A link to a JIRA or GH issue would be great, to provide us with more context. |
|
@rm3l,As you know, installing Podman on Windows with WSL can often be challenging. Our developers were spending significant time struggling to set up their local development environments.To provide a better developer experience, we evaluated DevSpace and found it to be a great solution—it is OS-independent, easy to use, and allows us to push global configuration updates effortlessly whenever changes are required. To remove onboarding friction, we have created a standardized Devfile for the team. |
Thanks for the additional context, @BoseKarthikeyan! That definitely makes sense. |
|
@rm3l,We haven't tried the nested container feature yet, even though it was released a few versions ago. However, we have been using this Devfile for the past four months without any issues, and it has greatly improved the developer experience. We plan to test composer.yaml at a later date and will provide an update. |
|
@rm3l,I hope you have had an opportunity to discuss this with your team. Could you please share their decision? |
@BoseKarthikeyan Still waiting for PM decision on this. In the meantime, PRs should now target the |
|
/cc @benwilcock @kadel Feel free to chime in. Thanks. |







Description
Adds OpenShift Dev Spaces support for this repository with the following changes:
devfile.yaml: Defines a Dev Spaces workspace with three containers (tools,rhdh,sonataflow), persistent volumes, public endpoints, and a full set of runnable commands for starting RHDH, developing Backstage plugins, and running SonataFlow workflows.scripts/start-rhdh.sh: Bootstrap script that sets up config symlinks, dynamic plugin layout,.npmrcfrom Kubernetes secret, and starts the RHDH backend.scripts/start-orchestrator.sh: Startup script that merges workflow resources and launches SonataFlow in devmode.docs/rhdh-local-guide/devspaces-guide.md: New user guide covering workspace setup, endpoints, command reference, development flows, troubleshooting, and private registry configuration.docs/rhdh-local-guide/index.mdandmkdocs.yaml: Updated to include the new Dev Spaces guide in navigation.Which issue(s) does this PR fix or relate to
PR acceptance criteria
How to test changes / Special notes to the reviewer
devfile.yaml.start-rhdhpost-start event runs automatically and RHDH becomes reachable on port7007.start-sonataflowtask and confirm the SonataFlow endpoint becomes available on port8899(allow ~15 minutes for first startup).