aboutsummaryrefslogtreecommitdiff
path: root/post-build-repo.yaml
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2016-04-21 15:34:07 +0300
committerRiku Voipio <riku.voipio@linaro.org>2016-04-21 15:36:52 +0300
commit65b4ddc329ca688dc2c022753c46c7e3ffca50e5 (patch)
tree05fc4893056a44bc16565b350ea7334a6b9af9d8 /post-build-repo.yaml
parenta377c56df7a72727dbaacaef440a346c103a1508 (diff)
post-build-repo: fix log upload
Turns out dcut version on repo.l.o is not good for us and can be used only against official debian repos. So use plan B and just ssh. Change-Id: I672ab330d96e455ce2ab40900f150404aab3d9b1 Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'post-build-repo.yaml')
-rw-r--r--post-build-repo.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/post-build-repo.yaml b/post-build-repo.yaml
index 7d983b79e6..05c1a1cbb5 100644
--- a/post-build-repo.yaml
+++ b/post-build-repo.yaml
@@ -79,8 +79,8 @@
debsign -k${key_id} ${pkg_changes}
dput ${host_ppa} ${pkg_changes}
set +e
- # use dcut for passing build log url
- dcut ${host_ppa} rm ${pkg_build_url}/consoleText
+ logname=${pkg_changes/changes/log}
+ ssh upload@repo.linaro.org curl -o /srv/repos/ubuntu/$repo/incoming/$logname $pkg_build_url/consoleText
for file in $(dcmd ${pkg_changes})
do
rm -f $file