generated from score-spec/score-implementation-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I'm trying to register local-dev recipes without rad init (to avoid the interactive aspect of it, to include this in a CI pipeline), but I'm not able to.
Here is my setup on top of my Kubernetes cluster:
rad install kubernetes
rad group create default --workspace default
rad env create default --group defaultRegistering one local-dev recipe:
rad recipe register default --environment default --resource-type "Applications.Datastores/redisCaches" --template-kind bicep --template-path "ghcr.io/radius-project/recipes/local-dev/rediscaches:latest"This will work if I manually run this in Codespace, but it's not working if running in GHA CI (example here https://github.com/score-spec/score-radius/actions/runs/20104150059/job/57683029300)
rad recipe register default --environment default --resource-type "Applications.Datastores/redisCaches" --template-kind bicep --template-path "ghcr.io/radius-project/recipes/local-dev/rediscaches:latest"
Error: {
"code": "NotFound",
"message": "The request 'GET /apis/api.ucp.dev/v1alpha3/providers/Applications.Core/environments/default' is invalid."
}
List the recipes installed:
rad recipe listRECIPE TYPE TEMPLATE KIND TEMPLATE VERSION TEMPLATE
default Applications.Datastores/redisCaches bicep ghcr.io/radius-project/recipes/local-dev/rediscaches:latest
I'm sure I'm missing something or doing something wrong here, could you guide me to make it work?
JFYI: Radius version v0.54.0
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels