Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change upwd command 2 #1993

Merged
merged 2 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions scripts/drush-post-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ drush cr
# Update passwords for existing users
echo "Updating passwords for test users..."
drush upwd scott_queen TU_PASS
drush upwd nehemia_abuga TU_PASS
drush upwd diego_cob TU_PASS
drush upwd cindy_fong TU_PASS
drush upwd ernie_deeb TU_PASS
drush upwd test_test TU_PASS
# drush upwd nehemia_abuga TU_PASS
# drush upwd diego_cob TU_PASS
# drush upwd cindy_fong TU_PASS
# drush upwd ernie_deeb TU_PASS
# drush upwd test_test TU_PASS

drush state:set system.maintenance_mode 0 -y
echo "Post-deploy finished!"
Expand Down
2 changes: 1 addition & 1 deletion scripts/pipeline/cloud-gov-post-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ ROOT_DIR=$(git rev-parse --show-toplevel)
while read -r command; do
## Don't send comments, empty lines, or echos.
if [[ "${command}" != "#"* ]] && [[ -n "${command}" ]] && [[ "${command}" != "echo "* ]]; then
bash ./scripts/pipeline/cloud-gov-remote-command.sh "${PROJECT}-cms-${BRANCH}" "${command}" < /dev/null
bash ./scripts/pipeline/cloud-gov-remote-command.sh "${PROJECT}-cms-${BRANCH}" "${command}" #< /dev/null
fi
done < "${ROOT_DIR}/scripts/drush-post-deploy.sh"