forked from Azure-Samples/spring-chatgpt-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure.yaml
30 lines (29 loc) · 874 Bytes
/
azure.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: spring-chatgpt-sample
metadata:
template: [email protected]
hooks:
postprovision:
posix:
shell: sh
interactive: true
run: ./scripts/prepdocs.sh
windows:
shell: pwsh
interactive: true
run: ./scripts/prepdocs.ps1
services:
spring-chatgpt-sample-webapi:
project: ./spring-chatgpt-sample-webapi/
host: springapp
language: java
spring:
deploymentName: default
hooks:
prepackage:
posix:
shell: sh
run: cd ..;./mvnw clean install -N;cd spring-chatgpt-sample-common;../mvnw clean install
windows:
shell: pwsh
run: cd ..;./mvnw.cmd clean install -N;cd spring-chatgpt-sample-common;../mvnw.cmd clean install