diff options
author | Denys Drozdov <denys.drozdov@toradex.com> | 2021-04-13 17:35:56 +0300 |
---|---|---|
committer | Denys Drozdov <denys.drozdov@toradex.com> | 2021-04-13 18:53:11 +0300 |
commit | 1e8dc5e388e692e657c4cfb4a883b73cde9997bc (patch) | |
tree | 87f6d2f48107160b9cf9a830a1da3f50782968ba | |
parent | f48710dc4d9ee201f63a82242a4611d0f1f5f9b2 (diff) |
continous integration: add .gitlab-ci.yml
Add yml script to trigger pipeline
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
-rw-r--r-- | .gitlab-ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000..801016b5f5 --- /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-uboot + +build_u-boot: + stage: build-uboot + 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; |