Skip to content

Conversation

@mdroll
Copy link
Contributor

@mdroll mdroll commented Nov 6, 2025

Hard-coded references to example apps should now be completely removed. As mentioned in ticket RM-55298, the exercises directory has also been removed.

To test with two registries (or in air-gapped environment), you need to provide your own config.yaml for the example app sand modify the image references in this file. These image references are then passed to the GitOps build library.

As for now removing the exercices from the gop leads to a 1% decrease of test coverage.

pmarkiewka and others added 5 commits November 7, 2025 08:53
- Move example-app definitions from `argocd/example-apps` and `applications/` into `examples/example-apps-via-content-loader`
- Adjust Dockerfile to initialize example-apps folder as standalone git repo for content-loader
- Update `GitopsPlaygroundCli` to include content examples via `--content.examples` flag
- Extend config merging logic (`MapUtils.deepMerge`) to support additional example content source
- Update schema, configurator, and tests to handle example-apps path and validation
- Clean up redundant templates and adjust paths accordingly

This refactor isolates example application definitions into a dedicated content-loader directory,
simplifying configuration handling and enabling dynamic content loading via the CLI.
- extract hardcoded references for example-apps in unit test
- Remove not used constants
- Add references for e.g., two registries operation inside the content-loader doc
@mdroll mdroll force-pushed the feature/extract-example-apps branch from 871a4ff to 3b99a12 Compare November 7, 2025 07:55
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.

3 participants