mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-18 20:47:53 +00:00
Docker build farm seems to work!
This commit is contained in:
parent
0588589d57
commit
b9e86103cf
@ -41,7 +41,7 @@ for distro in $subdirs; do
|
||||
|
||||
rm -f *.deb *.rpm
|
||||
|
||||
if [ -e "`echo $distro | grep -F debian`" -a -e "`echo $distro | grep -F ubuntu`" ]; then
|
||||
if [ ! -n "`echo $distro | grep -F debian`" -a ! -n "`echo $distro | grep -F ubuntu`" ]; then
|
||||
docker run --rm -v `pwd`:/artifacts --privileged -it zt1-build-${distro}-x64 /bin/bash -c 'cd /ZeroTierOne ; make redhat ; cd .. ; cp `find /root/rpmbuild -type f -name *.rpm` /artifacts ; ls -l /artifacts'
|
||||
docker run --rm -v `pwd`:/artifacts --privileged -it zt1-build-${distro}-x86 /bin/bash -c 'cd /ZeroTierOne ; make redhat ; cd .. ; cp `find /root/rpmbuild -type f -name *.rpm` /artifacts ; ls -l /artifacts'
|
||||
else
|
||||
|
@ -143,6 +143,7 @@ doc: manpages
|
||||
clean: FORCE
|
||||
rm -rf *.so *.o node/*.o controller/*.o osdep/*.o service/*.o ext/http-parser/*.o ext/lz4/*.o ext/json-parser/*.o ext/miniupnpc/*.o ext/libnatpmp/*.o $(OBJS) zerotier-one zerotier-idtool zerotier-cli zerotier-selftest build-* ZeroTierOneInstaller-* *.deb *.rpm .depend doc/*.1 doc/*.2 doc/*.8 debian/files debian/zerotier-one*.debhelper debian/zerotier-one.substvars debian/*.log debian/zerotier-one
|
||||
find linux-build-farm -type f -name '*.deb' -print0 | xargs -0 rm -fv
|
||||
find linux-build-farm -type f -name '*.rpm' -print0 | xargs -0 rm -fv
|
||||
|
||||
distclean: clean
|
||||
rm -rf doc/node_modules
|
||||
|
Loading…
Reference in New Issue
Block a user