Skip to content

Commit 92bc0fa

Browse files
authored
feat: update default retirement states in devstack config (#36153)
We would like new devstack instances to better support the user retirement pipeline out of the box after provisioning. The first step is to update the default list of retirement states devstack is configured to add/use.
1 parent 241997e commit 92bc0fa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lms/envs/devstack.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,20 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing
554554
'http://localhost:1996', # frontend-app-learner-dashboard
555555
]
556556

557+
RETIREMENT_STATES = [
558+
'PENDING',
559+
'LOCKING_ACCOUNT',
560+
'LOCKING_COMPLETE',
561+
'RETIRING_ENROLLMENTS',
562+
'ENROLLMENTS_COMPLETE',
563+
'RETIRING_LMS_MISC',
564+
'LMS_MISC_COMPLETE',
565+
'RETIRING_LMS',
566+
'LMS_COMPLETE',
567+
'ERRORED',
568+
'ABORTED',
569+
'COMPLETE',
570+
]
557571

558572
################# New settings must go ABOVE this line #################
559573
########################################################################

0 commit comments

Comments
 (0)