diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-07-05 17:45:39 +0200 |
---|---|---|
committer | Mykhaylo Sul <ext-mykhaylo.sul@here.com> | 2019-07-17 16:08:28 +0300 |
commit | 32255ab2a79ca6d99b24ee43446aeaa943b21178 (patch) | |
tree | 668aad47c787a12a52b8f9f4bf37fbffc95ab1dc /scripts/ci/gitlab/checkout.yml | |
parent | 14bedef5860abc352d7cfe957f2c3781cf29d52c (diff) | |
download | meta-updater-Backport/rocko/secondaries.tar.gz |
Reusable meta-updater pipeline suiteBackport/rocko/secondaries
Squashed:
* Oe-selftest GitLab pipeline stage
* Use credentials for CI's oe-selftest
* Setup kvm trick for docker on CI
The gid of the kvm group needs to match the one from the host
* Run ci scripts from Docker images
* Template out jobs and split .gitlab-ci.yml
To be easily reused in other branches and projects
Rely on this gitlab feature: https://docs.gitlab.com/ee/ci/yaml/#extends
* More flexible checkout script for CI
- can work without $CURRENT_PROJECT (checks out everything)
- can take a list of pinned versions
* Add optional CI jobs
ptest and other oe-selftests
* Publish bitbaked images as artifacts
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'scripts/ci/gitlab/checkout.yml')
-rw-r--r-- | scripts/ci/gitlab/checkout.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/ci/gitlab/checkout.yml b/scripts/ci/gitlab/checkout.yml new file mode 100644 index 0000000..28c9177 --- /dev/null +++ b/scripts/ci/gitlab/checkout.yml | |||
@@ -0,0 +1,16 @@ | |||
1 | .bb_checkout: | ||
2 | # parameters: | ||
3 | # - MANIFEST | ||
4 | # - REMOTE_SOURCE | ||
5 | # - CURRENT_PROJECT (will be symlinked instead of pulled) | ||
6 | |||
7 | image: $BITBAKE_CHECKOUT_IMAGE | ||
8 | cache: | ||
9 | paths: | ||
10 | - updater-repo | ||
11 | artifacts: | ||
12 | expire_in: "1 day" | ||
13 | paths: | ||
14 | - updater-repo | ||
15 | script: | ||
16 | - /scripts/checkout-oe.sh | ||