-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure.yaml
47 lines (46 loc) · 1.73 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: java-on-aca-quarkus
metadata:
template: java-on-aca-quarkus@0.0.1-beta
workflows:
up:
steps:
- azd: provision
- azd: deploy --all
services:
city-service:
project: ./src/city-service
language: java
host: containerapp
docker:
path: ./src/main/docker/Dockerfile.native
hooks:
prebuild:
windows:
shell: pwsh
run: './mvnw "-DskipTests" "-Dnative" "-Dquarkus.native.container-build" "-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:23.1.4.0-Final-java21-amd64" clean package'
posix:
shell: sh
run: './mvnw -DskipTests -Dnative -Dquarkus.native.container-build -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:23.1.4.0-Final-java21-amd64 clean package'
weather-service:
project: ./src/weather-service
language: java
host: containerapp
docker:
path: ./src/main/docker/Dockerfile.native
hooks:
prebuild:
windows:
shell: pwsh
run: './mvnw "-DskipTests" "-Dnative" "-Dquarkus.native.container-build" "-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:23.1.4.0-Final-java21-amd64" clean package'
posix:
shell: sh
run: './mvnw -DskipTests -Dnative -Dquarkus.native.container-build -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:23.1.4.0-Final-java21-amd64 clean package'
gateway:
project: ./src/gateway
language: js
host: containerapp
weather-app:
project: ./src/weather-app
language: js
host: containerapp