Skip to content
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 resource name to annotations #2106

Merged
merged 2 commits into from
Feb 8, 2024
Merged

Add resource name to annotations #2106

merged 2 commits into from
Feb 8, 2024

Conversation

BrennanConroy
Copy link
Member

@BrennanConroy BrennanConroy commented Feb 6, 2024

Fixes #1441

Do we need to add names to other resource types?

Microsoft Reviewers: Open in CodeFlow

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-codeflow for labeling automated codeflow. intentionally a different color! label Feb 6, 2024
@davidfowl
Copy link
Member

What about containers?

@BrennanConroy
Copy link
Member Author

What about containers?

That's why I asked 😆

Do we need to add names to other resource types?

@davidfowl
Copy link
Member

davidfowl commented Feb 7, 2024

Yes. This helps us correlate how DCPs thing resources map to appmodel resources.

@@ -386,6 +386,74 @@ public async Task VerifyDockerWithBoundVolumeMountWorksWithRelativePaths()
await app.StopAsync();
}

[LocalOnlyFact("docker")]
public async Task KubernetesHasResourceNameForContainersAndExes()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's too now, but you could write a unit test for this instead of integration. There is now an ApplicationExecutorTests file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooh, I'll need to remember that for future testing.

@BrennanConroy BrennanConroy merged commit d4253c5 into main Feb 8, 2024
8 checks passed
@BrennanConroy BrennanConroy deleted the brecon/annotate branch February 8, 2024 17:47
@BrennanConroy BrennanConroy added this to the preview 4 (Mar) milestone Feb 8, 2024
radical pushed a commit to radical/aspire that referenced this pull request Feb 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-codeflow for labeling automated codeflow. intentionally a different color!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add resource name annotation to dcp resources
3 participants