From Fedora Project Wiki

(Beginnings of a Staging SOP)
 
m (Corrected link to staging.rst)
 
(8 intermediate revisions by 6 users not shown)
Line 2: Line 2:
{{shortcut|ISOP:STAGING}}
{{shortcut|ISOP:STAGING}}


We have the ability to create a staging environment in Infrastructure. This attempts to duplicate a small section of our infrastructure for testing purposes. If there's a large scale change that you need to perform, it's a good idea to push the changes to the staging environment first and check that everything works properly and that you have puppetized all the necessary changes before pushing the changes live.
{{admon/important|This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: [https://infrastructure.fedoraproject.org/infra/docs/docs/sysadmin-guide/sops/staging.rst Staging]


For changes, questions or comments, please contact anyone in the Fedora Infrastructure team. }}


== Contact Information ==
Owner: Fedora Infrastructure Team
Contact: #fedora-admin
Persons: mmcgrath
Location: Phoenix
Servers: (proxy1.stg, db1.stg, app1.stg, app2.stg fas1.stg)
Purpose: Staging environment to test changes to apps.
== Using ==
{{admon/note| When you're on a stg server, you won't have much access to non-stg servers.  For example, if you're on proxy1.stg and you ping app1... there's a hosts entry to direct it to app1.stg so it should behave exactly as production does.}}
== Puppet ==
Staging servers are managed through puppet so that you can test config changes in puppet before pushing live.  You need to use a different branch to push to the staging servers.  Basic steps:
<pre>
git clone /git/puppet/
git branch staging
git pull /git/puppet staging
git checkout staging
# make changes, git commits
git push /git/puppet staging
</pre>
== Troubleshooting and Resolution ==


[[Category:Infrastructure SOPs]]
[[Category:Infrastructure SOPs]]

Latest revision as of 11:00, 5 October 2020

Shortcut:
ISOP:STAGING
Important.png
This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: Staging For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.