Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
1f6b326
chore: reset submission date when deleting portfolio
b0ink Mar 23, 2026
c997ab0
chore: show portfolio submission date in grades csv
b0ink Mar 23, 2026
f23b5dc
Merge pull request #593 from b0ink/refactor/portfolio-dates
b0ink Mar 24, 2026
5f49f46
test: attempt fix for flaky test
b0ink Mar 24, 2026
a607486
fix: normalise test to ensure its consistent (#594)
b0ink Mar 24, 2026
1717b16
Merge pull request #595 from b0ink/fix/status-test-fix
b0ink Mar 24, 2026
e5f128d
Merge pull request #592 from b0ink/refactor/confirm-recursive-fix
b0ink Mar 24, 2026
18b6ea7
chore(release): 10.0.0-95
b0ink Mar 24, 2026
7d36efc
test: skip pdf gen to improve test speeds (#596)
b0ink Mar 24, 2026
eb2195a
feat: allow admin users to view any unit analytics (#597)
b0ink Mar 25, 2026
0aa2208
feat: pause days awaiting feedback during breaks (#599)
b0ink Mar 26, 2026
73203a2
chore(release): 10.0.0-96
b0ink Mar 26, 2026
b1946bd
feat: prefer encrypted rails credentials over env vars (#600)
b0ink Mar 27, 2026
2104123
chore(release): 10.0.0-97
b0ink Mar 27, 2026
4357f5c
feat: move tii and active record secrets to rails credentials (#601)
b0ink Mar 27, 2026
89cad86
chore(release): 10.0.0-98
b0ink Mar 27, 2026
4d1c6ee
feat: add enforce feedback unit setting
b0ink Mar 29, 2026
b494ed8
refactor: use portfolio submission date and time instead of pdf gen date
b0ink Mar 31, 2026
f3f541c
refactor: use portfolio submission date and time instead of pdf gen d…
b0ink Mar 31, 2026
43fcae7
chore: ensure overseer doesnt change task status if already aip
b0ink Mar 31, 2026
8ee540d
Merge pull request #605 from b0ink/feat/dont-override-aip-overseer
b0ink Apr 1, 2026
c1420a8
test: improve reliability of test
b0ink Apr 13, 2026
0bba827
feat: ensure tutorials are reassigned before deleting a unit role
b0ink Apr 13, 2026
654144d
chore: manually update each tutorial
b0ink Apr 13, 2026
c81f524
Merge pull request #608 from b0ink/feat/ensure-tutorials-have-valid-u…
b0ink Apr 13, 2026
f41d2ae
chore(release): 10.0.0-99
b0ink Apr 13, 2026
4765b53
Merge pull request #602 from b0ink/refactor/tutor-discussion-workflow
b0ink Apr 15, 2026
c0d6615
chore(release): 10.0.0-100
b0ink Apr 15, 2026
7a10685
feat: query pinned tasks in task explorer
b0ink Apr 16, 2026
0d7643c
Merge pull request #610 from b0ink/refactor/task-explorer-pins
b0ink Apr 18, 2026
5baa171
feat: batch upload feedback csv (#609)
b0ink Apr 18, 2026
d5127ea
chore(release): 10.0.0-101
b0ink Apr 18, 2026
479bb66
refactor: ensure single pdf submission to use as final pdf
b0ink Apr 18, 2026
b266498
chore(release): 10.0.0-102
b0ink Apr 18, 2026
90945ca
chore: fix rubocop
b0ink Apr 18, 2026
76afc3c
chore: fix rubocop
b0ink Apr 18, 2026
9960e31
refactor: move batch tasks upload to sidekiq job
b0ink Apr 18, 2026
e3af000
chore(release): 10.0.0-103
b0ink Apr 18, 2026
51f20a7
chore: rename outdated package
b0ink Apr 22, 2026
1d056ca
fix: prevent duplicate submission requests (#611)
b0ink Apr 23, 2026
cdb7eb6
fix: tighten API CORS policy to trusted origins
224599437 Apr 23, 2026
5dbd575
feat: import/export overseer steps via task definition csv (#604)
b0ink Apr 23, 2026
3feb02c
chore(release): 10.0.0-104
b0ink Apr 23, 2026
78d4f11
refactor: allow either student id or username for batch pdf upload
b0ink Apr 27, 2026
34d258e
chore(release): 10.0.0-105
b0ink Apr 27, 2026
4096f87
feat: enable comment editing (#613)
b0ink Apr 28, 2026
9dc7436
chore(release): 10.0.0-106
b0ink Apr 28, 2026
f883c37
refactor: check for feedback on task status change server side (#616)
b0ink May 5, 2026
b2e4e64
chore(release): 10.0.0-107
b0ink May 5, 2026
60082f0
fix: mitigate URI credential leakage in relative URI merges
224599437 May 7, 2026
11cc264
feat: enable sentry error logging (#620)
b0ink May 13, 2026
7967ddf
chore(release): 10.0.0-108
b0ink May 13, 2026
a824b1b
fix: ensure recent feedback has been left for fix
b0ink May 13, 2026
3c18c1b
Merge pull request #621 from b0ink/refactor/ensure-feedback-on-fix
b0ink May 13, 2026
ed2add5
chore(release): 10.0.0-109
b0ink May 13, 2026
7ea3d40
refactor: enable configuration of max shown comparisons in jplag repo…
b0ink Jun 3, 2026
7a09ae5
chore(release): 10.0.0-110
b0ink Jun 3, 2026
d5d8742
feat: support zip file submissions (#624)
b0ink Jun 3, 2026
be3e59e
chore: update version
b0ink Jun 3, 2026
53223c7
chore(release): 10.0.0
b0ink Jun 3, 2026
ef5727b
chore(release): 11.0.0-1
b0ink Jun 3, 2026
bb453ce
feat: clear submission in process with no active sidekiq job (#626)
b0ink Jun 4, 2026
f592202
chore(release): 11.0.0-2
b0ink Jun 4, 2026
a85024c
chore: update task pdf failed subject line
b0ink Jun 4, 2026
f5b383f
fix: allow error log emails with no backtrace
b0ink Jun 4, 2026
6e2b1e2
chore: capture sentry alert instead of error
b0ink Jun 4, 2026
7fda505
chore: raise sentry alerts where error log mailer is used
b0ink Jun 4, 2026
e2afc12
refactor: improve failed pdfgen sentry error
b0ink Jun 4, 2026
7f469a6
chore: improve stale in process submission sentry error
b0ink Jun 4, 2026
d139b7b
chore: capture additional error on failed accept submission job
b0ink Jun 4, 2026
14c3d45
chore(release): 11.0.0-3
b0ink Jun 4, 2026
3790c9f
fix: ensure we check for queued jobs
b0ink Jun 4, 2026
678f386
feat: suspend any stale overseer assessments
b0ink Jun 4, 2026
c206553
chore(release): 11.0.0-4
b0ink Jun 4, 2026
1949b42
fix: correctly get task
b0ink Jun 4, 2026
4280df3
feat: notify students when overseer tests fail (#627)
b0ink Jun 4, 2026
b07d4f5
chore(release): 11.0.0-5
b0ink Jun 4, 2026
c359c0e
chore: ensure test submissions dont receive overseer notification
b0ink Jun 4, 2026
f46a6ec
chore: set executable permissions
b0ink Jun 4, 2026
3dfffd9
chore(release): 11.0.0-6
b0ink Jun 4, 2026
8a1c6e6
chore: remove files
b0ink Jun 4, 2026
b33556b
refator: align wording closer to the automated comment
b0ink Jun 4, 2026
0717d90
fix: ensure start and target dates set correctly if unit start date i…
b0ink Jun 5, 2026
ce23417
Merge pull request #628 from b0ink/fix/start-target-dates
b0ink Jun 5, 2026
a01e4d7
fix: handle incomplete notebook metadata and markdown lists in pdfs
b0ink Jun 6, 2026
b950e55
fix: normalize notebook source lines
b0ink Jun 8, 2026
163ff5e
Merge pull request #629 from b0ink/fix/jupyter-notebook-support
b0ink Jun 8, 2026
280f3a0
chore(release): 11.0.0-7
b0ink Jun 8, 2026
4a7141f
chore: include task definition abbreviation in portfolio overall task…
b0ink Jun 9, 2026
9724909
feat: communications system (#617)
b0ink Jun 9, 2026
a417f0e
chore(release): 11.0.0-8
b0ink Jun 9, 2026
93599d2
fix: ensure more reliable test
b0ink Jun 10, 2026
8ff358a
refactor: improve latex work directory naming (#632)
b0ink Jun 10, 2026
0bedbfc
refactor: reset portfolio compilation after completion (#630)
b0ink Jun 10, 2026
5d3407e
feat: expose route to fetch tasks waiting for pdf gen
b0ink Jun 11, 2026
5a5dea7
test: cover portfolio task pdf processing state
b0ink Jun 11, 2026
568fee4
Merge pull request #635 from b0ink/feat/tasks-still-processing
b0ink Jun 11, 2026
065180f
feat: overflow task claim logs (#614)
b0ink Jun 11, 2026
eb5d872
chore(release): 11.0.0-9
b0ink Jun 11, 2026
f7b877c
feat: add column for days awaiting feedback including breaks
b0ink Jun 11, 2026
90cf453
chore: refresh feedback in active units only
b0ink Jun 11, 2026
ba7ca98
chore: enforce utf8mb4 encoding in development
b0ink Jun 17, 2026
433e60d
chore: enforce utf8mb4 encoding in tests
b0ink Jun 17, 2026
b0bf4d3
test: ensure native uft8 emojis can be added
b0ink Jun 17, 2026
4f95d61
feat: submission history (#636)
b0ink Jun 17, 2026
91d0b19
chore(release): 11.0.0-10
b0ink Jun 17, 2026
6836a20
fix: serve public web cal as raw text
b0ink Jun 17, 2026
c782911
refactor: ensure webcal uses students local start/target dates
b0ink Jun 17, 2026
0b206c1
Merge pull request #639 from b0ink/fix/calendar
b0ink Jun 17, 2026
d32145e
feat: engagement passport (#631)
b0ink Jun 18, 2026
c16f755
refactor: make access and refresh token expiry configurable (#637)
b0ink Jun 18, 2026
ea1bd13
chore(release): 11.0.0-11
b0ink Jun 18, 2026
dabd06d
chore: ignore commit in git blame
b0ink Jun 24, 2026
57cb9e2
feat: customisable grades (#638)
b0ink Jun 24, 2026
9c3f8b1
chore(release): 11.0.0-12
b0ink Jun 24, 2026
3a0c879
fix: avoid json default
b0ink Jun 24, 2026
8b586f9
fix: allow nullable grade values
b0ink Jun 24, 2026
5c3c0dc
chore(release): 11.0.0-13
b0ink Jun 24, 2026
1a47564
fix: avoid serialisation
b0ink Jun 24, 2026
ea7c5db
fix: check grade value is valid json
b0ink Jun 24, 2026
b6648a3
chore(release): 11.0.0-14
b0ink Jun 24, 2026
3dd6106
fix: check grade value is valid json
b0ink Jun 24, 2026
9fff328
chore(release): 11.0.0-15
b0ink Jun 24, 2026
3eecd2f
feat: add sentry tunnel support
b0ink Jun 25, 2026
5edfe6c
chore(release): 11.0.0-16
b0ink Jun 25, 2026
3329076
refactor: move sentry tunnel to controller
b0ink Jun 25, 2026
1834b41
chore(release): 11.0.0-17
b0ink Jun 25, 2026
baf4f69
fix: rename tunnel route to avoid ad blockers
b0ink Jun 25, 2026
81d7b27
chore(release): 11.0.0-18
b0ink Jun 25, 2026
f461d2d
refactor: support session replay data
b0ink Jun 25, 2026
113e9e4
chore(release): 11.0.0-19
b0ink Jun 25, 2026
0e0ce34
fix: ensure overseer image is pulled before running test
b0ink Jun 25, 2026
91402b0
refactor: revert change to preserve overdue statuses on failure
b0ink Jun 25, 2026
86b2040
feat: capture daily snapshots of aggregated task completion data (#607)
audreypho Jun 25, 2026
d9085b5
fix: relocate submission history on unit code change
b0ink Jun 25, 2026
4ff4ff3
refactor: move jplag report dir under student work and remove config
b0ink Jun 25, 2026
b495dc1
chore: relocate units jplag report dir on unit code change
b0ink Jun 25, 2026
14c4240
chore: minify test task names
b0ink Jun 25, 2026
791f06d
chore(release): 11.0.0-20
b0ink Jun 25, 2026
06edb26
Merge pull request #641 from b0ink/refactor/test-abbrv
b0ink Jun 25, 2026
40cefee
ci: remove jplag report dir env var
b0ink Jun 26, 2026
87fe813
fix: support mysql 8 reserved keyword in task completion stats query
b0ink Jun 26, 2026
5981dfb
chore(release): 11.0.0-21
b0ink Jun 26, 2026
f8041e7
Merge pull request #640 from b0ink/refactor/jplag-report-dir
b0ink Jun 26, 2026
7cc533f
chore(release): 11.0.0-22
b0ink Jun 26, 2026
3215c08
fix: ensure jplag scan continues on failed report
b0ink Jun 26, 2026
85e36f9
chore(release): 11.0.0-23
b0ink Jun 26, 2026
964e957
fix: ensure non text comments cant be deleted
b0ink Jun 26, 2026
4404d96
chore(release): 11.0.0-24
b0ink Jun 29, 2026
d98d318
fix: ensure pii is not submitted to sentry
b0ink Jun 29, 2026
2ab0bb7
chore(release): 11.0.0-25
b0ink Jun 29, 2026
f217c61
fix: improve error when adding prerequisite to non existing task def
b0ink Jun 29, 2026
4c2e194
fix: avoid skipping task names containing 'name' during import
b0ink Jun 29, 2026
ae1b620
test: ensure tasks containing name dont get skipped
b0ink Jun 29, 2026
924bb36
chore(release): 11.0.0-26
b0ink Jun 29, 2026
19a459c
fix: prevent convenors with observer only perms to be made main convenor
b0ink Jun 29, 2026
a49698c
test: reload model
b0ink Jun 30, 2026
262a5c6
chore(release): 11.0.0-27
b0ink Jul 1, 2026
d5ca748
fix: only allow convenors to pull overflow stats
b0ink Jul 1, 2026
5b4bc71
chore(release): 11.0.0-28
b0ink Jul 1, 2026
a4bb79a
fix: allow students to get submission history timestamps
b0ink Jul 2, 2026
0ea20bc
chore(release): 11.0.0-29
b0ink Jul 2, 2026
99c8547
test: ensure pdf with excessive text wrapping has correct page count
b0ink Jul 3, 2026
fc40bde
fix: run lualatex a third time to ensure correct page references
b0ink Jul 3, 2026
25bcafc
fix: ensure admins can manage communications
b0ink Jul 4, 2026
8d2cd59
chore(release): 11.0.0-30
b0ink Jul 4, 2026
c6f1592
Merge pull request #644 from b0ink/fix/pdf-page-count
b0ink Jul 6, 2026
0eb873e
chore(release): 11.0.0-31
b0ink Jul 8, 2026
05a44fa
feat: add rediscuss status
b0ink Jul 9, 2026
1732604
chore: add coverpage css
b0ink Jul 13, 2026
dc76a5a
Merge pull request #645 from b0ink/feat/rediscuss-status
b0ink Jul 13, 2026
6196b11
docs: update development and deployment documentation
b0ink Jul 15, 2026
444b0f7
docs: restore env var config
b0ink Jul 15, 2026
b3ef36a
chore: extend observer only permissions
b0ink Jul 15, 2026
7640a36
feat: prompt for admin password when creating initial account
b0ink Jul 16, 2026
610daa3
chore: set default password in ci
b0ink Jul 16, 2026
923701d
chore: fix rubocop
b0ink Jul 16, 2026
18123d4
chore: only prompt for admin password in production
b0ink Jul 16, 2026
a21daf8
feat: support word document submission (#647)
b0ink Jul 16, 2026
b48edb7
chore(release): 11.0.0-32
b0ink Jul 16, 2026
a87b250
feat: content management system (#642)
b0ink Jul 19, 2026
184e01a
chore(release): 11.0.0-33
b0ink Jul 19, 2026
4f60eff
fix: pass saml settings correctly to logout response
b0ink Jul 20, 2026
2141fd6
feat: track last access to site and unit
b0ink Jul 22, 2026
50fc821
feat: add last sign in and last unit access communication conditions
b0ink Jul 22, 2026
8973496
Merge pull request #649 from b0ink/feat/last-access-tracking
b0ink Jul 22, 2026
f26c9c5
fix: prevent deleting task definitions used as prerequisites
b0ink Jul 23, 2026
2b3752a
fix: allow unit deletion with task prerequisites
b0ink Jul 24, 2026
4818049
fix: iterate sentry exception interface values correctly
b0ink Jul 24, 2026
d512955
Merge pull request #652 from b0ink/fix/block-task-deletion-prerequisites
b0ink Jul 24, 2026
9630a3e
Merge pull request #654 from b0ink/fix/sentry-reporting
b0ink Jul 24, 2026
f6dfd80
feat: discuss timeout (#646)
b0ink Jul 24, 2026
86753d5
refactor: serve only the content files that are being requested (#655)
b0ink Jul 24, 2026
a535d40
chore(release): 11.0.0-34
b0ink Jul 24, 2026
a8da36c
fix: enable youtube embeds
b0ink Jul 24, 2026
8d8b17c
chore(release): 11.0.0-35
b0ink Jul 24, 2026
bf457a1
fix: normalize upload requirement file keys on save (#653)
b0ink Jul 24, 2026
90d362e
feat: communication condition to check if student has portfolio (#651)
b0ink Jul 24, 2026
328b358
chore(release): 11.0.0-36
b0ink Jul 24, 2026
8df3ea9
fix: pass saml settings correctly to logout response (#648)
b0ink Jul 24, 2026
59641bd
feat: automated engagement stamps (#650)
b0ink Jul 24, 2026
c91418e
chore(release): 11.0.0-37
b0ink Jul 24, 2026
df3bc30
fix: ensure feedback templates rollover to new unit
b0ink Jul 27, 2026
8b11923
Merge pull request #656 from b0ink/fix/rollover-feedback-templates
b0ink Jul 27, 2026
1f83995
refactor: improve overseer step error handling
b0ink Jul 28, 2026
60a039a
chore(release): 11.0.0-38
b0ink Jul 28, 2026
c8bd418
fix: only record discussion after successful transition
b0ink Jul 28, 2026
fd2f926
chore(release): 11.0.0-39
b0ink Jul 28, 2026
1757731
feat: enable unit content download
b0ink Jul 30, 2026
a321cc1
chore(release): 11.0.0-40
b0ink Jul 30, 2026
57f0bfa
Merge pull request #662 from b0ink/fix/administrator-access
b0ink Jul 30, 2026
cf974a4
chore(release): 11.0.0-41
b0ink Jul 30, 2026
9b624d6
fix: ensure screenshots embedded in markdown compiles correctly
b0ink Jul 31, 2026
ba90b58
Merge pull request #663 from b0ink/fix/markdown-images
b0ink Jul 31, 2026
277506d
chore(release): 11.0.0-42
b0ink Jul 31, 2026
6f02a33
feat: group engagement (#658)
b0ink Aug 3, 2026
a60fdb6
chore(release): 11.0.0-43
b0ink Aug 3, 2026
76f3ff1
fix: ensure correct context is found for learning chips import
b0ink Aug 3, 2026
6c3b3e0
feat: bulk upload staff notes
b0ink Aug 3, 2026
3e0f32d
feat: bulk upload staff notes (#665)
b0ink Aug 3, 2026
dd833a4
chore(release): 11.0.0-44
b0ink Aug 8, 2026
5db6234
Merge pull request #664 from b0ink/fix/feedback-chip-import
b0ink Aug 10, 2026
70f8f73
Merge branch '11.0.x' into fix/cve-2025-61594-uri-credential-leakage
b0ink Aug 11, 2026
70faf42
chore: fix rubocop
b0ink Aug 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ci-setup/crontab
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ BASH_ENV=/container.env
PATH=/tmp/texlive/bin/x86_64-linux:/tmp/texlive/bin/aarch64-linux:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bundle/bin

10,15,20,25,30,35,40,45,50,55 * * * * /doubtfire/lib/shell/generate_pdfs.sh
0,10,20,30,40,50 * * * * /doubtfire/lib/shell/send_overseer_notifications.sh
0 5 * * * /doubtfire/lib/shell/check_plagiarism.sh
0 8 * * * /doubtfire/lib/shell/portfolio_autogen_check.sh
0 7 * * 1 /doubtfire/lib/shell/send_weekly_emails.sh
Expand Down
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Jan 11 2022: Repository wide format (support zeitwerk mode loader)
f4050e826af83166e45b0b4f2af14179b40305dd
35 changes: 29 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,18 @@ env:
DF_TEST_DB_DATABASE: "doubtfire-test"
DF_TEST_DB_USERNAME: "dfire"
DF_TEST_DB_PASSWORD: "pwd"
OVERSEER_ENABLED: "0"
OVERSEER_ENABLED: "true"
DF_ENCRYPTION_PRIMARY_KEY: "AMLOMYA5GV8B4fTK3VKMhVGn8WdvUW8g"
DF_ENCRYPTION_DETERMINISTIC_KEY: "anlmuJ6cB3bN3biXRbYvmPsC5ALPFqGG"
DF_ENCRYPTION_KEY_DERIVATION_SALT: "hzPR8D4qpOnAg7VeAhkhWw6JmmzKJB10"
DF_REDIS_SIDEKIQ_URL: "redis://redis:6379/0"
LATEX_CONTAINER_NAME: doubtfire-texlive
LATEX_BUILD_PATH: /texlive/shell/latex_build.sh
DF_JPLAG_REPORT_DIR: /jplag/results
GOTENBERG_IMAGE: doubtfire-gotenberg-development:local
GOTENBERG_FALLBACK_VOLUME_CONTAINER: doubtfire-gotenberg-volumes
LTI_SHARED_API_SECRET: "abc123"
LTI_ENABLED: true
DF_INITIAL_ADMIN_PASSWORD: "password"

jobs:
unit-tests:
Expand Down Expand Up @@ -64,6 +66,16 @@ jobs:
tags: doubtfire-texlive-development:local
cache-from: type=gha,scope=texlive
cache-to: type=gha,mode=max,scope=texlive
- name: Build Gotenberg image
uses: docker/build-push-action@v5
with:
context: .
file: gotenberg.Dockerfile
push: false
load: true
tags: doubtfire-gotenberg-development:local
cache-from: type=gha,scope=gotenberg
cache-to: type=gha,mode=max,scope=gotenberg
- name: Build JPlag image
uses: docker/build-push-action@v5
with:
Expand Down Expand Up @@ -104,14 +116,20 @@ jobs:
-v ${{ github.workspace }}:/doubtfire
-v /var/run/docker.sock:/var/run/docker.sock
run: docker exec -t ${{ env.LATEX_CONTAINER_NAME }} lualatex -v
- name: Start Gotenberg volume container
run: >
docker run --detach
--name ${{ env.GOTENBERG_FALLBACK_VOLUME_CONTAINER }}
--network none
--volume ${{ github.workspace }}/tmp/gotenberg:/workdir/gotenberg
alpine sleep infinity
- name: Start JPlag service
uses: maus007/docker-run-action-fork@207a4e2a8ebf7e4b985656ba990b1e53715dce2a
with:
image: doubtfire-jplag-development:local
options: >
--name jplag
-v ${{ github.workspace }}/student-work:/student-work
-v ${{ github.workspace }}/jplag/results:${{ env.DF_JPLAG_REPORT_DIR }}
-v ${{ github.workspace }}/tmp/jplag:/tmp/jplag
-v ${{ github.workspace }}/test_files/submissions/jplag:/test_files
--detach
Expand Down Expand Up @@ -152,9 +170,11 @@ jobs:
-e DF_REDIS_SIDEKIQ_URL
-e LATEX_CONTAINER_NAME
-e LATEX_BUILD_PATH
-e DF_JPLAG_REPORT_DIR
-e GOTENBERG_IMAGE
-e GOTENBERG_FALLBACK_VOLUME_CONTAINER
-e LTI_SHARED_API_SECRET
-e LTI_ENABLED
-e DF_INITIAL_ADMIN_PASSWORD
run: bundle exec rake db:populate
- name: Run unit tests
uses: maus007/docker-run-action-fork@207a4e2a8ebf7e4b985656ba990b1e53715dce2a
Expand All @@ -164,7 +184,6 @@ jobs:
-v ${{ github.workspace }}:/doubtfire
-v ${{ github.workspace }}/student-work:/student-work
-v /var/run/docker.sock:/var/run/docker.sock
-v ${{ github.workspace }}/jplag/results:${{ env.DF_JPLAG_REPORT_DIR }}
-v ${{ github.workspace }}/tmp/jplag:/tmp/jplag
-e RAILS_ENV
-e DF_STUDENT_WORK_DIR
Expand All @@ -185,11 +204,15 @@ jobs:
-e DF_REDIS_SIDEKIQ_URL
-e LATEX_CONTAINER_NAME
-e LATEX_BUILD_PATH
-e DF_JPLAG_REPORT_DIR
-e GOTENBERG_IMAGE
-e GOTENBERG_FALLBACK_VOLUME_CONTAINER
-e LTI_SHARED_API_SECRET
-e LTI_ENABLED
run: TERM=xterm bundle exec rails test
- name: Stop TexLive service
run: docker rm -f ${{ env.LATEX_CONTAINER_NAME }}
- name: Stop JPlag service
run: docker rm -f jplag
- name: Stop Gotenberg volume container
if: always()
run: docker rm -f ${{ env.GOTENBERG_FALLBACK_VOLUME_CONTAINER }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ student-work/
.DS_Store
.env
.env*
/config/credentials/*.yml.enc
/config/credentials/*.key
/config/master.key

# IDE configs
.idea/
Expand Down
Loading