From 3f47cc20334bfe58321cef37eaa39904c5d6eba0 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Sun, 2 Mar 2025 16:03:39 -0500 Subject: [PATCH] Updated README with new ASA instructions --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2f3103d..e4d3fcc 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,16 @@ #### 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. To deploy or update the app do the following ``` $ az account list --output table -Name CloudName SubscriptionId TenantId State IsDefault ------------- ----------- ------------------------------------ ------------------------------------ ------- ----------- -Spring Infra AzureCloud subscriptionid tenantId Enabled True +Name CloudName SubscriptionId TenantId State IsDefault +--------------------------------- ----------- ------------------------------------ ------------------------------------ ------- ----------- +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. @@ -27,14 +27,14 @@ Set the following environment variables ``` $ export ASAE_LOCATION=eastus $ export ASAE_SUBSCRIPTION=subscrpition -$ export ASAE_SERVICE=spring-team -$ export ASAE_RESOURCE_GROUP=spring-team +$ export ASAE_SERVICE=spring-asa +$ export ASAE_RESOURCE_GROUP=spring-asa ``` 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 @@ -44,7 +44,7 @@ $ ./mvnw clean package 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