-
Notifications
You must be signed in to change notification settings - Fork 3
54 lines (49 loc) · 1.58 KB
/
report.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
48
49
50
51
52
53
54
name: report service
on:
push:
branches:
- '**'
paths:
- .github/workflows/prepare-release.yaml
- .github/workflows/build-java-service.yaml
- .github/workflows/parse-junit-results.yaml
- .github/workflows/build-docker.yaml
- .github/workflows/release.yaml
- .github/workflows/report.yaml
- services/report/**
jobs:
prepare-release:
uses: ./.github/workflows/prepare-release.yaml
with:
working-dir: ./services/report
build:
name: 🔨 Build and test backend service
uses: ./.github/workflows/build-java-service.yaml
needs: prepare-release
with:
service_name: report
version: ${{ needs.prepare-release.outputs.release-version }}
docker:
name: 🔨 Build and push Docker image
uses: ./.github/workflows/build-docker.yaml
needs:
- prepare-release
- build
with:
image-name: report
working-dir: ./services/report
version: ${{ needs.prepare-release.outputs.release-version }}
artifact-name: ${{ needs.build.outputs.jar-artifact-name }}
artifact-path: ${{ needs.build.outputs.jar-artifact-path }}
github-release:
uses: ./.github/workflows/release.yaml
needs:
- prepare-release
- build
- docker
with:
service-name: report
version: ${{ needs.prepare-release.outputs.release-version }}
change-notes: ${{ needs.prepare-release.outputs.release-notes }}
license-artifact-name: ${{ needs.build.outputs.license-artifact-name }}
license-artifact-path: ${{ needs.build.outputs.license-artifact-path }}