From 089e18419c71be2f6b33af200ee8e593f2627ce2 Mon Sep 17 00:00:00 2001 From: Eugene Dyudyunov Date: Tue, 9 Jul 2024 14:22:24 +0300 Subject: [PATCH] fix: Reorder pipeline steps Retirement pipiline steps order was different comparing to retirement state indexes so the order was changed - enrollments now placed before forum. YT: - https://youtrack.raccoongang.com/issue/PhU-399 Co-authored-by: Florian Haas --- CHANGELOG.md | 1 + .../retirement/build/retirement/pipeline_config/config.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8477354..6d3ce33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ * [Bug fix] Complete the removal of (not-ever-working) support for the Ecommerce service, by also removing references to that service from the `openedx-lms-common-settings` patch. * [Bug fix] Remove references to the mailing API (which in turn was removed from the LMS in Ironwood). * [Bug fix] Remove references to the (not-ever-working) Discovery service. +* [Bug fix] Run the retirement pipeline for course enrollments prior to that for forum posts. ## Version 3.3.1 (2024-07-03) diff --git a/tutorretirement/templates/retirement/build/retirement/pipeline_config/config.yml b/tutorretirement/templates/retirement/build/retirement/pipeline_config/config.yml index 38fa6cf..f256d37 100644 --- a/tutorretirement/templates/retirement/build/retirement/pipeline_config/config.yml +++ b/tutorretirement/templates/retirement/build/retirement/pipeline_config/config.yml @@ -6,8 +6,8 @@ base_urls: {% if NOTES_HOST is defined %}notes: {{ "https" if ENABLE_HTTPS else "http" }}://{{ NOTES_HOST }}{% endif %} retirement_pipeline: + - [ 'RETIRING_ENROLLMENTS', 'ENROLLMENTS_COMPLETE', 'LMS', 'retirement_unenroll' ] {% if FORUM_VERSION is defined %}- [ 'RETIRING_FORUMS', 'FORUMS_COMPLETE', 'LMS', 'retirement_retire_forum' ]{% endif %} {% if NOTES_HOST is defined %}- [ 'RETIRING_NOTES', 'NOTES_COMPLETE', 'LMS', 'retirement_retire_notes' ]{% endif %} - - [ 'RETIRING_ENROLLMENTS', 'ENROLLMENTS_COMPLETE', 'LMS', 'retirement_unenroll' ] - [ 'RETIRING_LMS_MISC', 'LMS_MISC_COMPLETE', 'LMS', 'retirement_lms_retire_misc' ] - [ 'RETIRING_LMS', 'LMS_COMPLETE', 'LMS', 'retirement_lms_retire' ]