-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitlab-ci.yml
58 lines (48 loc) · 1.18 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
stages:
- docker
- checkout
- test
variables:
# bitbake variables
BITBAKE_IMAGE: ${METAUPDATER_REGISTRY_IMAGE}:ci-master-bitbake
BITBAKE_CHECKOUT_IMAGE: ${METAUPDATER_REGISTRY_IMAGE}:ci-master-checkout
include:
- project: 'olp/edge/ota/connect/client/meta-updater'
ref: 'master'
file: 'scripts/ci/gitlab/docker.yml'
- project: 'olp/edge/ota/connect/client/meta-updater'
ref: 'master'
file: 'scripts/ci/gitlab/checkout.yml'
- project: 'olp/edge/ota/connect/client/meta-updater'
ref: 'master'
file: 'scripts/ci/gitlab/tests.yml'
Docker setup:
extends: .bb_docker_remote
stage: docker
except:
- pushes
Checkout:
extends: .bb_checkout
stage: checkout
variables:
MANIFEST: master
CURRENT_PROJECT: meta-updater-raspberrypi
except:
- pushes
Build core-image-minimal (rpi):
extends: .bitbake
stage: test
variables:
TEST_BUILD_DIR: 'build-core-image-minimal-rpi'
BITBAKE_TARGETS: 'core-image-minimal'
TEST_MACHINE: 'raspberrypi3'
except:
- pushes
Oe-selftest rpi:
extends: .oe-selftest
stage: test
variables:
TEST_BUILD_DIR: 'build-oe-rpi'
OE_SELFTESTS: 'updater_raspberrypi'
except:
- pushes