diff options
author | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-09-13 19:39:53 +0300 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-09-13 18:39:53 +0200 |
commit | 270ede57e4d3a71221d25cf856fa6ef1db3de07c (patch) | |
tree | 1bcaefe233348b1993160daeb3743c3d94d23fb0 /.travis | |
parent | f729ee922d9ea3557ff21b1682af1dd696c39937 (diff) |
netdata/packaging: nits and fixes for packaging (#6842)
* netdata/packaging:[ci skip] Bring over netdata.spec before removing the temp directory. We need it to resume RPM workflow
* [Package amd64 DEB] Package build stable test
* netdata/packaging:[ci skip] add branch for testing
* [Package amd64 DEB] Package build stable test
* [Package i386 DEB] Package build stable test
* [Package i386 DEB] Package build stable test
* [Package amd64 DEB] Package build stable test
* [Package i386 DEB] Package build stable test
* [Package amd64 RPM] Package build stable test
* [Package i386 RPM] Package build stable test
* netdata/doc: update distro support, due to lxc limitations we dont have those yet
* [Package i386 RPM] Package build stable test
* [Package i386 RPM Enterprise Linux] Package build stable test
* netdata/ci:[ci skip] yes, we must test rpm too
* [Package i386 RPM] Package build stable test
* [Package amd64 RPM] Package build stable test
* netdata/packaging:[ci skip] Add i386 RPM and DEB distro triggers
* netdata/packaging: [ci skip] remove the test branch info
* netdata/doc: [ci skip] fix doc
* netdata/doc: [ci skip] update doc more
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/package_management/common.py | 3 | ||||
-rwxr-xr-x | .travis/trigger_package_generation.sh | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/.travis/package_management/common.py b/.travis/package_management/common.py index a60c35ea8b..8a5106971a 100755 --- a/.travis/package_management/common.py +++ b/.travis/package_management/common.py @@ -168,7 +168,8 @@ def prepare_version_source(dest_archive, pkg_friendly_version, tag=None): print(".7 Fixing permissions on tarball") run_command_in_host(['sudo', 'chmod', '777', tar_file]) - print(".8 Returning to original directory, removing temp"); + print(".8 Bring over netdata.spec, Remove temp directory"); + run_command_in_host(['cp', '%s/netdata.spec' % tmp_src, 'netdata.spec']) shutil.rmtree(tmp_src) else: print("I could not find (%s) on the disk, stopping the build. Kindly check the logs and try again" % generated_tarball) diff --git a/.travis/trigger_package_generation.sh b/.travis/trigger_package_generation.sh index aee69be5f7..713679c16f 100755 --- a/.travis/trigger_package_generation.sh +++ b/.travis/trigger_package_generation.sh @@ -45,7 +45,19 @@ push_change echo "---- Waiting for ${WAIT_TIME} seconds before triggering next process ----" sleep "${WAIT_TIME}" +commit_change "i386" "DEB" +push_change + +echo "---- Waiting for ${WAIT_TIME} seconds before triggering next process ----" +sleep "${WAIT_TIME}" + commit_change "amd64" "RPM" push_change +echo "---- Waiting for ${WAIT_TIME} seconds before triggering next process ----" +sleep "${WAIT_TIME}" + +commit_change "i386" "RPM" +push_change + echo "---- Done! ----" |