mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-12 02:24:15 +00:00
ceb06cc227
* cherry picked changes from b12af9f3bc625a6b12cfa0b8d908b378b6be9442 to pin form json files * use the class name to determine what a task type is w/ burnettk * initial thoughts to fix cancel timer issue w/ burnettk * added migration to run predict on all open instances w/ burnettk * remove debug, refactor data migrations, add benchmark_log_func * log progress of script * only process predicted tasks and their parents in the version 2 data miagration w/ burnettk * added data migrator and using that to run version 2 migrations when needed w/ burnettk * removed some unwanted code * fix issue, but tests still need updating * fix tests by returning code to closer to what it was --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
14 lines
466 B
Bash
Executable File
14 lines
466 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
function error_handler() {
|
|
>&2 echo "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
|
|
exit "$2"
|
|
}
|
|
trap 'error_handler ${LINENO} $?' ERR
|
|
set -o errtrace -o errexit -o nounset -o pipefail
|
|
|
|
script_dir="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|
. "${script_dir}/local_development_environment_setup"
|
|
SPIFFWORKFLOW_BACKEND_RUN_BACKGROUND_SCHEDULER_IN_CREATE_APP=false
|
|
poetry run python ./bin/data_migrations/run_all.py
|