From e91416dcfad067486299dcf42dac59850e4d1ab4 Mon Sep 17 00:00:00 2001 From: "Pavlos Emm. Katsoulakis" Date: Wed, 10 Jul 2019 17:28:22 +0200 Subject: netdata/packaging: [ci skip] Nit - pass container parameter --- .travis/package_management/common.py | 2 +- .travis/package_management/configure_deb_lxc_environment.py | 2 +- .travis/package_management/configure_rpm_lxc_environment.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis/package_management/common.py b/.travis/package_management/common.py index 8b860667c4..8187af5bbf 100755 --- a/.travis/package_management/common.py +++ b/.travis/package_management/common.py @@ -37,7 +37,7 @@ def run_command(container, command): if command_result != 0: raise Exception("Command failed with exit code %d" % command_result) -def run_command_in_host(cmd): +def run_command_in_host(container, cmd): print("Issue command in host: %s" % str(cmd)) proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) diff --git a/.travis/package_management/configure_deb_lxc_environment.py b/.travis/package_management/configure_deb_lxc_environment.py index ee4536a264..c2f2e59a66 100755 --- a/.travis/package_management/configure_deb_lxc_environment.py +++ b/.travis/package_management/configure_deb_lxc_environment.py @@ -46,7 +46,7 @@ common.run_command(container, ["useradd", "-m", os.environ['BUILDER_NAME']]) # Fetch package dependencies for the build print("2. Installing package dependencies within LXC container") -common.install_common_dependendencies() +common.install_common_dependendencies(container) print ("3. Run install-required-packages scriptlet") common.run_command(container, ["wget", "-T", "15", "-O", "/home/%s/.install-required-packages.sh" % (os.environ['BUILDER_NAME']), "https://raw.githubusercontent.com/netdata/netdata-demo-site/master/install-required-packages.sh"]) diff --git a/.travis/package_management/configure_rpm_lxc_environment.py b/.travis/package_management/configure_rpm_lxc_environment.py index 79a46f81fb..5f37808786 100755 --- a/.travis/package_management/configure_rpm_lxc_environment.py +++ b/.travis/package_management/configure_rpm_lxc_environment.py @@ -47,7 +47,7 @@ common.run_command(container, ["useradd", "-m", os.environ['BUILDER_NAME']]) # Fetch package dependencies for the build print("2. Installing package dependencies within LXC container") -common.install_common_dependendencies() +common.install_common_dependendencies(container) # Exceptional cases, not available everywhere # -- cgit v1.2.3