microsoft / microsoft/aspire

Allow change publish output path for a specific resource

Open
#9,914 2 comments 0 reactions 0 assignees View on GitHub
area-deployment
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

Currently the generated publish manifests can be output in a specific path by using `--output` param in publish command but in this way all the generated manifests will be output here, under different directories based on resource name.

Instead, since we have different repos which contains multiple services which have its specific directory with deploy manifests and pipeline configuration files, we would need to output each manifest into a specific path which is based on the project path.
For example:
```
Domain A (another repository)
|_ .deploy (the target path for ProjectA.Service)
|_ secrets.yaml
|_ config.yaml
|_ etc..

Domain B (another repository)
|_ .deploy (the target path for ProjectB.Service)
|_ secrets.yaml
|_ config.yaml
|_ etc..
```

### Describe the solution you'd like

It could be useful if during publish we are allowed to change the output path based on project path (which is an already known meta) in the way to redirect output to the specific project directory.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.