Skip to content

Commit

Permalink
Set DREVOPS_PROVISION_SANITIZE_DB_SKIP=1 when DREVOPS_PROVISION_USE_P…
Browse files Browse the repository at this point in the history
…ROFILE=1
  • Loading branch information
tannguyen04 committed Jun 18, 2024
1 parent 4febb11 commit a70ef79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/drevops/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ DREVOPS_PROVISION_OVERRIDE_DB="${DREVOPS_PROVISION_OVERRIDE_DB:-0}"

# Skip database sanitization.
DREVOPS_PROVISION_SANITIZE_DB_SKIP="${DREVOPS_PROVISION_SANITIZE_DB_SKIP:-0}"
if [ "${DREVOPS_PROVISION_USE_PROFILE}" = "1" ]; then
DREVOPS_PROVISION_SANITIZE_DB_SKIP=1

Check warning on line 29 in scripts/drevops/provision.sh

View check run for this annotation

Codecov / codecov/patch

scripts/drevops/provision.sh#L28-L29

Added lines #L28 - L29 were not covered by tests
fi

# Put the site into a maintenance mode during site provisioning phase.
DREVOPS_PROVISION_USE_MAINTENANCE_MODE="${DREVOPS_PROVISION_USE_MAINTENANCE_MODE:-1}"
Expand Down

1 comment on commit a70ef79

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.