Skip to content

Commit

Permalink
Update templates to require "aspire" workload to be installed (#1115)
Browse files Browse the repository at this point in the history
* Use constraint in template.json rather than requiredComponents in host file
  • Loading branch information
phenning committed Nov 29, 2023
1 parent a8ac29a commit 68f2a51
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,5 @@
"id": "vs",
"version": "(,17.9)"
}
],
"requiredComponents": [
{
"hostId": "vs",
"componentType": "setupComponent",
"id": "aspire"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
]
}
],
"constraints": {
"aspire": {
"type": "workload",
"args": [ "aspire" ]
}
},
"symbols": {
"Framework": {
"type": "parameter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@
"version": "(,17.9)"
}
],
"requiredComponents": [
{
"hostId": "vs",
"componentType": "setupComponent",
"id": "aspire"
}
],
"symbolInfo": [
{
"id": "UseRedisCache",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
]
}
],
"constraints": {
"aspire": {
"type": "workload",
"args": [ "aspire" ]
}
},
"symbols": {
"Framework": {
"type": "parameter",
Expand Down

0 comments on commit 68f2a51

Please sign in to comment.