Skip to content

Commit

Permalink
Merge pull request #1997 from GSA/1981-add-test-users
Browse files Browse the repository at this point in the history
Change upwd command 5
  • Loading branch information
XavierMetichecchia authored Dec 10, 2024
2 parents 58bb903 + c860b6c commit 60c2702
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,7 @@ jobs:
cf add-network-policy ${PROJECT}-waf-${BRANCH} ${PROJECT}-cms-${BRANCH} -s ${PROJECT}-${BRANCH} -o ${CF_ORG} --protocol tcp --port 61443
cf map-route benefit-finder-cms-${BRANCH} apps.internal --hostname benefit-finder-cms-${BRANCH} --app-protocol http1
cd ..
sed -i "s/TU_PASS/${TEST_USER_PASS}/g" ./scripts/drush-post-deploy.sh
echo "The value of the test user is: ${TEST_USER_PASS}"
sed -i "s#TU_PASS#${TEST_USER_PASS}#" ./scripts/drush-post-deploy.sh
cat ./scripts/drush-post-deploy.sh
source ./scripts/pipeline/cloud-gov-post-deploy.sh
10 changes: 6 additions & 4 deletions scripts/drush-post-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ drush cr

# Update passwords for existing users
echo "Updating passwords for test users..."
drush user:create test_test --password="TU_PASS"
drush upwd gene_chi TU_PASS
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 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
Expand Down

0 comments on commit 60c2702

Please sign in to comment.