-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
101 lines (94 loc) · 4.05 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
services:
test_many_non_main_files:
build:
dockerfile: docker/generic.dockerfile
context: .
command:
- --test-directory
- /app/source/student_tests
volumes:
- "./tests/e2e/test_many_non_main_files/results:/autograder/results"
- "./tests/e2e/test_many_non_main_files/student_tests:/app/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:/app/source/config.toml"
test_requirements_in_submission:
build:
dockerfile: docker/generic.dockerfile
context: .
command:
- --test-directory
- /app/source/student_tests
volumes:
- "./tests/e2e/test_requirements_in_submission/results:/autograder/results"
- "./tests/e2e/test_requirements_in_submission/student_tests:/app/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:/app/source/config.toml"
test_data_file_in_submission:
build:
dockerfile: docker/generic.dockerfile
context: .
command:
- --test-directory
- /app/source/student_tests
volumes:
- "./tests/e2e/test_data_file_in_submission/results:/autograder/results"
- "./tests/e2e/test_data_file_in_submission/student_tests:/app/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:/app/source/config.toml"
# test_c_build:
# build:
# dockerfile: gradescope.dockerfile
# volumes:
# - "./tests/integration/test_c_build/results:/autograder/results"
# - "./tests/integration/test_c_build/student_tests:/autograder/source/student_tests"
# - "./tests/integration/test_c_build/submission:/autograder/submission"
# - "./tests/integration/test_c_build/submission_metadata.json:/autograder/submission_metadata.json"
# - "./tests/integration/test_c_build/config.toml:/autograder/source/config.toml"
test_build:
build:
dockerfile: docker/generic.dockerfile
context: .
command:
- "--build"
- "-o"
- "/app/bin"
volumes:
- "./tests/e2e/test_build/student_tests:/app/source/student_tests"
- "./tests/e2e/test_build/bin:/app/bin"
- "./tests/e2e/integration_config.toml:/app/source/config.toml"
- "./tests/e2e/test_build/starter_code/:/app/source/starter_code"
test_run_test_my_work:
build:
dockerfile: docker/generic.dockerfile
context: .
entrypoint: ["sh", "/app/entrypoint.sh"]
volumes:
- "./tests/e2e/test_run_test_my_work/entrypoint.sh:/app/entrypoint.sh"
- "./tests/e2e/test_run_test_my_work/results:/app/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: .
command:
- --submission-directory
- /grade/student
- --test-directory
- /grade/tests
- --deployed-environment
- prairie_learn
- --results-path
- /grade/results/results.json
- --metadata-path
- /grade/data/data.json
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:/app/source/config.toml"