RETIRED, further work has moved to Debian project infrastructure
Go to file
Sergey Gotliv f0325c4643 Modify launch_command to support global variables
We use launch_command script to run Spark and Storm jobs on the guest.
Sometimes like in case of the Spark Shell job for the proper job execution
we need to set environment parameters on the guest before running the job.
launch_command is using the subprocess module to run the command.
subprocess.Popen is already supporting environment variables through the
"env" parameter, so all we have to do is populate this variable if needed.

This patch proposes to use the same format to transfer environment variables
to the command we use when running a shell script:

FILE="a" DIR="b" test.sh

In this case launch_command will parse a command line, separate environment
variables FILE and DIR from the command and send them to Popen using the "env"
parameter.

Change-Id: If110f00e95f0479b12e2d26cc30e9cbe4513e361
2015-07-13 07:12:25 +03:00
devstack Merge "Return back devstack exercise to in-tree plugin" 2015-07-09 14:52:47 +00:00
doc/source Merge "Spark doc references vanilla diskimagebuilder page" 2015-06-23 14:01:53 +00:00
etc Merge "Add sentry check for CDH 5.3" 2015-07-09 14:51:43 +00:00
sahara Modify launch_command to support global variables 2015-07-13 07:12:25 +03:00
tools Use right oslo.service entry points 2015-06-26 17:40:50 +02:00
.coveragerc Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
.gitignore Removed a duplicate directive 2014-08-04 22:39:08 -05:00
.gitreview Update .gitreview to point on updated repo 2014-03-12 16:55:37 +04:00
.mailmap Add entry for Yevgen Runts to avoid dup author 2014-09-18 18:06:56 -07:00
.testr.conf Group tests by class 2014-08-04 14:59:13 +04:00
babel.cfg First steps for i18n support 2013-08-26 22:16:45 +04:00
bandit.yaml Adding basic bandit config 2015-04-27 12:04:25 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:40 +00:00
HACKING.rst Use jsonutils from oslo.serialization 2015-04-14 12:16:53 +03:00
LICENSE copyright has been added 2013-03-11 10:30:40 +04:00
MANIFEST.in Add CDH5.4 support in sahara 2015-06-20 16:07:47 +08:00
openstack-common.conf Switch to oslo.service 2015-06-23 15:52:47 +02:00
pylintrc Removed attempt to ignore tests in pylint 2014-09-11 15:35:25 +00:00
README.rst Standardize README header 2014-03-29 14:12:44 +00:00
requirements.txt Updated from global requirements 2015-07-01 14:20:23 +00:00
run_tests.sh Fixup 'savanna' references in run_tests.sh 2014-03-20 16:52:42 -04:00
setup.cfg Update version for Liberty 2015-06-17 21:20:46 +00:00
setup.py Updated from global requirements 2015-06-22 08:28:26 +00:00
test-requirements-bandit.txt Adding basic bandit config 2015-04-27 12:04:25 -04:00
test-requirements.txt Updated from global requirements 2015-06-30 22:46:09 +00:00
tox.ini Merge "Add py34 to envlist" 2015-07-07 23:15:37 +00:00