-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathazure.yaml
More file actions
34 lines (32 loc) · 781 Bytes
/
azure.yaml
File metadata and controls
34 lines (32 loc) · 781 Bytes
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
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: snippy
metadata:
template: snippy@1.0.0
services:
api:
project: ./src/
language: python
host: function
hooks:
preprovision:
posix:
shell: sh
run: ./scripts/randomize-region.sh
interactive: false
continueOnError: false
windows:
shell: pwsh
run: ./scripts/randomize-region.ps1
interactive: false
continueOnError: false
postprovision:
windows:
shell: pwsh
run: ./scripts/generate-settings.ps1
interactive: true
continueOnError: false
posix:
shell: sh
run: ./scripts/generate-settings.sh
interactive: true
continueOnError: false