summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-07-18 14:01:29 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-07-19 15:42:05 +0200
commited31e6ed1533936623906804da6a963cc81d4ccb (patch)
treea540b5d5ee61e9092de5042e1fd72792a7e02843
parent7159ec3c6ef0a27891287c06f0b14ef0db8c74a1 (diff)
downloadmeta-updater-ci/sumo.tar.gz
Get CI jobs from masterci/sumo
rpi and minnowboard are enabled here by default Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
-rw-r--r--.gitlab-ci.yml91
1 files changed, 91 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..a7fa394
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,91 @@
1stages:
2 - docker
3 - checkout
4 - test
5
6variables:
7 BITBAKE_IMAGE: ${CI_REGISTRY_IMAGE}:ci-master-bitbake
8 BITBAKE_CHECKOUT_IMAGE: ${CI_REGISTRY_IMAGE}:ci-master-checkout
9
10include:
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
21Docker setup:
22 extends: .bb_docker_remote
23
24 stage: docker
25 except:
26 - pushes
27
28Checkout:
29 extends: .bb_checkout
30
31 stage: checkout
32 variables:
33 MANIFEST: sumo
34 CURRENT_PROJECT: meta-updater
35 except:
36 - pushes
37
38Build 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
48Oe-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
58Oe-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
68Oe-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
80Ptest 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