summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-12-05 16:37:12 +0100
committerGitHub <noreply@github.com>2019-12-05 16:37:12 +0100
commit6ddc750def0dcb1a6efbc34145a9b647882310ac (patch)
treed335f3da9ee50dff4276403cde9c99b871a725cd
parent700ec83a1b5a177829bc52af43134c39a74ee865 (diff)
parent79da7d769720a829d0ed9cf7d5f73bef2007eee2 (diff)
downloadmeta-updater-6ddc750def0dcb1a6efbc34145a9b647882310ac.tar.gz
Merge pull request #643 from advancedtelematic/feat/warrior/run-otf-on-pr
Trigger otf bitbake tests on PR
-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