Skip to content

Commit

Permalink
vk-399-api-stability: disabled resotring base api cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Udumft committed Oct 1, 2020
1 parent 22f67c1 commit 0717b1b
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,25 +342,18 @@ jobs:
mv api_logs original_api
- restore-api-diff-cache-by-tag:
api_diff_cache: << parameters.base_api_tag >>
- *prepare-mapbox-file
- *prepare-netrc-file
- *update-carthage-version
- *restore-cache
- *install-dependencies
- *install-dependencies-12
- run:
name: Verify Base API report exists
command: |
test -e "$CIRCLE_WORKING_DIRECTORY/api_logs" && echo "Base API log file exists" && export API_CACHE_EXISTS=TRUE || echo Base API log not found
- unless:
condition: .Environment.API_CACHE_EXISTS
steps:
- *prepare-mapbox-file
- *prepare-netrc-file
- *update-carthage-version
- *restore-cache
- *install-dependencies
- *install-dependencies-12
- run:
name: Install prerequisites
command: if [ $(xcversion simulators | grep -cF "iOS << parameters.iOS >> Simulator (installed)") -eq 0 ]; then xcversion simulators --install="iOS << parameters.iOS >>" || true; fi
- *save-cache
- save-api-diff-cache-by-tag:
api_diff_cache: << parameters.base_api_tag >>
name: Install prerequisites
command: if [ $(xcversion simulators | grep -cF "iOS << parameters.iOS >> Simulator (installed)") -eq 0 ]; then xcversion simulators --install="iOS << parameters.iOS >>" || true; fi
- *save-cache
- save-api-diff-cache-by-tag:
api_diff_cache: << parameters.base_api_tag >>
- run:
name: Restore latest APIDiffReport
command: |
Expand Down

0 comments on commit 0717b1b

Please sign in to comment.