-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
86 lines (81 loc) · 3.56 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
services:
test_many_non_main_files:
build:
dockerfile: docker/generic.dockerfile
context: .
entrypoint:
- run_gradescope
working_dir: /autograder/source
volumes:
- "./tests/e2e/test_many_non_main_files/results:/autograder/results"
- "./tests/e2e/test_many_non_main_files/student_tests:/autograder/source/student_tests"
- "./tests/e2e/test_many_non_main_files/submission:/autograder/submission"
- "./tests/e2e/test_many_non_main_files/submission_metadata.json:/autograder/submission_metadata.json"
- "./tests/e2e/integration_config.toml:/autograder/source/config.toml"
test_requirements_in_submission:
build:
dockerfile: docker/generic.dockerfile
context: .
entrypoint:
- run_gradescope
working_dir: /autograder/source
volumes:
- "./tests/e2e/test_requirements_in_submission/results:/autograder/results"
- "./tests/e2e/test_requirements_in_submission/student_tests:/autograder/source/student_tests"
- "./tests/e2e/test_requirements_in_submission/submission:/autograder/submission"
- "./tests/e2e/test_requirements_in_submission/submission_metadata.json:/autograder/submission_metadata.json"
- "./tests/e2e/integration_config.toml:/autograder/source/config.toml"
test_data_file_in_submission:
build:
dockerfile: docker/generic.dockerfile
context: .
entrypoint:
- run_gradescope
working_dir: /autograder/source
volumes:
- "./tests/e2e/test_data_file_in_submission/results:/autograder/results"
- "./tests/e2e/test_data_file_in_submission/student_tests:/autograder/source/student_tests"
- "./tests/e2e/test_data_file_in_submission/submission:/autograder/submission"
- "./tests/e2e/test_data_file_in_submission/submission_metadata.json:/autograder/submission_metadata.json"
- "./tests/e2e/integration_config.toml:/autograder/source/config.toml"
test_build:
build:
dockerfile: docker/generic.dockerfile
context: .
entrypoint: build_autograder
working_dir: /autograder/source
command:
- "-o"
- "/autograder/bin"
volumes:
- "./tests/e2e/test_build/student_tests:/autograder/source/student_tests"
- "./tests/e2e/test_build/bin:/autograder/bin"
- "./tests/e2e/integration_config.toml:/autograder/source/config.toml"
- "./tests/e2e/test_build/starter_code/:/autograder/source/starter_code"
test_run_local:
build:
dockerfile: docker/generic.dockerfile
context: .
entrypoint: ["sh", "/app/entrypoint.sh"]
working_dir: /app/source
volumes:
- "./tests/e2e/test_run_test_my_work/entrypoint.sh:/app/entrypoint.sh"
- "./tests/e2e/test_run_test_my_work/results:/autograder/results"
- "./tests/e2e/test_run_test_my_work/student_tests:/app/source/student_tests"
- "./tests/e2e/test_run_test_my_work/submission:/app/submission"
- "./tests/e2e/test_run_test_my_work/test_my_work_config.toml:/app/source/config.toml"
test_run_with_prairie_learn:
build:
dockerfile: docker/generic.dockerfile
context: .
entrypoint: run_prairielearn
command:
- --config-file
- /grade/data/config.toml
working_dir: /grade
volumes:
- "./tests/e2e/test_run_with_prairie_learn/results:/grade/results"
- "./tests/e2e/test_run_with_prairie_learn/student_tests:/grade/tests"
- "./tests/e2e/test_run_with_prairie_learn/submission:/grade/student"
- "./tests/e2e/test_run_with_prairie_learn/data.json:/grade/data/data.json"
- "./tests/e2e/integration_config.toml:/grade/data/config.toml"