File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,17 @@ jobs:
74
74
75
75
- run :
76
76
name : request to stop recording video
77
+ when : always
77
78
command : |
78
79
sleep 3 # wait a bit for the video to finish being made
79
80
docker-compose -f .circleci/compose.yml exec rails curl chromevideo:9494/stop
80
81
- run :
81
82
name : download the video
83
+ when : always
82
84
command : |
83
85
docker cp chromevideo:/var/output/out.mp4 /tmp/test-video.mp4
84
86
- store_artifacts :
87
+ when : always
85
88
path : /tmp/test-video.mp4
86
89
87
90
build-unit :
@@ -120,7 +123,7 @@ jobs:
120
123
- run :
121
124
name : request to start recording video
122
125
command : |
123
- docker-compose -f .circleci/compose.yml exec rails curl chromevideo:9494/start
126
+ docker-compose -f .circleci/compose-unit .yml exec rails-unit curl chromevideo:9494/start
124
127
125
128
- run :
126
129
name : wait for container to ready
@@ -161,14 +164,17 @@ jobs:
161
164
162
165
- run :
163
166
name : request to stop recording video
167
+ when : always
164
168
command : |
165
169
sleep 3 # wait a bit for the video to finish being made
166
170
docker-compose -f .circleci/compose-unit.yml exec rails-unit curl chromevideo:9494/stop
167
171
- run :
168
172
name : download the video
173
+ when : always
169
174
command : |
170
175
docker cp chromevideo:/var/output/out.mp4 /tmp/test-video.mp4
171
176
- store_artifacts :
177
+ when : always
172
178
path : /tmp/test-video.mp4
173
179
174
180
brakeman :
You can’t perform that action at this time.
0 commit comments