Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelchcki committed Oct 2, 2018
1 parent df83e69 commit e646e86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ job_aliases:
export DAYS_SINCE_EPOCH=$(($(date --utc --date "$1" +%s)/86400))
# cache build files per commit sha for at most 1 day
export CACHE_BUSTER="${DAYS_SINCE_EPOCH}-${CIRCLE_SHA1}"
curl -u "${GITHUB_LABELS_READ_USER_TOKEN}" "https://api.github.com/repos/DataDog/dd-trace-rb/pulls/${CIRCLE_PR_NUMBER}" | grep 1076040432 && CACHE_BUSTER=none
echo "https://api.github.com/repos/DataDog/dd-trace-rb/pulls/${CIRCLE_PULL_REQUEST##*/}"
curl -u "${GITHUB_LABELS_READ_USER_TOKEN}" "https://api.github.com/repos/DataDog/dd-trace-rb/pulls/${CIRCLE_PULL_REQUEST##*/}" | grep 1076040432 && CACHE_BUSTER=none
echo CACHE_BUSTER=$CACHE_BUSTER | tee .cache_buster
- attach_workspace: *default_workspace
- restore_cache: *build_files
Expand Down

0 comments on commit e646e86

Please sign in to comment.