Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .circle/dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ CURRENT_DIR="$(dirname "$0")"
export CI_DIR=/home/circleci/ci
export PYTHONPATH=/tmp/st2/st2common:${PYTHONPATH}

ST2_BRANCH=${ST2_BRANCH:-master}
LINT_CONFIGS_BRANCH=${LINT_CONFIGS_BRANCH:-master}

git config --global user.name "StackStorm Exchange"
git config --global user.email "info@stackstorm.com"

Expand All @@ -15,10 +18,10 @@ python --version
pip --version

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

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

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