Commit 289298c 1 parent 409500f commit 289298c Copy full SHA for 289298c
File tree 3 files changed +37
-4
lines changed
3 files changed +37
-4
lines changed Original file line number Diff line number Diff line change 6
6
cacheless :
7
7
type : boolean
8
8
required : true
9
+ kas-path :
10
+ type : string
11
+ required : true
9
12
10
13
jobs :
11
14
build :
@@ -22,13 +25,13 @@ jobs:
22
25
if : ${{ inputs.cacheless }}
23
26
shell : bash
24
27
run : |
25
- sed -i '/cache.yml/d' meta-dts/kas.yml
28
+ sed -i '/cache.yml/d' "${{ inputs.kas-path }}"
26
29
- name : Build DTS image
27
30
shell : bash
28
31
id : build_image
29
32
run : |
30
33
for attempt in {1..5}; do
31
- if kas-container build meta-dts/kas.yml ; then
34
+ if kas-container build "${{ inputs.kas-path }}" ; then
32
35
echo "Build command succeeded on attempt $attempt"
33
36
break
34
37
else
Original file line number Diff line number Diff line change @@ -10,10 +10,25 @@ concurrency:
10
10
group : ${{ github.workflow }}
11
11
12
12
jobs :
13
+ build-uefi-sb :
14
+ uses : ./.github/workflows/build.yml
15
+ with :
16
+ cacheless : false
17
+ kas-path : meta-dts/kas-uefi-sb.yml
18
+ move-build-artifacts :
19
+ needs : build-uefi-sb
20
+ runs-on :
21
+ labels : dts-builder
22
+ steps :
23
+ - name : Move UEFI SB build artifacts
24
+ shell : bash
25
+ run : |
26
+ mv build build-sb
13
27
build :
14
28
uses : ./.github/workflows/build.yml
15
29
with :
16
30
cacheless : false
31
+ kas-path : meta-dts/kas.yml
17
32
deploy-images :
18
33
name : Deploy DTS artifacts on boot.dasharo.com and GitHub Release
19
34
needs : build
@@ -134,4 +149,4 @@ jobs:
134
149
rm -rf ~/.ssh/dts-ci-key
135
150
rm -rf dts-release-cicd-pipeline
136
151
rm -f ~/.ssh/gitea_dts_release_cicd
137
- rm -rf build meta-dts
152
+ rm -rf build build-sb meta-dts
Original file line number Diff line number Diff line change @@ -9,10 +9,25 @@ concurrency:
9
9
group : ${{ github.workflow }}
10
10
11
11
jobs :
12
+ build-uefi-sb :
13
+ uses : ./.github/workflows/build.yml
14
+ with :
15
+ cacheless : false
16
+ kas-path : meta-dts/kas-uefi-sb.yml
17
+ move-build-artifacts :
18
+ needs : build-uefi-sb
19
+ runs-on :
20
+ labels : dts-builder
21
+ steps :
22
+ - name : Move UEFI SB build artifacts
23
+ shell : bash
24
+ run : |
25
+ mv build build-sb
12
26
build :
13
27
uses : ./.github/workflows/build.yml
14
28
with :
15
29
cacheless : false
30
+ kas-path : meta-dts/kas.yml
16
31
deploy-images :
17
32
name : Deploy DTS artifacts on boot.dasharo.com
18
33
needs : build
@@ -125,4 +140,4 @@ jobs:
125
140
rm -rf ~/.ssh/dts-ci-key
126
141
rm -rf dts-release-cicd-pipeline
127
142
rm -f ~/.ssh/gitea_dts_release_cicd
128
- rm -rf build meta-dts
143
+ rm -rf build build-sb meta-dts
You can’t perform that action at this time.
0 commit comments