hubble icon indicating copy to clipboard operation
hubble copied to clipboard

Skip Hubble updater execution if GHES config/maintenance is running

Open larsxschneider opened this issue 5 years ago • 3 comments

larsxschneider avatar Apr 29 '19 10:04 larsxschneider

You have a good point here :slightly_smiling_face:. Is there any way we can detect whether GitHub Enterprise is in maintenance mode?

pluehne avatar Apr 29 '19 11:04 pluehne

@pluehne: I apologize if this is out of turn, but I can't leave a question unanswered.

https://$HOSTNAME:8443/setup/api/maintenance?api_key=$CONSOLE_PASSWORD will return JSON with current maintenance status.

Best, A Fan

lbonanomi avatar Apr 30 '19 12:04 lbonanomi

@lbonanomi: No need to apologize, you’re providing very useful information! Thanks for letting us know about this API endpoint :+1:. I didn’t know about it yet :slightly_smiling_face:.

pluehne avatar Apr 30 '19 12:04 pluehne