Skip to content

Commit

Permalink
Closes #3939: Update test user account passwords for local dev and PR…
Browse files Browse the repository at this point in the history
… preview sites for 2025 (#3940)
  • Loading branch information
danahertzberg authored Dec 18, 2024
1 parent 7590290 commit 3064a14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ddev/commands/web/install
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BRANCH_NAME=$(git -C /usr/local/quickstart-install-profile rev-parse --abbrev-re
composer config repositories.localdev path /usr/local/quickstart-install-profile && composer require --no-update az-digital/az_quickstart:\*@dev
BRANCH_NAME=$(git -C /usr/local/quickstart-install-profile rev-parse --abbrev-ref HEAD); if [ $(git ls-remote --heads https://github.com/az-digital/az-quickstart-dev.git $BRANCH_NAME | wc -l) = 1 ]; then DEV_PACKAGE_BRANCH="$BRANCH_NAME"; else DEV_PACKAGE_BRANCH=main; fi; composer require --no-update --dev az-digital/az-quickstart-dev:dev-${DEV_PACKAGE_BRANCH}
composer install
drush --root=/var/www/html/web site:install [email protected] --account-name=azadmin --account-pass=azadmin2024 --db-url=mysql://db:db@db:3306/db -y --verbose
drush --root=/var/www/html/web site:install [email protected] --account-name=azadmin --account-pass=azadmin2025 --db-url=mysql://db:db@db:3306/db -y --verbose
drush --root=/var/www/html/web config:set -y az_cas.settings disable_login_form 0
drush --root=/var/www/html/web cache:rebuild
yarn --cwd /usr/local/quickstart-install-profile install
2 changes: 1 addition & 1 deletion .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ tooling:
install:
service: appserver
cmd:
- /app/vendor/bin/drush --root=/app/web site:install [email protected] --account-name=azadmin --account-pass=azadmin2024 --db-url=mysql://drupal10:drupal10@database:3306/drupal10 -y --verbose
- /app/vendor/bin/drush --root=/app/web site:install [email protected] --account-name=azadmin --account-pass=azadmin2025 --db-url=mysql://drupal10:drupal10@database:3306/drupal10 -y --verbose
- /app/vendor/bin/drush --root=/app/web config:set -y az_cas.settings disable_login_form 0
- /app/vendor/bin/drush --root=/app/web cache:rebuild
# Enable theme debugging.
Expand Down
10 changes: 5 additions & 5 deletions .probo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ steps:
subDirectory: az-quickstart-scaffolding/web
runInstall: true
profileName: az_quickstart
installArgs: "--site-name='Quickstart Review' --account-name=azadmin --account-pass=azadmin2024 --verbose --yes -n"
installArgs: "--site-name='Quickstart Review' --account-name=azadmin --account-pass=azadmin2025 --verbose --yes -n"
- name: Post-Installation Steps
plugin: Script
script:
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush -y -n pm:install az_demo
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azcontenteditor --password="azcontenteditor2024" --mail="[email protected]"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azcontenteditor --password="azcontenteditor2025" --mail="[email protected]"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_content_editor azcontenteditor
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azcontentadmin --password="azcontentadmin2024" --mail="[email protected]"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azcontentadmin --password="azcontentadmin2025" --mail="[email protected]"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_content_editor azcontentadmin
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_content_admin azcontentadmin
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azuseradmin --password="azuseradmin2024" --mail="[email protected]"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azuseradmin --password="azuseradmin2025" --mail="[email protected]"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_content_editor azuseradmin
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_content_admin azuseradmin
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_user_admin azuseradmin
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azhtmladmin --password="azhtmladmin2024" --mail="[email protected]"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azhtmladmin --password="azhtmladmin2025" --mail="[email protected]"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_content_editor azhtmladmin
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_content_admin azhtmladmin
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_html_admin azhtmladmin
Expand Down

0 comments on commit 3064a14

Please sign in to comment.