blob: a5b09c7553a0681d21afad11c11e8ef6d9a72d90 (
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
|
---
workflow:
rules:
# https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines
# Do not duplicate pipelines when pushing to a branch used in a
# merge request, only start merge request's pipeline.
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
- if: $CI_COMMIT_BRANCH
# Check cache variables are set for the GitLab project before running
missing_variables:
stage: .pre
script:
- test -n "${SSTATE_DIR:-}"
- test -n "${DL_DIR:-}"
.build:
tags:
- docker
image: ghcr.io/siemens/kas/kas:4.0
stage: build
script:
- KAS_MACHINE="$CI_JOB_NAME" kas build kas-theobroma.yml
artifacts:
paths:
- build/tmp/deploy/images/$CI_JOB_NAME/*.rootfs.wic
- build/tmp/deploy/images/$CI_JOB_NAME/*.rootfs.wic.bmap
- build/tmp/deploy/images/$CI_JOB_NAME/fitImage*$CI_JOB_NAME-*.bin
- build/tmp/deploy/images/$CI_JOB_NAME/idbloader.img-$CI_JOB_NAME-*
- build/tmp/deploy/images/$CI_JOB_NAME/u-boot-$CI_JOB_NAME-*.itb
exclude:
- build/tmp/deploy/images/$CI_JOB_NAME/fitImage*linux*.bin
ringneck-haikou:
extends: .build
puma-haikou:
extends: .build
|