hubble
hubble copied to clipboard
Skip Hubble updater execution if GHES config/maintenance is running
You have a good point here :slightly_smiling_face:. Is there any way we can detect whether GitHub Enterprise is in maintenance mode?
@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: 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:.