File tree Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 38
38
image : wintercdo/code-dot-org:0.7
39
39
volumes :
40
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
41
+ path : /home/circleci/.rbenv
44
42
- name : mysql
45
43
path : /var/lib/mysql
46
44
environment :
@@ -52,17 +50,14 @@ steps:
52
50
- pwd
53
51
- sudo chown -R circleci:circleci .
54
52
- # 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
53
+ - cp -rn "$(pwd)/home/circleci/.rbenv" /home/circleci || true
57
54
- /entrypoint.sh docker/unit_tests.sh
58
55
59
56
- name : update-cache
60
57
image : plugins/s3-cache
61
58
volumes :
62
59
- 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
60
+ path : /home/circleci/.rbenv
66
61
settings :
67
62
pull : true
68
63
rebuild : true
@@ -71,22 +66,19 @@ steps:
71
66
secret_key :
72
67
from_secret : S3_CACHE_SECRET_KEY
73
68
mount :
74
- - /home/circleci/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0
75
- - apps/node_modules
76
- - /home/circleci/.cache
69
+ - /home/circleci/.rbenv
77
70
78
71
volumes :
79
72
- name : rbenv
80
73
temp : {}
81
74
- name : mysql
82
75
temp : {}
83
- - name : yarncache
84
- temp : {}
85
76
86
77
trigger :
87
78
event :
88
79
include :
89
80
- pull_request
81
+ - push
90
82
91
83
# ---
92
84
# kind: pipeline
Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ echo "Wrote secrets from env vars into locals.yml."
57
57
set -x
58
58
59
59
# name: rake install
60
- RAKE_VERBOSE=true mispipe " bundle exec rake install" " ts '[%Y-%m-%d %H:%M:%S]'"
60
+ RAKE_VERBOSE=true mispipe " bundle exec rake install --trace " " ts '[%Y-%m-%d %H:%M:%S]'"
61
61
62
62
# name: rake build
63
63
RAKE_VERBOSE=true mispipe " bundle exec rake build --trace" " ts '[%Y-%m-%d %H:%M:%S]'"
64
64
65
65
# unit tests
66
- bundle exec rake circle:run_tests --trace
66
+ # bundle exec rake circle:run_tests --trace
67
67
68
68
mispipe " echo 'Ending timestamp'" ts
You can’t perform that action at this time.
0 commit comments