|
|
(34 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
| {{header|websites}} | | {{header|websites}} |
| | This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/fedorawebsites.rst |
|
| |
|
| == Preparing the website for a release ==
| | For changes, questions or comments, please contact anyone in the Fedora Infrastructure team. |
|
| |
|
| === Update gpg key ===
| |
|
| |
|
| As the release approaches, watch the <code>fedora-release</code> package for a
| |
| new key to be added. Use the <code>update-gpg-keys</code> script in the
| |
| fedora-web git repository to add it to <code>static/</code>. Manually add it
| |
| to <code>/keys</code> and <code>/verify</code>.
| |
|
| |
| === Branch master for stable release in fedora-web git repository ===
| |
|
| |
| {{admon/note | Perhaps this should be done right after release?}}
| |
|
| |
| <pre>git branch f12 master && git push origin f12</pre>
| |
|
| |
| === Freeze website ===
| |
|
| |
| Edit the branch to checkout in
| |
| <code>modules/fedora-web/files/syncStatic.sh</code> on <code>puppet1</code>.
| |
|
| |
| === Prepare puppet commits ===
| |
|
| |
| Prior to release day, prepare puppet commits to move the fedora-web branch to
| |
| the release (alpha, beta, final, whatever) and, edit
| |
| <code>redirects.conf</code> (in <code>modules/fedora-web/files</code> on
| |
| <code>puppet1</code>) to do the right thing with <code>/get-prerelease</code>
| |
| requests.
| |
|
| |
| === Fire in the hole ===
| |
|
| |
| On release day, wait for rel-eng to say go, then push the puppet changes
| |
| (e.g.: <code>cd ~/puppet && git push</code>). Then, on <code>puppet1</code>
| |
| run:
| |
|
| |
| <pre>
| |
| sudo /usr/local/bin/syncPuppetMaster.sh
| |
| sudo /usr/local/bin/syncStatic
| |
|
| |
| # Ensure you have the puppet repo checked out to ~/puppet and up to date
| |
| cd ~/puppet && make HOSTS="proxy1 proxy2 proxy3 proxy4 proxy5" push
| |
|
| |
| sudo func proxy\* call command run "/usr/local/bin/syncFiles.sh fedoraproject.org /srv/web/fedoraproject.org/"
| |
| </pre>
| |
|
| |
| to push the updated website live.
| |
|
| |
| [[Category:Websites]]
| |
| [[Category:Infrastructure SOPs]] | | [[Category:Infrastructure SOPs]] |