Skip to content

Bash scripts to validate hotpatching of GitHub Enterprise Server

Notifications You must be signed in to change notification settings

maclarel/ghes-hotpatch-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ghes-hotpatch-validator

Bash scripts to validate hotpatching of GitHub Enterprise Server post-installation. This will not work for full feature release upgrades (e.g. 2.19.14 to 2.20.10) as it first confirms the status of the upgrade based on the hotpatch.log file which should be present on all nodes.

Note: This repository is no longer actively maintained and this tool has not been tested with releases of GitHub Enterprise Server newer than 3.0.4

Usage

Copy these scripts to any server in your GitHub Enterprise Server environment, and run the appropriate script, e.g.:

ghe-cluster-check-hotpatch <version>

Or for a standalone installation, run the following command:

ghe-check-hotpatch <version>

Examples

This will validate a full cluster/HA hotpatch to 2.17.15 $ ghe-cluster-check-hotpatch 2.17.15

This will validate a standalone server hotpatch to 2.19.18 $ ghe-check-hotpatch 2.19.18

Notes

  • For GitHub Enterprise Server 2.x this is primarily focused on validation of the GitHub centric processes ("Unicorns") which handle all API activity and user request processing.
    • When run on GitHub Enterprise Server 3.x it will verify all running containerized services.
  • This is provided as-is, and should be used in combination with other sanity checks implemented for your deployment.

About

Bash scripts to validate hotpatching of GitHub Enterprise Server

Resources

Stars

Watchers

Forks

Languages