aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-09-28 00:55:14 -0700
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-09-29 00:09:22 +0000
commit4dc7dbb6f6b91b11f30c2321f314b378d22b4b47 (patch)
tree00fdc4d113d0d2413f3e9013f6985cd7258b1c0a
parent799704bd84e67a224afabd43a10fcce33c3ffb0f (diff)
lt-qcom-linux: send source package to OBS
Change-Id: I38e69bf5f00eff36730f91ab3c3b5952d4d08c39 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--lt-qcom-linux.yaml9
-rw-r--r--lt-qcom-linux/builders.sh5
2 files changed, 14 insertions, 0 deletions
diff --git a/lt-qcom-linux.yaml b/lt-qcom-linux.yaml
index bf8f90353e..53f6c24621 100644
--- a/lt-qcom-linux.yaml
+++ b/lt-qcom-linux.yaml
@@ -27,6 +27,9 @@
name: KERNEL_VERSION
- string:
name: KERNEL_BRANCH
+ - string:
+ name: TARGET_REPO
+ default: 'linaro-overlay-sid'
disabled: false
node: docker-jessie-amd64
display-name: 'Qualcomm LT Linux kernel build'
@@ -57,3 +60,9 @@
- email-ext:
recipients: 'nicolas.dechesne@linaro.org'
always: true
+ - archive:
+ artifacts: '*.changes, *.dsc, *.gz'
+ - trigger-parameterized-builds:
+ - project: build-package-obs
+ property-file: params
+ condition: SUCCESS
diff --git a/lt-qcom-linux/builders.sh b/lt-qcom-linux/builders.sh
index 1787959c56..4be37d2c63 100644
--- a/lt-qcom-linux/builders.sh
+++ b/lt-qcom-linux/builders.sh
@@ -35,3 +35,8 @@ make KERNELRELEASE=${SRCVERSION}-qcomlt-${BUILD_NUMBER} \
DEBEMAIL="dragonboard@lists.96boards.org" \
DEBFULLNAME="Linaro Qualcomm Landing Team" \
-j`nproc` deb-pkg
+
+cat > params <<EOF
+source=${BUILD_URL}/artifact/$(echo *.dsc)
+repo=${TARGET_REPO}
+EOF