--- 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:-}" lint: tags: - docker image: docker.io/mstruebing/editorconfig-checker:2.7.2 stage: build script: - ec .build: tags: - docker needs: ["lint"] 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 timeout: 10h ringneck-haikou: extends: .build puma-haikou: extends: .build jaguar: extends: .build tiger-haikou: extends: .build