Skip to content

Commit 0f9276d

Browse files
committed
Pull the branches for ST2 and lint-configs from environment variables
1 parent 41f9de5 commit 0f9276d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.circle/dependencies

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ python --version
1515
pip --version
1616

1717
# Clone st2 repo so other scripts can reference StackStorm Python code
18-
git clone --depth 1 --single-branch --branch master https://github.com/StackStorm/st2.git /tmp/st2
18+
git clone --depth 1 --single-branch --branch ${ST2_BRANCH} https://github.com/StackStorm/st2.git /tmp/st2
1919

2020
# Clone lint-configs
21-
git clone --depth 1 --single-branch --branch master https://github.com/StackStorm/lint-configs.git ~/ci/lint-configs
21+
git clone --depth 1 --single-branch --branch ${LINT_CONFIGS_BRANCH} https://github.com/StackStorm/lint-configs.git ~/ci/lint-configs
2222

2323
# Create a directory for debian packages so we can cache it in Circle CI
2424
sudo rm -rf /var/cache/apt/archives && sudo ln -s ~/.apt-cache /var/cache/apt/archives && mkdir -p ~/.apt-cache/partial

0 commit comments

Comments
 (0)