Repository navigation
PHP 7 Issue Template
Josef Komenda edited this page Nov 30, 2018
·
6 revisions
- Branch from develop/master.
php7is good. Create corresponding multidev. - Install latest version of the site locally with PHP 5.6
- Run cron, clear logs, review site. Check for errors and warnings and note in task.
- Update core to Pantheon 7.61 PHP 7.2 compat release via
drupal-org-core.make. - Upgrade local to PHP 7.2.
- Rebuild site locally, run cron, clear logs, review site. Look for new errors/warnings.
- Review the TS Recipes PHP7 doc and patch, update, and apply security related updates. Update the source doc as needed.
- Note the results of the above work in this task using this format.
- Review the PHP7 Update spreadsheet for any issues and update accordingly.
- Rebuild site locally, run cron, clear logs, review site. Look for new errors/warnings.
- Repeat until there are no further errors/warnings, all automated test notices are fixed/explained/noted, and the site is ready for client review and deployment.
- Clone the Pantheon multidev repo locally, update
pantheon.ymlin root to PHP7.2, push, verify. - Deploy git code from to multidev on Pantheon.
- Log into multidev, run
drush @pantheon.MYSITE.php7 updbto apply updates. - Verify that the Pantheon multidev PHP version is 7.2 (reload page).
- Run cron, clear logs, review site. Check for errors and warnings.
- Merge PHP7 branch into master.
- Update core (upstream updates) on Pantheon dev if pending.
- Clone the Pantheon repo locally, update
pantheon.ymlin root to PHP7.2, push, verify. - Deploy git code from master to dev on Pantheon.
- Log into dev with
drush uli. - Run
drush @pantheon.MYSITE.dev updbto apply updates. - Verify that the Pantheon dev PHP version is 7.2.
- Run cron, clear logs, review site. Check for errors and warnings.
- Refresh test using live db and files.
- Deploy dev code to test. Do NOT check the 'Run update.php?' flag.
- Log into test with
drush uli. - Run
drush @pantheon.MYSITE.test updb --strict=0to apply updates on test. - Go to reports and run cron, clear logs, and then ensure that everything looks correct.
- Turn over to client for content/site inspection.
- Ensure client has a 'No updates' window. If they have edge-caching, extend to 30 minutes.
- Run backups on live at the beginning of the no-updates window.
- Refresh test db from live and run
drush @pantheon.MYSITE.test updbto apply updates. - Deploy to live. Do NOT check the 'Run update.php?' flag.
- Run
drush @pantheon.MYSITE.live updb --strict=0to apply updates. - Go to reports and run cron, clear logs, and then ensure that everything looks correct.
- Restore cache settings.