-
Notifications
You must be signed in to change notification settings - Fork 1.1k
101 lines (79 loc) · 2.58 KB
/
ci-build.yml
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
91
92
93
94
95
96
97
98
99
100
101
---
on:
pull_request:
concurrency:
group: ci-build-${{ github.ref }}
cancel-in-progress: true
jobs:
markdown-lint:
uses: chef/github-workflows/.github/workflows/markdown-lint.yml@main
markdown-link-checker:
uses: chef/github-workflows/.github/workflows/markdown-link-checker.yml@main
yaml-lint:
uses: chef/github-workflows/.github/workflows/yaml-lint.yml@main
json-lint:
uses: chef/github-workflows/.github/workflows/json-lint.yml@main
xml-lint:
uses: chef/github-workflows/.github/workflows/xml-lint.yml@main
shellcheck-lint:
uses: chef/github-workflows/.github/workflows/shellcheck-lint.yml@main
powershell-lint:
uses: chef/github-workflows/.github/workflows/powershell-lint.yml@main
packer-iso-check:
uses: chef/github-workflows/.github/workflows/packer-iso-url-checker.yml@main
with:
EXCLUDE_REGEX: 'amazonlinux-2.*|rhel.*|sles.*|solaris.*|windows-11-aarch64.*,macos-*'
packer-lint:
uses: chef/github-workflows/.github/workflows/packer-lint.yml@main
secrets: inherit
pkr-bld-amazonlinux-x64:
uses: ./.github/workflows/pkr-bld-amazonlinux-x64.yml
secrets: inherit
pkr-bld-hyperv-x64:
uses: ./.github/workflows/pkr-bld-hyperv-x64.yml
secrets: inherit
pkr-bld-parallels-arm64:
uses: ./.github/workflows/pkr-bld-parallels-arm64.yml
secrets: inherit
pkr-bld-parallels-x64:
uses: ./.github/workflows/pkr-bld-parallels-x64.yml
secrets: inherit
pkr-bld-qemu-arm64:
uses: ./.github/workflows/pkr-bld-qemu-arm64.yml
secrets: inherit
pkr-bld-qemu-x64:
uses: ./.github/workflows/pkr-bld-qemu-x64.yml
secrets: inherit
pkr-bld-virtualbox-arm64:
uses: ./.github/workflows/pkr-bld-virtualbox-arm64.yml
secrets: inherit
pkr-bld-virtualbox-x64:
uses: ./.github/workflows/pkr-bld-virtualbox-x64.yml
secrets: inherit
pkr-bld-vmware-arm64:
uses: ./.github/workflows/pkr-bld-vmware-arm64.yml
secrets: inherit
pkr-bld-vmware-x64:
uses: ./.github/workflows/pkr-bld-vmware-x64.yml
secrets: inherit
check_jobs_pass:
if: always()
needs:
- markdown-lint
- yaml-lint
- json-lint
- xml-lint
- powershell-lint
- shellcheck-lint
- packer-lint
runs-on: Ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@main
with:
allowed-failures:
allowed-skips: ${{ toJSON(needs) }}
jobs: ${{ toJSON(needs) }}
# pkr-bld-parallels-test:
# uses: ./.github/workflows/test-pkr-bld-parallels.yml
# secrets: inherit