mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:17:07 +00:00
Run QCs from runner.
When importing an old project, the first QC run could take a while and cause a bit of backlog, but during normal shooting it is expected that it will finish quite quickly (and this is monitored anyway).
This commit is contained in:
@@ -122,6 +122,9 @@ run $DOUGAL_ROOT/lib/www/server/queues/asaqc/index.js
|
||||
print_log "Run database housekeeping actions"
|
||||
run $BINDIR/housekeep_database.py
|
||||
|
||||
print_log "Run QCs"
|
||||
run $DOUGAL_ROOT/lib/www/server/lib/qc/index.js
|
||||
|
||||
|
||||
rm "$LOCKFILE"
|
||||
print_info "End run"
|
||||
|
||||
2
lib/www/server/lib/qc/index.js
Normal file → Executable file
2
lib/www/server/lib/qc/index.js
Normal file → Executable file
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/node
|
||||
|
||||
const fs = require('fs');
|
||||
const YAML = require('yaml');
|
||||
const vm = require('vm');
|
||||
|
||||
Reference in New Issue
Block a user