From e646e869b94003ce3ded83ac46ab47c4a10bce4b Mon Sep 17 00:00:00 2001 From: Pawel Chojnacki Date: Tue, 2 Oct 2018 12:23:15 -0400 Subject: [PATCH] wip --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 422653c1749..8131902e49b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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