Skip to content

Commit cc1f39e

Browse files
committed
feat: re-add azure-bicep.yaml configuration for aks-store-demo deployment
1 parent 21658f9 commit cc1f39e

1 file changed

Lines changed: 69 additions & 0 deletions

File tree

azure-bicep.yaml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
2+
3+
name: aks-store-demo
4+
metadata:
5+
template: aks-store-demo@1.1.0
6+
hooks:
7+
preprovision:
8+
posix:
9+
shell: sh
10+
continueOnError: false
11+
interactive: false
12+
run: azd-hooks/preprovision.sh
13+
windows:
14+
shell: pwsh
15+
continueOnError: false
16+
interactive: false
17+
run: azd-hooks/preprovision.ps1
18+
postprovision:
19+
posix:
20+
shell: sh
21+
continueOnError: false
22+
interactive: false
23+
run: azd-hooks/postprovision.sh
24+
windows:
25+
shell: pwsh
26+
continueOnError: false
27+
interactive: false
28+
run: azd-hooks/postprovision.ps1
29+
predeploy: # This hook is executed before the deployment of the application to create the custom-values.yaml file
30+
posix:
31+
shell: sh
32+
continueOnError: false
33+
interactive: false
34+
run: azd-hooks/predeploy.sh
35+
windows:
36+
shell: pwsh
37+
continueOnError: false
38+
interactive: false
39+
run: azd-hooks/predeploy.ps1
40+
postdeploy:
41+
posix:
42+
shell: sh
43+
continueOnError: false
44+
interactive: false
45+
run: azd-hooks/postdeploy.sh
46+
windows:
47+
shell: pwsh
48+
continueOnError: false
49+
interactive: false
50+
run: azd-hooks/postdeploy.ps1
51+
infra:
52+
provider: bicep
53+
path: infra/bicep
54+
services:
55+
demo:
56+
host: aks
57+
k8s:
58+
namespace: pets
59+
service:
60+
name: store-admin
61+
helm:
62+
repositories:
63+
- name: aks-store-demo
64+
url: https://azure-samples.github.io/aks-store-demo
65+
releases:
66+
- name: demo
67+
chart: aks-store-demo/aks-store-demo-chart
68+
version: 1.3.0
69+
values: custom-values.yaml # This file is created by the predeploy hook

0 commit comments

Comments
 (0)