Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 829ff96

Browse files
authored
Code Cleanup (#452)
- docker images no longer use timeout as default entrypoint - ESLint fixes
1 parent 48e9f2a commit 829ff96

39 files changed

+170
-144
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
frameworks/javascript/angular/
2+
frameworks/java

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,16 @@ services:
192192
entrypoint: ''
193193
command: bash
194194

195+
chapel-runner:
196+
image: codewars/chapel-runner
197+
volumes:
198+
- ./lib:/runner/lib
199+
- ./examples:/runner/examples
200+
- ./frameworks:/runner/frameworks
201+
- ./test:/runner/test
202+
entrypoint: ''
203+
command: bash
204+
195205
# LANGUAGE SPECIFIC HELPERS
196206
javascript:
197207
image: codewars/node-runner

docker/alt.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ RUN mocha -t 3000 test/runners/php_spec.js
4242

4343
#timeout is a fallback in case an error with node
4444
#prevents it from exiting properly
45-
ENTRYPOINT ["timeout", "15", "node"]
45+
ENTRYPOINT ["node"]

docker/chapel.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ WORKDIR /runner
3434
USER codewarrior
3535

3636
RUN mocha -t 10000 test/runners/chapel_spec.js
37-
ENTRYPOINT ["timeout", "15", "node"]
37+
ENTRYPOINT ["node"]

docker/crystal.docker

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ ADD frameworks/crystal/formatter.cr /home/codewarrior/crystal/formatter.cr
4444
USER codewarrior
4545

4646
RUN mocha -t 10000 test/runners/crystal_spec.js
47+
48+
ENTRYPOINT ["node"]

docker/dart.docker

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ RUN ln -s /home/codewarrior /workspace
4242
USER codewarrior
4343

4444
RUN mocha -t 10000 test/runners/dart_spec.js
45+
46+
ENTRYPOINT ["node"]

docker/dotnet.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ RUN mono -V
5757

5858
#timeout is a fallback in case an error with node
5959
#prevents it from exiting properly
60-
ENTRYPOINT ["timeout", "15", "node"]
60+
ENTRYPOINT ["node"]

docker/erlang.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ RUN mocha -t 5000 test/runners/{erlang,elixir}_spec.js
5656

5757
#timeout is a fallback in case an error with node
5858
#prevents it from exiting properly
59-
ENTRYPOINT ["timeout", "15", "node"]
59+
ENTRYPOINT ["node"]

docker/esolangs.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ RUN mocha -t 10000 test/runners/bf_spec.js
2525

2626
#timeout is a fallback in case an error with node
2727
#prevents it from exiting properly
28-
ENTRYPOINT ["timeout", "15", "node"]
28+
ENTRYPOINT ["node"]

docker/func.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ RUN mocha -t 5000 test/runners/{ocaml,racket}_spec.js
3434

3535
#timeout is a fallback in case an error with node
3636
#prevents it from exiting properly
37-
ENTRYPOINT ["timeout", "15", "node"]
37+
ENTRYPOINT ["node"]

0 commit comments

Comments
 (0)