Permalink
Browse files

Do not download all the repository for each build

  • Loading branch information...
athos-ribeiro committed Aug 8, 2018
1 parent d194bf1 commit f38ac162509a7d8f2f532db1fb046194b963c639
Showing with 3 additions and 1 deletion.
  1. +3 −1 salt/files/trigger_clang_build
@@ -3,10 +3,12 @@
set -e
PKG=$1
rm -rf /root/Debian\:Unstable\:Clang
cd /root
if [ ! -d Debian\:Unstable\:Clang ]; then
osc co Debian:Unstable:Clang > /dev/null 2>&1
fi
cd Debian\:Unstable\:Clang/
osc up > /dev/null 2>&1
if [ "$PKG" == "obs-service-clang-build" ]; then
if ! osc ls Debian:Unstable:Clang obs-service-clang-build > /dev/null 2>&1; then

0 comments on commit f38ac16

Please sign in to comment.