Release-Specific Manual Deployment Steps¶
This document tracks steps that must be completed manually before or after the specified release is deployed.
v4.3¶
Before¶
Member docs¶
- Check for TrainingProgress with non-unique combinations of
trainee
andevent
(excluding nulls), and remove duplicates. This is required for the migrationworkshops.0264_trainingprogress_unique_trainee_at_event
to succeed.
Automated emails¶
- Deploy the worker correctly to PROD environment
- Prepare production email worker account only with
knox.add_authtoken
permission and active status- put this account credentials in SSM parameters
/{stage}/email-worker/token_username
and/{stage}/email-worker/token_password
- put this account credentials in SSM parameters
After¶
- Update Redash queries about training requests to change
group_name
tomember_code
(in line with changes to theTrainingRequest
model). - Update new email templates in production before running the script to migrate emails from the old system - see https://github.com/carpentries/amy/issues/2707 for details.
- Run email migration script on the server:
./manage.py create_emails_for_existing_events
.
v4.2¶
Before¶
- Add variables to Ansible playbook to set
EMAIL_MODULE_ENABLED
flag
After¶
-
Run seeding scripts
seed_training_requirements.py
andseed_involvements.py
on the server:$ sudo su # cd /webapps/amy.carpentries.org/repo/ # source .venv/bin/postactivate # .venv/bin/python3 manage.py runscript seed_involvements # .venv/bin/python3 manage.py runscript seed_training_requirements
-
Merge updated documentation to
develop