This repository has been archived by the owner on Jun 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
dzadza edited this page Mar 31, 2020
·
6 revisions
- (optional) `git clone [email protected]:Pronovix/YOURPROJECT.git
cd YOURPROJECT
git checkout master
git pull origin master
- Inside the php container run the following commands:
composer install
drush cr
drush updb
drush cim
drush cr
- Repeat step d. and e. until 'There are no changes to import.'
git checkout -b issue/1234
- Make changes
- Inside the php container run the following commands:
-
drush cex
(export the configs you changed, if any)
-
git add .
git commit -m "Do stuff"
git push origin issue/1234
- Create PR
- Wait for build to finish, fix problems if any
- Ping mentor in Slack to review changes
- Wait for review (ping mentor again if no response given in reasonable time), do fixes if requested (~ repeat from step 6)
- When the build doesn't fail and a mentor approved the PR, merge
- Visit staging site, test changes (check the redmine wiki for access info)
- If something's wrong, go back to step 6
git checkout issue/1234
- When you are in the middle of a task and the master branch has changes before pulling the latest changes always commit your work first, DON'T FORGET to export your configs (
drush cex
) and commit them as well , and then you can pull master (git pull origin master
) git pull origin master
- Inside the php container run the following commands:
composer install
drush cr
drush updb
drush cim
drush cr
- Repeat step iv. and v. Until 'There are no changes to import.'
- Continue with steps from step 7 in New Task
- After the master branch reached a release ready state and you are ready to create a new release, navigate to the github project.
- Click the release tab
- Click Draft new release
- With the help of semantic versioning determine the nature of the release and increment the version number accordingly
- Title should be Release N where N is the number of the current release.
- Description should contain a list of features/fixes/tasks done in the release
- When ready, click Publish release
- Check prod site if everything went correctly (check the redmine wiki for access info)