44 lines
1.0 KiB
YAML
Raw Normal View History

2018-08-29 11:27:03 +02:00
kind: helm-release
2019-02-13 10:02:07 +01:00
apiVersion: 1.1
2018-08-29 11:27:03 +02:00
build:
context: ..\..\..\
dockerfile: Dockerfile
install:
chart: ../../../k8s/helm/webmvc
set:
replicaCount: 1
image:
tag: $(tag)
pullPolicy: Never
ingress:
2019-02-13 10:02:07 +01:00
annotations:
kubernetes.io/ingress.class: traefik-azds
2018-08-29 11:27:03 +02:00
hosts:
- $(spacePrefix)eshop$(hostSuffix)
inf:
k8s:
dns: $(spacePrefix)eshop$(hostSuffix)
2019-02-13 10:02:07 +01:00
values:
- values.dev.yaml?
- secrets.dev.yaml?
- inf.yaml
- app.yaml
2018-08-29 11:27:03 +02:00
configurations:
develop:
build:
useGitIgnore: true
2019-02-13 10:02:07 +01:00
dockerfile: Dockerfile.develop
2018-08-29 11:27:03 +02:00
args:
BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug}
container:
sync:
2019-02-13 10:02:07 +01:00
- '**/Pages/**'
- '**/Views/**'
- '**/wwwroot/**'
- '!**/*.{sln,csproj}'
2018-08-29 11:27:03 +02:00
command: [dotnet, run, --no-restore, --no-build, --no-launch-profile, -c, "${BUILD_CONFIGURATION:-Debug}"]
iterate:
processesToKill: [dotnet, vsdbg]
buildCommands:
- [dotnet, build, --no-restore, -c, "${BUILD_CONFIGURATION:-Debug}"]