Skip to content

Commit

Permalink
Merge pull request #1734 from edx/nmoy/structures_cleanup
Browse files Browse the repository at this point in the history
fix: change where structures.py file is
  • Loading branch information
ohnickmoy authored Mar 13, 2024
2 parents 85f36f8 + 24adcbe commit 12a601d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devops/resources/mongo-pruner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ create_virtualenv --python=python3.8 --clear
set -u

cd $WORKSPACE/edx-platform
pip install -r scripts/user_retirement/requirements/base.txt
pip install -r scripts/structures_pruning/requirements/base.txt
pip install awscli

set +x
Expand All @@ -36,7 +36,7 @@ IP_ADDRESSES=`aws ec2 describe-instances\

MONGO_IPS=`echo $IP_ADDRESSES | sed 's/ /,/g'`

python scripts/user_retirement/structures.py\
python scripts/structures_pruning/structures.py\
--database-name ${DATABASE_NAME}\
--connection "mongodb://${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_IPS}/${DATABASE_NAME}" make_plan --retain 10 plan.json

Expand Down

0 comments on commit 12a601d

Please sign in to comment.