-
Notifications
You must be signed in to change notification settings - Fork 1
90 lines (73 loc) · 2.57 KB
/
test.yml
File metadata and controls
90 lines (73 loc) · 2.57 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: Test All
on:
pull_request:
workflow_dispatch:
jobs:
test-scripts:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
test-assert-image-size:
uses: ./.github/workflows/test-assert-image-size.yml
secrets: inherit
test-check-base-images:
uses: ./.github/workflows/test-check-base-images.yml
test-check-if-latest-lts-release:
uses: ./.github/workflows/test-check-if-latest-lts-release.yml
test-check-redhat-service-status:
uses: ./.github/workflows/test-check-redhat-service-status.yml
test-download-hz-dist:
uses: ./.github/workflows/test-download-hz-dist.yml
secrets: inherit
test-get-distribution-classifiers:
uses: ./.github/workflows/test-get-distribution-classifiers.yml
test-get-hz-versions:
uses: ./.github/workflows/test-get-hz-versions.yml
test-get-jfrog-credentials:
uses: ./.github/workflows/test-get-jfrog-credentials.yml
secrets: inherit
test-get-supported-jdks:
uses: ./.github/workflows/test-get-supported-jdks.yml
test-get-supported-platforms:
uses: ./.github/workflows/test-get-supported-platforms.yml
test-get-tag-name:
uses: ./.github/workflows/test-get-tag-name.yml
test-resolve-editions:
uses: ./.github/workflows/test-resolve-editions.yml
test-setup-maven-snapshot-internal:
uses: ./.github/workflows/test-setup-maven-snapshot-internal.yml
secrets: inherit
test-slack-notification:
uses: ./.github/workflows/test-slack-notification.yml
secrets: inherit
test-verify-docker-reproducibility:
uses: ./.github/workflows/test-verify-docker-reproducibility.yml
assert-all-jobs-succeeded:
runs-on: ubuntu-latest
needs:
- test-assert-image-size
- test-check-base-images
- test-check-if-latest-lts-release
- test-check-redhat-service-status
- test-download-hz-dist
- test-get-distribution-classifiers
- test-get-hz-versions
- test-get-jfrog-credentials
- test-get-supported-jdks
- test-get-supported-platforms
- test-get-tag-name
- test-resolve-editions
- test-setup-maven-snapshot-internal
- test-slack-notification
- test-verify-docker-reproducibility
if: always()
steps:
- name: Check all jobs succeeded
run: |
if [[ "${{ contains(needs.*.result, 'failure') }}" == "true" || "${{ contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
echo "❌ Some jobs failed or were cancelled"
exit 1
else
echo "✅ All jobs completed successfully!"
fi