diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-12-12 15:28:00 -0600 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-12-12 15:28:00 -0600 |
commit | 5adfaf6ac2784ebd3e84c7b5e98f7ddbd92f9fdf (patch) | |
tree | 91a459326751732da131f9fdfa32c08adfd20633 /.gitlab-ci.yml | |
parent | 6a7a34f25c74e2be0eeacda2a33cd8907587b3ec (diff) | |
download | meta-multitech-5adfaf6ac2784ebd3e84c7b5e98f7ddbd92f9fdf.tar.gz meta-multitech-5adfaf6ac2784ebd3e84c7b5e98f7ddbd92f9fdf.tar.bz2 meta-multitech-5adfaf6ac2784ebd3e84c7b5e98f7ddbd92f9fdf.zip |
chore: add .gitlab-ci.yml
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..9b2a6a3 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,35 @@ +variables: + GIT_STRATEGY: none + +before_script: + - test -d mlinux || git clone git@gitlab.multitech.net:mirrors/mlinux.git + - cd mlinux + - git pull + - (test -f env-oe.sh && ./setup.sh --update) || ./setup.sh + - source env-oe.sh + - cd layers/meta-multitech + - git checkout $CI_BUILD_REF + - cd ../.. + +cache: + untracked: true + +mtcdt_mlinux: + stage: build + tags: + - mlinux + script: + - bitbake mlinux-factory-image + artifacts: + paths: + - mlinux/build/tmp/deploy/images/mtcdt/*-upgrade.bin + +mtcap_mlinux: + stage: build + tags: + - mlinux + script: + - MACHINE=mtcap bitbake mlinux-mtcap-image + artifacts: + paths: + - mlinux/build/tmp/deploy/images/mtcap/*-upgrade.bin |