Skip to content

Commit 118a350

Browse files
committed
fix build
1 parent 77d61f9 commit 118a350

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,17 @@ jobs:
7474

7575
- run:
7676
name: request to stop recording video
77+
when: always
7778
command: |
7879
sleep 3 # wait a bit for the video to finish being made
7980
docker-compose -f .circleci/compose.yml exec rails curl chromevideo:9494/stop
8081
- run:
8182
name: download the video
83+
when: always
8284
command: |
8385
docker cp chromevideo:/var/output/out.mp4 /tmp/test-video.mp4
8486
- store_artifacts:
87+
when: always
8588
path: /tmp/test-video.mp4
8689

8790
build-unit:
@@ -120,7 +123,7 @@ jobs:
120123
- run:
121124
name: request to start recording video
122125
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
124127
125128
- run:
126129
name: wait for container to ready
@@ -161,14 +164,17 @@ jobs:
161164

162165
- run:
163166
name: request to stop recording video
167+
when: always
164168
command: |
165169
sleep 3 # wait a bit for the video to finish being made
166170
docker-compose -f .circleci/compose-unit.yml exec rails-unit curl chromevideo:9494/stop
167171
- run:
168172
name: download the video
173+
when: always
169174
command: |
170175
docker cp chromevideo:/var/output/out.mp4 /tmp/test-video.mp4
171176
- store_artifacts:
177+
when: always
172178
path: /tmp/test-video.mp4
173179

174180
brakeman:

0 commit comments

Comments
 (0)