summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaigi <ext-raigi.glaser@here.com>2019-12-03 15:32:30 +0100
committerRaigi <ext-raigi.glaser@here.com>2019-12-05 09:36:52 +0100
commit79da7d769720a829d0ed9cf7d5f73bef2007eee2 (patch)
treed335f3da9ee50dff4276403cde9c99b871a725cd
parent700ec83a1b5a177829bc52af43134c39a74ee865 (diff)
downloadmeta-updater-feat/warrior/run-otf-on-pr.tar.gz
Trigger otf bitbake tests on PRfeat/warrior/run-otf-on-pr
Signed-off-by: Raigi <ext-raigi.glaser@here.com>
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0340e60..e4d6f20 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
6variables: 7variables:
7 BITBAKE_IMAGE: ${CI_REGISTRY_IMAGE}:ci-master-bitbake 8 BITBAKE_IMAGE: ${CI_REGISTRY_IMAGE}:ci-master-bitbake
@@ -100,3 +101,14 @@ Ptest qemux86_64:
100 only: 101 only:
101 variables: 102 variables:
102 - $OE_PTEST 103 - $OE_PTEST
104
105# -- otf
106
107trigger-otf-on-pr:
108 stage: trigger
109 when: always
110 except:
111 - pushes
112 script:
113 - apk add --no-cache curl
114 - curl -X POST -F "token=$CI_JOB_TOKEN" -F "ref=master" -F "variables[BITBAKE_JOB_ONLY]=true" -F "variables[BITBAKE_ENV]=warrior" -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