diff options
author | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-07-10 17:28:22 +0200 |
---|---|---|
committer | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-07-10 17:28:22 +0200 |
commit | e91416dcfad067486299dcf42dac59850e4d1ab4 (patch) | |
tree | 6d584eb9c1044fb555b4b2a333549802643d499e | |
parent | 8c421acf1d58a12f679884fd9ef28ff092c7a087 (diff) |
netdata/packaging: [ci skip] Nit - pass container parameter
-rwxr-xr-x | .travis/package_management/common.py | 2 | ||||
-rwxr-xr-x | .travis/package_management/configure_deb_lxc_environment.py | 2 | ||||
-rwxr-xr-x | .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 # |