grim/local-pipelines
Clone
Summary
Browse
Changes
Graph
pipeline: pass private env vars to the subprocess
2016-07-27, Sean Farley
5e0c128f6567
pipeline: pass private env vars to the subprocess
We don't want to pass secret passwords via the commandline (which can be
viewed by any other process), we pass the private env vars to the
subprocess directly.
image
:
python:3
pipelines
:
default
:
-
step
:
script
:
-
set -ex
-
find . -type f -iname "*.pyc" -exec rm -f {} \; || true
-
find . -type d -iname __pycache__ -exec rm -rf {} \; || true
-
pip install -r dev-requirements.txt
-
flake8
-
PYTHONPATH=$(pwd) py.test --color=auto --cov=pipelines --cov-report=term-missing tests