Skip to content

Commit 52374ca

Browse files
authored
Merge pull request #1328 from makeabilitylab/1275-remove-merge-oneshot
Remove one-shot prod merge from docker-entrypoint.sh (#1275)
2 parents 546e4bf + 42d1111 commit 52374ca

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

docker-entrypoint.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,7 @@ echo "******************************************"
116116
python manage.py backfill_project_visibility
117117

118118
echo "****************** STEP 4.8/5: docker-entrypoint.sh ************************"
119-
echo "4.8 Running 'python manage.py merge_duplicate_people' (PROD only) to consolidate duplicate Person records (#1275)"
120-
echo "******************************************"
121-
# ONE-SHOT (remove after the first prod run confirms in /logs). Gated to PROD
122-
# because dedup_decisions.csv is keyed by production ids; the merge command also
123-
# refuses name-mismatched pairs as a backstop. Idempotent, so a lingering run is
124-
# a harmless no-op once the duplicates are already merged.
125-
if [ "$DJANGO_ENV" = "PROD" ]; then
126-
python manage.py merge_duplicate_people --decisions dedup_decisions.csv --apply
127-
fi
128-
129-
echo "****************** STEP 4.9/5: docker-entrypoint.sh ************************"
130-
echo "4.9 Running 'python manage.py recompute_url_names' to de-collide historical url_names (#1206)"
119+
echo "4.8 Running 'python manage.py recompute_url_names' to de-collide historical url_names (#1206)"
131120
echo "******************************************"
132121
python manage.py recompute_url_names
133122

0 commit comments

Comments
 (0)