Operations grimoire/Git operations in production containers

From Nasqueron Agora

📕📁📜 Old technical information :: content warning

⌛ This Nasqueron Operations Grimoire page hasn't been updated for a long time.

☣ As our infrastructure evolves quickly, there is a good chance this information is outdated or now inaccurate. Be careful and consider update it.

➡️ To assert the information is still up-to-date or not, you can check the history of the relevant role in our Operations repository.

When deployed code diverge than upstream

  1. Create a production branch to store any edited code
  2. Document on the grimoire the need to rebase this production branch against upstream relevant branch (generally master)

Git configuration

If you need to quickly use Git in production, use the following commit references if you use a shared ops account:

$ cat > ~/.gitconfig
[user]
        email = ops-noreply@nasqueron.org
        name = Nasqueron Operations