diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-07-10 17:08:10 +0200 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-07-17 14:59:01 +0200 |
commit | ec083b3e3995431b8e51d574613a5986744a9df9 (patch) | |
tree | c8773e354af13d1b092a9c4a365c651fa9827d73 | |
parent | c8690b6afb417983e1dd7fda0aa4b5c8fe1d1873 (diff) | |
download | meta-updater-ec083b3e3995431b8e51d574613a5986744a9df9.tar.gz |
Get CI jobs from masterci/rocko
rpi and minnowboard are enabled here by default
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
-rw-r--r-- | .gitlab-ci.yml | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..51ba081 --- /dev/null +++ b/.gitlab-ci.yml | |||
@@ -0,0 +1,91 @@ | |||
1 | stages: | ||
2 | - docker | ||
3 | - checkout | ||
4 | - test | ||
5 | |||
6 | variables: | ||
7 | BITBAKE_IMAGE: ${CI_REGISTRY_IMAGE}:ci-master-bitbake | ||
8 | BITBAKE_CHECKOUT_IMAGE: ${CI_REGISTRY_IMAGE}:ci-master-checkout | ||
9 | |||
10 | include: | ||
11 | - project: 'olp/edge/ota/connect/client/meta-updater' | ||
12 | ref: 'master' | ||
13 | file: 'scripts/ci/gitlab/docker.yml' | ||
14 | - project: 'olp/edge/ota/connect/client/meta-updater' | ||
15 | ref: 'master' | ||
16 | file: 'scripts/ci/gitlab/checkout.yml' | ||
17 | - project: 'olp/edge/ota/connect/client/meta-updater' | ||
18 | ref: 'master' | ||
19 | file: 'scripts/ci/gitlab/tests.yml' | ||
20 | |||
21 | Docker setup: | ||
22 | extends: .bb_docker_remote | ||
23 | |||
24 | stage: docker | ||
25 | except: | ||
26 | - pushes | ||
27 | |||
28 | Checkout: | ||
29 | extends: .bb_checkout | ||
30 | |||
31 | stage: checkout | ||
32 | variables: | ||
33 | MANIFEST: rocko | ||
34 | CURRENT_PROJECT: meta-updater | ||
35 | except: | ||
36 | - pushes | ||
37 | |||
38 | Build core-image-minimal: | ||
39 | extends: .bitbake | ||
40 | |||
41 | stage: test | ||
42 | variables: | ||
43 | TEST_BUILD_DIR: 'build-core-image-minimal' | ||
44 | BITBAKE_TARGETS: 'core-image-minimal' | ||
45 | except: | ||
46 | - pushes | ||
47 | |||
48 | Oe-selftest qemux86_64: | ||
49 | extends: .oe-selftest | ||
50 | |||
51 | stage: test | ||
52 | variables: | ||
53 | TEST_BUILD_DIR: 'build-oe-qemux86_64' | ||
54 | OE_SELFTESTS: 'updater_native updater_qemux86_64' | ||
55 | except: | ||
56 | - pushes | ||
57 | |||
58 | Oe-selftest minnowboard: | ||
59 | extends: .oe-selftest | ||
60 | |||
61 | stage: test | ||
62 | variables: | ||
63 | TEST_BUILD_DIR: 'build-oe-minnowboard' | ||
64 | OE_SELFTESTS: 'updater_minnowboard' | ||
65 | except: | ||
66 | - pushes | ||
67 | |||
68 | Oe-selftest rpi: | ||
69 | extends: .oe-selftest | ||
70 | |||
71 | stage: test | ||
72 | variables: | ||
73 | TEST_BUILD_DIR: 'build-oe-rpi' | ||
74 | OE_SELFTESTS: 'updater_raspberrypi' | ||
75 | except: | ||
76 | - pushes | ||
77 | |||
78 | # Not run by default | ||
79 | |||
80 | Ptest qemux86_64: | ||
81 | extends: .oe-selftest | ||
82 | |||
83 | stage: test | ||
84 | variables: | ||
85 | TEST_BUILD_DIR: 'build-oe-qemux86_64-ptest' | ||
86 | OE_SELFTESTS: 'updater_qemux86_64_ptest' | ||
87 | except: | ||
88 | - pushes | ||
89 | only: | ||
90 | variables: | ||
91 | - $OE_PTEST | ||