CIDuty/How To/Update Python dependencies: Difference between revisions
m (Apop moved page ReleaseEngineering/How To/Update Python dependencies to CIDuty/How To//Update Python dependencies: moved to correct section) |
(added info) |
||
Line 11: | Line 11: | ||
# In case of failure rollback | # In case of failure rollback | ||
# Questions and Answers | # Questions and Answers | ||
# Weekly admin task | |||
= Check the puppet repo for patch made by pyup bot = | = Check the puppet repo for patch made by pyup bot = | ||
Line 36: | Line 37: | ||
= Monitoring the update on puppet mail and papertrail = | = Monitoring the update on puppet mail and papertrail = | ||
= Weekly admin task = | |||
Every Monday, the admin who is on duty needs to check the build puppet, for the dependencies . | |||
If there is a "Scheduled weekly dependency update for week X" then he will need to update them following the action list | |||
Revision as of 22:56, 24 July 2018
Introduction
Use this page if you want to update Python dependencies.
The action list is as follows:
- Check the puppet repo for patch made by pyup bot
- Check the dependencies and how they affect the systems
- Check if there are any releases on the go also check with the release team.
- If you have the Ok, start the update
- Monitoring the update on puppet mail and papertrail
- In case of failure rollback
- Questions and Answers
- Weekly admin task
Check the puppet repo for patch made by pyup bot
Go to https://github.com/mozilla-releng/build-puppet and click on Pull requests and look for "Scheduled weekly dependency update for week X" ( where X is the current week )
Check the dependencies and how they affect the systems
If you don't know what it does, you can click on it name and find out also on most of them you can also check the change log. For example : ptyprocess 0.6.0
Check if there are any releases on the go also check with the release team
The update action shouldn't be done during a release. Always ask the release duty team before running the update
Running the update
After checking all the dependencies and there is no release, you can start the update, by merging the pyup update into master
Monitoring the update on puppet mail and papertrail
Weekly admin task
Every Monday, the admin who is on duty needs to check the build puppet, for the dependencies . If there is a "Scheduled weekly dependency update for week X" then he will need to update them following the action list
Questions and Answers
Q : What do we need to do before update ?
A : We need to check all the dependencies that will be updated, to figure out what could be affected in case of any surprises.
Q : How do we do the update ?
A : We need to merge pyup-bot patch to the master.
Q: When it is recommended to run the update ?
A : This should be done, when there are no releases and also it should be wise to ask the release duty team before starting any action.
Q : Where and what do we need to monitor when we triggered the update ?
A : The monitoring should be done the Puppet mail and also on papertrail
Q : How do we rollback in case of problems/errors ?