File tree Expand file tree Collapse file tree 1 file changed +0
-40
lines changed Expand file tree Collapse file tree 1 file changed +0
-40
lines changed Original file line number Diff line number Diff line change @@ -24,23 +24,9 @@ steps:
24
24
exit 1
25
25
fi
26
26
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
-
37
27
- name : unit-tests
38
28
image : wintercdo/code-dot-org:0.7
39
29
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
44
30
- name : mysql
45
31
path : /var/lib/mysql
46
32
environment :
@@ -51,37 +37,11 @@ steps:
51
37
commands :
52
38
- pwd
53
39
- 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
57
40
- /entrypoint.sh docker/unit_tests.sh
58
41
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
-
78
42
volumes :
79
- - name : rbenv
80
- temp : {}
81
43
- name : mysql
82
44
temp : {}
83
- - name : yarncache
84
- temp : {}
85
45
86
46
trigger :
87
47
event :
You can’t perform that action at this time.
0 commit comments