Skip to content

Commit 3f47cc2

Browse files
committedMar 2, 2025
Updated README with new ASA instructions
1 parent 78874a5 commit 3f47cc2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44

55
#### Deploy To ASA-E
66

7-
You will need access to the `spring-team` subscription in Azure. The app is running under the `spring-team` subscription and `spring-team`
7+
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`
88
resource group.
99

1010
To deploy or update the app do the following
1111

1212
```
1313
$ az account list --output table
14-
Name CloudName SubscriptionId TenantId State IsDefault
15-
------------ ----------- ------------------------------------ ------------------------------------ ------- -----------
16-
Spring Infra AzureCloud subscriptionid tenantId Enabled True
14+
Name CloudName SubscriptionId TenantId State IsDefault
15+
--------------------------------- ----------- ------------------------------------ ------------------------------------ ------- -----------
16+
607116-2A - TNZ - Tanzu Spring EA AzureCloud dc292c30-39d6-4396-994f-b78b1dd6e514 1194df16-3ae0-49aa-b48b-5c4da6e13689 Enabled True
1717
```
1818

1919
Set the subscription id to the subscription id for Spring Infra.
@@ -27,14 +27,14 @@ Set the following environment variables
2727
```
2828
$ export ASAE_LOCATION=eastus
2929
$ export ASAE_SUBSCRIPTION=subscrpition
30-
$ export ASAE_SERVICE=spring-team
31-
$ export ASAE_RESOURCE_GROUP=spring-team
30+
$ export ASAE_SERVICE=spring-asa
31+
$ export ASAE_RESOURCE_GROUP=spring-asa
3232
```
3333

3434
Only need to do this when creating this step if the app doesn't already exist
3535

3636
```
37-
$ 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]
37+
$ 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]
3838
```
3939
Build the issue bot app
4040

@@ -44,7 +44,7 @@ $ ./mvnw clean package
4444
Deploy the app
4545

4646
```
47-
$ 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
47+
$ 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
4848
```
4949
To tail the logs
5050

0 commit comments

Comments
 (0)
Please sign in to comment.