Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

$ docker run -v `pwd`:/ws bigtop/slaves:1.1.0-ubuntu-14.04 bash -l -c 'cd /ws ; gradle bigtop-jsvc-rpmpkg' 

 

The Job Bigtop-1.1.0 to create a repositoriy repository is essentially:

No Format
#!/bin/bash -ex
 
# Workaround for wrong distributions (sic! ppc64el !) BIGTOP-2344
sed -i 's/Architectures: i386 amd64 source/Architectures: ppc64el source/' packages.gradle

docker run --rm -v `pwd`:/ws  bigtop/slaves:1.1.0-$BUILD_ENVIRONMENTS bash -c '
cd /ws ; . /etc/profile.d/bigtop.sh ;
A=rpm ; B=yum; 
type -p dpkg && A=deb ; 
type -p dpkg && B=apt ;
./gradlew allclean $A $B'

...