This is a brief overview of my manual Pantheon Project located at https://github.com/fourkitchens/readmes/tree/master/pantheon/d7/manual
Build Tool | None |
Local Environment | Kalabox |
Deployment Method | Manual push to Pantheon |
PHP | 7.0 |
Core Distribution | Drupal 7 |
Testing Enforced | None |
- Drupal 7 vanilla
- Features
- Pantheon access to this site's Dashboard
- Retrive from Pantheon Live backup
Nothing to do here.
- Use Kalabox to download and create a local environment.
cd ~/Kalabox/SITE_NAME/code
- Add the github repository as a remote using
git remote add fourkitchens GIT_REPO
npm install
- Use Kalabox to pull live database.
kbox drush cc all
Checkout the new code and rerun steps 4-6 for local development as needed.
-
master
The master branch is for code ready to be released to the live environment. Pantheon enforces us to traverse from dev to live so essentially, dev environment is UAT and Live is live and test is effectively a dead zone since it is not individually addressable. We want to preserve the ability to "hot patch" live so we are not using dev as a gitflow "develop" as a result of the pantheon workflow. -
feature
Feature branches should branch from and merge back into the sprint branch. They contain code that is currently in development. When a story/feature is complete, a pull request should be created merging the feature branch into the sprint branch.
Use features as necessary to push configuration to the website.
- Merge develop into master.
- Push master to Pantheon.
terminus dashboard PANTHEON_SITE.test
- Enter the tickets you are deploying into the deployment notes and click Deploy
- Click the "Live" tab.
- Repeat step 4.
- run the following commands as needed:
terminus drush PANTHEON_SITE.live -- updb -y
terminus drush PANTHEON_SITE.live -- cc all -y
terminus drush PANTHEON_SITE.live -- fra -y
terminus drush PANTHEON_SITE.live -- cc all -y
All testing is currently done manually and via the code review process.
There are currently no known issues for this site.