Skip to content

Commit ce2d713

Browse files
author
Winter
authored
Merge pull request code-dot-org#26891 from code-dot-org/drone-disable-caching
Temporarily disable broken caching logic
2 parents 1a1326c + 5b3a4a1 commit ce2d713

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

.drone.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,9 @@ steps:
2424
exit 1
2525
fi
2626
27-
- name: restore-cache
28-
image: plugins/s3-cache
29-
settings:
30-
pull: true
31-
restore: true
32-
access_key:
33-
from_secret: S3_CACHE_ACCESS_KEY
34-
secret_key:
35-
from_secret: S3_CACHE_SECRET_KEY
36-
3727
- name: unit-tests
3828
image: wintercdo/code-dot-org:0.7
3929
volumes:
40-
- name: rbenv
41-
path: /home/circleci/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0
42-
- name: yarncache
43-
path: /home/circleci/.cache
4430
- name: mysql
4531
path: /var/lib/mysql
4632
environment:
@@ -51,37 +37,11 @@ steps:
5137
commands:
5238
- pwd
5339
- sudo chown -R circleci:circleci .
54-
- # cache is restored to source directory, so we need to copy it into the right place
55-
- cp -rn "$(pwd)/home/circleci/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0" /home/circleci/.rbenv/versions/2.5.0/lib/ruby/gems || true
56-
- cp -rn "$(pwd)/home/circleci/.cache" /home/circleci || true
5740
- /entrypoint.sh docker/unit_tests.sh
5841

59-
- name: update-cache
60-
image: plugins/s3-cache
61-
volumes:
62-
- name: rbenv
63-
path: /home/circleci/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0
64-
- name: yarncache
65-
path: /home/circleci/.cache
66-
settings:
67-
pull: true
68-
rebuild: true
69-
access_key:
70-
from_secret: S3_CACHE_ACCESS_KEY
71-
secret_key:
72-
from_secret: S3_CACHE_SECRET_KEY
73-
mount:
74-
- /home/circleci/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0
75-
- apps/node_modules
76-
- /home/circleci/.cache
77-
7842
volumes:
79-
- name: rbenv
80-
temp: {}
8143
- name: mysql
8244
temp: {}
83-
- name: yarncache
84-
temp: {}
8545

8646
trigger:
8747
event:

0 commit comments

Comments
 (0)