Andrew Geissler | 5bea8d8 | 2020-07-24 16:10:05 -0500 | [diff] [blame] | 1 | stages: |
| 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 | |
| 23 | qemux86: |
| 24 | extends: .build |
| 25 | script: |
| 26 | - kas build --target security-build-image kas/$CI_JOB_NAME.yml |
| 27 | |
| 28 | qemux86-64: |
| 29 | extends: .build |
| 30 | script: |
| 31 | - kas build --target security-build-image kas/$CI_JOB_NAME.yml |
| 32 | |
| 33 | qemuarm: |
| 34 | extends: .build |
| 35 | script: |
| 36 | - kas build --target security-build-image kas/$CI_JOB_NAME.yml |
| 37 | |
| 38 | qemuarm64: |
| 39 | extends: .build |
| 40 | script: |
| 41 | - kas build --target security-build-image kas/$CI_JOB_NAME.yml |
| 42 | |
| 43 | qemuppc: |
| 44 | extends: .build |
| 45 | script: |
| 46 | - kas build --target security-build-image kas/$CI_JOB_NAME.yml |
| 47 | |
| 48 | qemumips64: |
| 49 | extends: .build |
| 50 | script: |
| 51 | - kas build --target security-build-image kas/$CI_JOB_NAME.yml |
| 52 | |
| 53 | qemuriscv64: |
| 54 | extends: .build |
| 55 | script: |
| 56 | - kas build --target security-build-image kas/$CI_JOB_NAME.yml |
| 57 | |
| 58 | qemux86-64-tpm: |
| 59 | extends: .build |
| 60 | script: |
| 61 | - kas build --target security-tpm-image kas/$CI_JOB_NAME.yml |
| 62 | |
| 63 | qemux86-64-tpm2: |
| 64 | extends: .build |
| 65 | script: |
| 66 | - kas build --target security-tpm2-image kas/$CI_JOB_NAME.yml |
| 67 | |
| 68 | qemuarm64-tpm2: |
| 69 | extends: .build |
| 70 | script: |
| 71 | - kas build --target security-tpm2-image kas/$CI_JOB_NAME.yml |
| 72 | |
| 73 | qemux86-ima: |
| 74 | extends: .build |
| 75 | script: |
| 76 | - kas build --target integrity-image-minimal kas/$CI_JOB_NAME.yml |
| 77 | |
| 78 | qemux86-64-ima: |
| 79 | extends: .build |
| 80 | script: |
| 81 | - kas build --target integrity-image-minimal kas/$CI_JOB_NAME.yml |
| 82 | |
| 83 | qemuarm64-ima: |
| 84 | extends: .build |
| 85 | script: |
| 86 | - kas build --target integrity-image-minimal kas/$CI_JOB_NAME.yml |