From fcac03512cef70b4c2f6797bb40c1882d46ad00a Mon Sep 17 00:00:00 2001 From: blag Date: Sat, 25 Jul 2020 20:40:30 -0700 Subject: [PATCH] Pull st2-packages and st2-docker branches from environment variables --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 63a0289..f873a7b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,8 +21,8 @@ jobs: - run: name: Get repos and dependencies command: | - git clone --depth 1 ${ST2_PACKAGES_REPO} ~/st2-packages - git clone --depth 1 ${ST2_TEST_ENVIRONMENT} ~/st2-docker + git clone --branch ${ST2_PACKAGES_BRANCH:-master} --depth 1 ${ST2_PACKAGES_REPO} ~/st2-packages + git clone --branch ${ST2_DOCKER_BRANCH:-master} --depth 1 ${ST2_TEST_ENVIRONMENT} ~/st2-docker make -C ~/st2-docker env sudo apt-get update -qq && sudo apt-get install -y rpm jq gem install package_cloud