-
Notifications
You must be signed in to change notification settings - Fork 191
/
.gitlab-ci.yml
31 lines (28 loc) · 1.12 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
stages:
- test
- trigger
include:
- project: 'Northern.tech/Mender/mendertesting'
file: '.gitlab-ci-check-commits.yml'
- project: 'Northern.tech/Mender/mendertesting'
file: '.gitlab-ci-check-license.yml'
- project: 'Northern.tech/Mender/mendertesting'
file: '.gitlab-ci-check-python3-format.yml'
- project: 'Northern.tech/Mender/mendertesting'
file: '.gitlab-ci-github-status-updates.yml'
variables:
LICENSE_HEADERS_IGNORE_FILES_REGEXP: '\./meta-mender-core/recipes-bsp/u-boot/files/.*\.py\|\./meta-mender-core/recipes-bsp/systemd-mender-config/files/ab_setup\.py'
trigger:mender-qa:
image: python:alpine
stage: trigger
before_script:
- apk add --no-cache git curl bash
- pip3 install pyyaml
- git clone https://github.com/mendersoftware/integration.git integration
- wget -q https://raw.githubusercontent.com/mendersoftware/mender-qa/master/scripts/gitlab_trigger_client_publish
- chmod +x gitlab_trigger_client_publish
script:
- export WORKSPACE=$(pwd)
- ./gitlab_trigger_client_publish ${CI_COMMIT_REF_NAME} ${CI_PROJECT_NAME}
rules:
- if: '$CI_COMMIT_BRANCH == "master"'