From 677a5647d4be9892ec933690b07b6cf3b2d81c7d Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Wed, 12 Feb 2020 09:54:22 +0100 Subject: gitlab-ci: enable by building all toradex boards --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000..b17e7ee64b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +variables: +# uncomment for the pipeline debug purpose +# CI_DEBUG_TRACE: "true" + CI_IMAGE: gitlab.int.toradex.com:4567/philippe.schenker/linux-toradex/ci-kernel-builder:latest + DOCKER_HOST: tcp://docker:2375 + DOCKER_DRIVER: overlay2 + DOCKER_TLS_CERTDIR: "" + +stages: + - build-kernel + +build_kernel: + stage: build-kernel + image: $CI_IMAGE + variables: + GIT_STRATEGY: fetch + GIT_DEPTH: "1" + script: | + tools/buildman/buildman toradex || ret=$? + if [[ $ret -ne 0 && $ret -ne 129 ]]; then + tools/buildman/buildman -sdeP ${BUILDMAN}; + exit $ret; + fi; -- cgit v1.2.3