Joe McDonnell has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/19088 )
Change subject: IMPALA-11610: Pass environment variables into dockerized-impala-run-tests.sh ...................................................................... IMPALA-11610: Pass environment variables into dockerized-impala-run-tests.sh Because dockerized-impala-bootstrap-test.sh does a relogin while calling dockerized-impala-run-tests.sh, the environment is not preserved. This adds a script dockerized-impala-preserve-vars.py that takes a list of environment variables to preserve and appends export statements to bin/impala-config-local.sh. Since dockerized-impala-run-tests.sh sources bin/impala-config.sh, these variables will be carried into the test execution. This starts by adding environment variables used by upstream Jenkin's ubuntu-16.04-dockerized-tests. Jenkins jobs can also call dockerized-impala-preserve-vars.py directly. Testing: - Hand tested the preservation script - Verified ubuntu-16.04-dockerized-tests now respected EE_TEST argument. Change-Id: I325217c731883c087c724194b45d50b790c7c280 Reviewed-on: http://gerrit.cloudera.org:8080/19088 Reviewed-by: Joe McDonnell <[email protected]> Tested-by: Joe McDonnell <[email protected]> --- M bin/jenkins/dockerized-impala-bootstrap-and-test.sh A bin/jenkins/dockerized-impala-preserve-vars.py 2 files changed, 63 insertions(+), 0 deletions(-) Approvals: Joe McDonnell: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/19088 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I325217c731883c087c724194b45d50b790c7c280 Gerrit-Change-Number: 19088 Gerrit-PatchSet: 5 Gerrit-Owner: Joe McDonnell <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Laszlo Gaal <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
