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 | Lando |
Deployment Method | Manual push to Pantheon |
PHP | 7.2 |
Core Distribution | Drupal 7 |
Testing Enforced | None |
- Drupal 7 vanilla
- Features
- Pantheon access to this site's Dashboard
- Retrieve from Pantheon Live backup.
terminus backup:get site.live --element=db --to=db.sql.gz
Nothing to do here.
- Clone the client repo
- Download the database to a subdirectory called
reference
and save it asdb.sql.gz
lando start
lando db-import reference/db.sql.gz
or whatever the db name is- Use the standard
refresh
command
- This is run by a different tool on every site and does not import a db.
- It will check for the presence of a local settings file.
- You may need to get development keys off last pass
- Optional environment name argument:
local
,dev
,test
, andprod
- Default is
local
Checkout the new code and rerun steps 4-6 for local development as needed.
-
master
The master branch is for hotfixes and code ready to be released to the live environment. -
develop
The develop branch is for new features and routine bugfixes, new branches should default to using this base 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. -
release-*
Feature branches should branch from and merge back into this default 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. -
abc-123
PRs should have a ticket assicated with them and the branch name should be the ticket number in all lower case.
names
PR names should contain the ticket number in upper case with a dash, the number, and a colon so JIRA links to it appropriately. Example:ABC-123:
prefix
Commits should be prefixed with the ticket number in uppercase with a dash, the number, and a colon so JIRA links to it appropriately. Example:ABC-123:
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.