blob: c7a89a9d4e4d10865868a56152bade46338a3e53 (
plain)
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
|
stages:
- build
.build:
stage: build
image: crops/poky
before_script:
- echo "$ERR_REPORT_USERNAME" > ~/.oe-send-error
- echo "$ERR_REPORT_EMAIL" >> ~/.oe-send-error
- export PATH=~/.local/bin:$PATH
- wget https://bootstrap.pypa.io/get-pip.py
- python3 get-pip.py
- python3 -m pip install kas
after_script:
- cd $CI_PROJECT_DIR/poky
- . ./oe-init-build-env $CI_PROJECT_DIR/build
- for x in `ls $CI_PROJECT_DIR/build/tmp/log/error-report/ | grep error_report_`; do
- send-error-report -y tmp/log/error-report/$x
- done
- cd $CI_PROJECT_DIR
- rm -rf build
- $CI_PROJECT_DIR/scripts/ci-cleanup.sh
cache:
paths:
- layers
qemux86:
extends: .build
script:
- kas build --target security-build-image kas/$CI_JOB_NAME.yml
qemux86-64:
extends: .build
script:
- kas build --target security-build-image kas/$CI_JOB_NAME.yml
qemuarm:
extends: .build
script:
- kas build --target security-build-image kas/$CI_JOB_NAME.yml
qemuarm64:
extends: .build
script:
- kas build --target security-build-image kas/$CI_JOB_NAME.yml
qemuppc:
extends: .build
script:
- kas build --target security-build-image kas/$CI_JOB_NAME.yml
qemumips64:
extends: .build
script:
- kas build --target security-build-image kas/$CI_JOB_NAME.yml
qemuriscv64:
extends: .build
script:
- kas build --target security-build-image kas/$CI_JOB_NAME.yml
qemux86-64-tpm:
extends: .build
script:
- kas build --target security-tpm-image kas/$CI_JOB_NAME.yml
qemux86-64-tpm2:
extends: .build
script:
- kas build --target security-tpm2-image kas/$CI_JOB_NAME.yml
qemuarm64-tpm2:
extends: .build
script:
- kas build --target security-tpm2-image kas/$CI_JOB_NAME.yml
qemux86-ima:
extends: .build
script:
- kas build --target integrity-image-minimal kas/$CI_JOB_NAME.yml
qemux86-64-ima:
extends: .build
script:
- kas build --target integrity-image-minimal kas/$CI_JOB_NAME.yml
qemuarm64-ima:
extends: .build
script:
- kas build --target integrity-image-minimal kas/$CI_JOB_NAME.yml
|