diff options
author | Glaser, Raigi <raigi.glaser@here.com> | 2019-12-06 14:43:50 +0100 |
---|---|---|
committer | Raigi <ext-raigi.glaser@here.com> | 2019-12-06 14:46:35 +0100 |
commit | 3cdf1da66524c736967735a4b44f129a05882773 (patch) | |
tree | 49d28aef9cdf7638ec2ddf34c6f9457b6933a4ef | |
parent | 086c668fed3ae2718eb362745a087c77b163516b (diff) | |
download | meta-updater-3cdf1da66524c736967735a4b44f129a05882773.tar.gz |
Trigger otf bitbake tests on PRfeat/zeus/trigger-otf-on-pr
Signed-off-by: Raigi <ext-raigi.glaser@here.com>
-rw-r--r-- | .gitlab-ci.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a17ea9..aa354bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -2,6 +2,7 @@ stages: | |||
2 | - docker | 2 | - docker |
3 | - checkout | 3 | - checkout |
4 | - test | 4 | - test |
5 | - trigger | ||
5 | 6 | ||
6 | variables: | 7 | variables: |
7 | BITBAKE_IMAGE: ${CI_REGISTRY_IMAGE}:ci-master-bitbake | 8 | BITBAKE_IMAGE: ${CI_REGISTRY_IMAGE}:ci-master-bitbake |
@@ -109,3 +110,14 @@ Ptest qemux86_64: | |||
109 | only: | 110 | only: |
110 | variables: | 111 | variables: |
111 | - $OE_PTEST | 112 | - $OE_PTEST |
113 | |||
114 | # -- otf | ||
115 | |||
116 | trigger-otf-on-pr: | ||
117 | stage: trigger | ||
118 | when: always | ||
119 | except: | ||
120 | - pushes | ||
121 | script: | ||
122 | - apk add --no-cache curl | ||
123 | - curl -X POST -F "token=$CI_JOB_TOKEN" -F "ref=master" -F "variables[BITBAKE_JOB_ONLY]=true" -F "variables[BITBAKE_ENV]=zeus" -F "variables[PROJECT_NAME]=meta-updater" -F "variables[PROJECT_SHA]=$CI_COMMIT_SHA" https://main.gitlab.in.here.com/api/v4/projects/163/trigger/pipeline | ||