-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add more unit-tests to basemanifest renderer #6225
Conversation
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Test Results2 971 tests +9 2 962 ✔️ +9 2m 8s ⏱️ -28s Results for commit b9b9e29. ± Comparison against base commit eaee260. This pull request removes 2 and adds 11 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
@rynowak Please review this PR and merge it if you approve it. |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Description
While preparing a demo, I found the bug which doesn't merge PodSpecTemplate's object metadata. This fixes this bug and add more unit-test for base manifest.
Type of change
Auto-generated summary
🤖 Generated by Copilot at 87d56a3
Summary
🛠️,🧪,🗑️,
This pull request refactors and tests the container package of the radius project. It removes unused code, adds utility functions for merging manifests, and adds test cases and fixtures for the rendering of container resources. It also modifies the makeDeployment function to use the new utility functions.
Walkthrough
manifest.go
(link, link)util.go
(link)render.go
(link)render_test.go
(link, link)render_test.go
(link)util_test.go
(link)