Change CircleCI config to 2.0 version
Environment variables are moved out to a script, because CircleCI 2.0 does not support expansion of '$foo' in 'env' section.
This commit is contained in:
1 parent
fc77e33d1d
commit
8620d0ae4f
6 files changed
+76
-67
No files matched your search
@@ -18,7 +18,6 @@ function install_ansible() {
|
||||
sudo apt-get install -qq -y python-pip python-dev libffi-dev libssl-dev \
|
||||
&& pip install --user -U setuptools cffi \
|
||||
&& pip install --user ansible
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
}
|
||||
|
||||
[ -n "$SECRET_KEY" ] || {
|
||||
@@ -26,6 +25,8 @@ function install_ansible() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
source "$SRCDIR/bin/circle-env"
|
||||
|
||||
install_terraform >>"$TEST_VMS_SETUP_OUTPUT_FILE" 2>&1
|
||||
install_ansible >>"$TEST_VMS_SETUP_OUTPUT_FILE" 2>&1
|
||||
|
||||
|
||||
Reference in new issue
Block a user