radius-project / radius

Radius is a cloud-native, portable application platform that makes app development easier for teams building cloud-native apps.
https://radapp.io
Apache License 2.0
1.43k stars 87 forks source link

rad deploy should be able to use environments in different groups to deploy application #7520

Open nithyatsu opened 2 months ago

nithyatsu commented 2 months ago

rad deploy today does not allow this since it searches for environments in current scope only.

nithya@Nithyas-MacBook-Pro bug7052 % rad env list
RESOURCE    TYPE                            GROUP     STATE
a           Applications.Core/environments  default   Succeeded
default     Applications.Core/environments  default   Succeeded
demo        Applications.Core/environments  default   Succeeded
production  Applications.Core/environments  default   Succeeded

nithya@Nithyas-MacBook-Pro bug7052 % rad group switch b

nithya@Nithyas-MacBook-Pro bug7052 % rad env list
RESOURCE  TYPE      GROUP     STATE
nithya@Nithyas-MacBook-Pro bug7052 % rad deploy ctnr.bicep --parameters magpieimage=ghcr.io/radius-project/magpiego:latest --group b --environment production
The environment "production" does not exist in scope "/planes/radius/local/resourceGroups/b". Run `rad env create` first.

AB#11797

radius-triage-bot[bot] commented 2 months ago

:+1: We've reviewed this issue and have agreed to add it to our backlog. Please subscribe to this issue for notifications, we'll provide updates when we pick it up.

We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue.

For more information on our triage process please visit our triage overview

radius-triage-bot[bot] commented 2 weeks ago

We've prioritized work on this issue. Please subscribe to this issue for notifications, we'll provide updates as we make progress.

We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue.

For more information on our triage process please visit our triage overview