forked from Azure-Samples/azure-openai-rag-workshop-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure.yaml
47 lines (42 loc) · 1.07 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: azure-openai-rag-workshop-java
metadata:
template: azure-openai-rag-workshop-java@1.0.0
services:
frontend:
project: ./src/frontend
dist: dist
language: ts
host: staticwebapp
hooks:
predeploy:
windows:
shell: pwsh
run: Export-ModuleMember -Variable BACKEND_API_URI && npm run build
interactive: true
continueOnError: false
posix:
shell: sh
run: export BACKEND_API_URI && npm run build
interactive: true
continueOnError: false
backend:
project: ./src/backend
language: java
host: containerapp
ingestion:
project: ./src/ingestion
language: java
host: containerapp
hooks:
postup:
windows:
shell: pwsh
run: ./scripts/ingest-data.ps1
interactive: true
continueOnError: false
posix:
shell: sh
run: ./scripts/ingest-data.sh
interactive: true
continueOnError: false