-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: various improvements for new rad version and presentation
- Loading branch information
Showing
7 changed files
with
73 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
cd .. | ||
|
||
rad run ./app_v2.bicep --group test --application demo01 | ||
rad deploy ./app_v2.bicep --group test --application demo01 | ||
rad resource expose --group test --application demo01 containers container01 --port 3000 --remote-port 3000 | ||
$CTRL+C | ||
|
||
rad env show test -g test -o json | ||
rad app delete demo01 -g test -y | ||
rad env show test --group test -o json | ||
rad app delete demo01 --group test -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
extension radius | ||
|
||
@description('Specifies the Environment Name.') | ||
param environmentName string = 'test' | ||
|
||
@description('The Radius Application Name.') | ||
param applicationName string = 'demo04' | ||
|
||
@description('Indicates whether to use HTTPS for the Gateway.') | ||
param useHttps string | ||
|
||
@description('The host name of the application.') | ||
param hostName string | ||
|
||
//Deploy shared resources like Jaeger and PubSub | ||
module shared 'shared.bicep' = { | ||
name: 'shared' | ||
params: { | ||
environmentName: environmentName | ||
applicationName: applicationName | ||
} | ||
} | ||
//deploy the frontend (Blazor WebAssembly app) | ||
module frontend 'frontend.bicep' = { | ||
name: 'frontend' | ||
params: { | ||
environmentName: environmentName | ||
applicationName: applicationName | ||
useHttps: useHttps | ||
hostName: hostName | ||
} | ||
dependsOn: [ | ||
shared | ||
dispatchApi | ||
plantApi | ||
] | ||
} | ||
|
||
//deploy the plant API | ||
module plantApi 'plant.bicep' = { | ||
name: 'plant' | ||
params: { | ||
environmentName: environmentName | ||
applicationName: applicationName | ||
} | ||
dependsOn: [ | ||
shared | ||
] | ||
} | ||
|
||
//deploy the dispatch API | ||
module dispatchApi 'dispatch.bicep' = { | ||
name: 'dispatch' | ||
params: { | ||
environmentName: environmentName | ||
applicationName: applicationName | ||
} | ||
dependsOn: [ | ||
shared | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters