Updated README with new ASA instructions
This commit is contained in:
16
README.md
16
README.md
@@ -4,16 +4,16 @@
|
|||||||
|
|
||||||
#### Deploy To ASA-E
|
#### Deploy To ASA-E
|
||||||
|
|
||||||
You will need access to the `spring-team` subscription in Azure. The app is running under the `spring-team` subscription and `spring-team`
|
You will need access to the `607116-2A - TNZ - Tanzu Spring EA` subscription in Azure. The app is running under the `607116-2A - TNZ - Tanzu Spring EA` subscription and `spring-asa`
|
||||||
resource group.
|
resource group.
|
||||||
|
|
||||||
To deploy or update the app do the following
|
To deploy or update the app do the following
|
||||||
|
|
||||||
```
|
```
|
||||||
$ az account list --output table
|
$ az account list --output table
|
||||||
Name CloudName SubscriptionId TenantId State IsDefault
|
Name CloudName SubscriptionId TenantId State IsDefault
|
||||||
------------ ----------- ------------------------------------ ------------------------------------ ------- -----------
|
--------------------------------- ----------- ------------------------------------ ------------------------------------ ------- -----------
|
||||||
Spring Infra AzureCloud subscriptionid tenantId Enabled True
|
607116-2A - TNZ - Tanzu Spring EA AzureCloud dc292c30-39d6-4396-994f-b78b1dd6e514 1194df16-3ae0-49aa-b48b-5c4da6e13689 Enabled True
|
||||||
```
|
```
|
||||||
|
|
||||||
Set the subscription id to the subscription id for Spring Infra.
|
Set the subscription id to the subscription id for Spring Infra.
|
||||||
@@ -27,14 +27,14 @@ Set the following environment variables
|
|||||||
```
|
```
|
||||||
$ export ASAE_LOCATION=eastus
|
$ export ASAE_LOCATION=eastus
|
||||||
$ export ASAE_SUBSCRIPTION=subscrpition
|
$ export ASAE_SUBSCRIPTION=subscrpition
|
||||||
$ export ASAE_SERVICE=spring-team
|
$ export ASAE_SERVICE=spring-asa
|
||||||
$ export ASAE_RESOURCE_GROUP=spring-team
|
$ export ASAE_RESOURCE_GROUP=spring-asa
|
||||||
```
|
```
|
||||||
|
|
||||||
Only need to do this when creating this step if the app doesn't already exist
|
Only need to do this when creating this step if the app doesn't already exist
|
||||||
|
|
||||||
```
|
```
|
||||||
$ az spring app create --resource-group $ASAE_RESOURCE_GROUP --service $ASAE_SERVICE --name spring-cloud-issue-bot --env ISSUEBOT_GITHUB_CREDENTIALS_USERNAME=spring-cloud-issues ISSUEBOT_GITHUB_CREDENTIALS_PASSWORD=[paswsord from lastpass]
|
$ az spring app create --resource-group $ASAE_RESOURCE_GROUP --service $ASAE_SERVICE --name spring-cloud-issue-bot --env ISSUEBOT_GITHUB_CREDENTIALS_USERNAME=spring-cloud-issues ISSUEBOT_GITHUB_CREDENTIALS_PASSWORD=[ghp_spring-cloud-issue-bot from Vault]
|
||||||
```
|
```
|
||||||
Build the issue bot app
|
Build the issue bot app
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ $ ./mvnw clean package
|
|||||||
Deploy the app
|
Deploy the app
|
||||||
|
|
||||||
```
|
```
|
||||||
$ az spring app deploy --resource-group $ASAE_RESOURCE_GROUP --service $ASAE_SERVICE --artifact-path target/issue-bot-0.1.0-SNAPSHOT.jar --name spring-cloud-issue-bot
|
$ az spring app deploy --resource-group $ASAE_RESOURCE_GROUP --service $ASAE_SERVICE --artifact-path target/issue-bot-0.1.0-SNAPSHOT.jar --name spring-cloud-issue-bot --runtime-version Java_17
|
||||||
```
|
```
|
||||||
To tail the logs
|
To tail the logs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user