Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Halt updater if GHE in maintenance #197

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Halt updater if GHE in maintenance #197

wants to merge 2 commits into from

Conversation

lbonanomi
Copy link

Per #195 (comment), this is an effort to halt update-stats.py in the face of a GHE instance in maintenance mode using the vendor CLI tools.

Please note the strange looking construction ghe-maintenance --query | cat. ghe-maintenance returns 0 only for instances in maintenance mode, so to re-use the executeCommand function a pipe to cat is added to ensure a successful run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant