diff --git a/run-automation.sh b/run-automation.sh index 255bd6ed8..dde9be2f2 100755 --- a/run-automation.sh +++ b/run-automation.sh @@ -1,7 +1,6 @@ #!/bin/bash DIR="$( cd "$( dirname "$0" )" && pwd )" SNAPSHOT=$DIR"/update-automation-snapshot.sql" -# perl -pi -e 's/update_automation_snapshot_staging_saleor_cloud/public/' $SNAPSHOT sed -i '' 's/update_automation_snapshot_staging_saleor_cloud/public/' $SNAPSHOT sed -i '' 's/update_automation_snapshot_staging_saleor_cloud/public/' $SNAPSHOT # please note that you should not use this password on production services @@ -11,3 +10,4 @@ psql $DB_URL -c 'DROP DATABASE IF EXISTS e2e WITH(FORCE);' psql $DB_URL -c 'CREATE DATABASE e2e;' psql $FULL_DB_URL -c 'CREATE EXTENSION IF NOT EXISTS btree_gin; CREATE EXTENSION IF NOT EXISTS pg_trgm;' psql $FULL_DB_URL -f $SNAPSHOT +docker compose exec api python manage.py migrate