blob: 132eb785ccfcf91819990ffb199c95bf75818494 [file] [log] [blame]
Andrew Geissler5bea8d82020-07-24 16:10:05 -05001stages:
2 - build
3
4.build:
5 stage: build
6 image: crops/poky
7 before_script:
8 - export PATH=~/.local/bin:$PATH
9 - wget https://bootstrap.pypa.io/get-pip.py
10 - python3 get-pip.py
11 - python3 -m pip install kas
12 - wget -q 'https://downloads.rclone.org/rclone-current-linux-amd64.zip'
13 - unzip -q rclone-current-linux-amd64.zip
14 - mv rclone-*-linux-amd64/rclone ~/.local/bin/
15 - rm -rf rclone-*-linux-amd64*
16 after_script:
17 - rm -rf build
18 - ./scripts/ci-cleanup.sh
19 cache:
20 paths:
21 - layers
22
23qemux86:
24 extends: .build
25 script:
26 - kas build --target security-build-image kas/$CI_JOB_NAME.yml
27
28qemux86-64:
29 extends: .build
30 script:
31 - kas build --target security-build-image kas/$CI_JOB_NAME.yml
32
33qemuarm:
34 extends: .build
35 script:
36 - kas build --target security-build-image kas/$CI_JOB_NAME.yml
37
38qemuarm64:
39 extends: .build
40 script:
41 - kas build --target security-build-image kas/$CI_JOB_NAME.yml
42
43qemuppc:
44 extends: .build
45 script:
46 - kas build --target security-build-image kas/$CI_JOB_NAME.yml
47
48qemumips64:
49 extends: .build
50 script:
51 - kas build --target security-build-image kas/$CI_JOB_NAME.yml
52
53qemuriscv64:
54 extends: .build
55 script:
56 - kas build --target security-build-image kas/$CI_JOB_NAME.yml
57
58qemux86-64-tpm:
59 extends: .build
60 script:
61 - kas build --target security-tpm-image kas/$CI_JOB_NAME.yml
62
63qemux86-64-tpm2:
64 extends: .build
65 script:
66 - kas build --target security-tpm2-image kas/$CI_JOB_NAME.yml
67
68qemuarm64-tpm2:
69 extends: .build
70 script:
71 - kas build --target security-tpm2-image kas/$CI_JOB_NAME.yml
72
73qemux86-ima:
74 extends: .build
75 script:
76 - kas build --target integrity-image-minimal kas/$CI_JOB_NAME.yml
77
78qemux86-64-ima:
79 extends: .build
80 script:
81 - kas build --target integrity-image-minimal kas/$CI_JOB_NAME.yml
82
83qemuarm64-ima:
84 extends: .build
85 script:
86 - kas build --target integrity-image-minimal kas/$CI_JOB_NAME.yml