Skip to content
Snippets Groups Projects

Add simple playbook task for upgrading servers

Merged Evangelos Foutras requested to merge upgrade-servers-task into master
All threads resolved!

We want to treat our servers as cattle; hopefully when this is fleshed out a bit more, it can accomplish the job without too many casualties.

Edited by Evangelos Foutras

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • if pacman_upgrade doesn't contain .changed for some reason, then pacman_upgrade.changed will fail, but the pacman_upgrade is changed test will succeed.

  • Evangelos Foutras resolved all threads

    resolved all threads

  • added 1 commit

    • f89fa33b - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • added 1 commit

    • 437f4214 - Update archlinux-keyring before full system upgrade

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 9e858ae6 - Do rolling upgrades in batches of 20%

    Compare with previous version

  • Evangelos Foutras added 26 commits

    added 26 commits

    • 9e858ae6...693bab32 - 21 commits from branch master
    • 09ffb69a - Add simple playbook task for upgrading servers
    • e814de1a - upgrade-servers: Don't reboot if no upgrades occurred
    • 4abb9fa5 - Update archlinux-keyring before full system upgrade
    • 334c85f8 - Drop kernels from IgnorePkg
    • ec188354 - Do rolling upgrades in batches of 20%

    Compare with previous version

  • added 2 commits

    • f24961e7 - Use serial = 1 for servers without rescue shell
    • e0bd15cb - Abort the play if any hosts fail to upgrade

    Compare with previous version

  • added 7 commits

    • f7033ae2 - 1 commit from branch master
    • 0fa3d266 - Add simple playbook task for upgrading servers
    • 4103f4a7 - upgrade-servers: Don't reboot if no upgrades occurred
    • 7c3a6ebd - Update archlinux-keyring before full system upgrade
    • 64986bdd - Do rolling upgrades in batches of 20%
    • 61c9c2bf - Use serial = 1 for servers without rescue shell
    • b97ffac8 - Abort the play if any hosts fail to upgrade

    Compare with previous version

  • Evangelos Foutras added 17 commits

    added 17 commits

    • b97ffac8...9227825b - 10 commits from branch master
    • ad14ad7d - Add simple playbook task for upgrading servers
    • 0bc7a762 - upgrade-servers: Don't reboot if no upgrades occurred
    • 55199ad7 - Update archlinux-keyring before full system upgrade
    • 871f9a20 - Do rolling upgrades in batches of 20%
    • 7605e7ee - Use serial = 1 for servers without rescue shell
    • 19084fe3 - Abort the play if any hosts fail to upgrade
    • 485e26bb - Wait for svntogit before rebooting after upgrade

    Compare with previous version

  • added 1 commit

    • b079dc7c - Skip rebooting if package builds are running

    Compare with previous version

  • added 1 commit

    • 7ad2c4b7 - Skip rebooting if package builds are running

    Compare with previous version

  • added 2 commits

    • 99a2f764 - Skip rebooting if package builds are running
    • 91a5c54d - Do not reboot gemini if there are logged on users

    Compare with previous version

  • added 1 commit

    • e5f7dc4d - Do not reboot gemini if there are logged on users

    Compare with previous version

  • Amin Vakil
  • Evangelos Foutras resolved all threads

    resolved all threads

  • Good concept but needs documentation in the README and a suggestion on how often to run this.

  • added 2 commits

    • 4986190a - Skip rebooting if package builds are running
    • 5ff90378 - Do not reboot gemini if there are logged on users

    Compare with previous version

  • added 1 commit

    • 6d47bf5a - Document semi-automated server updates

    Compare with previous version

  • requested review from @svenstaro

  • Evangelos Foutras marked this merge request as ready

    marked this merge request as ready

  • Probably in a decent enough shape to merge before reiterating further. I have used it twice so far without any noticeable drawbacks.

  • Jelle van der Waa approved this merge request

    approved this merge request

  • Kristian Klausen
  • Sven-Hendrik Haase approved this merge request

    approved this merge request

  • added 1 commit

    • 3a940960 - Document semi-automated server updates

    Compare with previous version

  • Evangelos Foutras resolved all threads

    resolved all threads

  • Sven-Hendrik Haase approved this merge request

    approved this merge request

  • added 1 commit

    • 006cdc04 - Document semi-automated server updates

    Compare with previous version

  • mentioned in commit 5a65b590

  • Please register or sign in to reply
    Loading