Fix caching, try fix git cloning
This commit is contained in:
Родитель
2cb355fe51
Коммит
f330967937
18
circle.yml
18
circle.yml
|
@ -47,17 +47,12 @@ jobs:
|
|||
working_directory: ~/addons-server
|
||||
machine: true
|
||||
steps:
|
||||
- restore_cache:
|
||||
keys:
|
||||
- uitest-cache-{{ checksum "requirements/docs.txt" }}
|
||||
- uitest-cache-{{ checksum "requirements/prod.txt" }}
|
||||
- uitest-cache-{{ checksum "requirements/dev.txt" }}
|
||||
- uitest-cache-{{ checksum "requirements/uitests.txt" }}
|
||||
- uitest-cache-
|
||||
- run:
|
||||
name: Checkout git repository
|
||||
command: |
|
||||
git clone $CIRCLE_REPOSITORY_URL $CIRCLE_WORKING_DIRECTORY --depth=1
|
||||
git clone --depth=1 $CIRCLE_REPOSITORY_URL $CIRCLE_WORKING_DIRECTORY
|
||||
|
||||
cd $CIRCLE_WORKING_DIRECTORY
|
||||
|
||||
if [ -n "$CIRCLE_TAG" ]
|
||||
then
|
||||
|
@ -70,6 +65,13 @@ jobs:
|
|||
fi
|
||||
|
||||
git reset --hard "$CIRCLE_SHA1"
|
||||
- restore_cache:
|
||||
keys:
|
||||
- uitest-cache-{{ checksum "requirements/docs.txt" }}
|
||||
- uitest-cache-{{ checksum "requirements/prod.txt" }}
|
||||
- uitest-cache-{{ checksum "requirements/dev.txt" }}
|
||||
- uitest-cache-{{ checksum "requirements/uitests.txt" }}
|
||||
- uitest-cache-
|
||||
- run:
|
||||
name: Install Docker Compose
|
||||
command: |
|
||||
|
|
Загрузка…
Ссылка в новой задаче