-
Notifications
You must be signed in to change notification settings - Fork 34
/
build-testcase-ghe-manage-v1
executable file
·69 lines (45 loc) · 2.73 KB
/
build-testcase-ghe-manage-v1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
normal=$(tput sgr0)
highlight=$(tput setaf 2)
printf "$highlight"
cat << EOF
________ ____
/_ __/ /_ ___ / __ \____ _ _____ _____
/ / / __ \/ _ \ / /_/ / __ \ | /| / / _ \/ ___/
/ / / / / / __/ / ____/ /_/ / |/ |/ / __/ /
/_/ /_/ /_/\___/ /_/ \____/|__/|__/\___/_/
Test case for GHE Manage V1 API:
https://docs.github.com/en/enterprise-server/rest/enterprise-admin/manage-ghes?apiVersion=2022-11-28
EOF
printf "${normal}"
printf "${highlight} - check-a-license : ${normal}"
./ghe-manage-v1-check-a-license.sh
printf "${highlight} - get-all-ghes-release-versions-for-all-nodes : ${normal}"
./ghe-manage-v1-get-all-ghes-release-versions-for-all-nodes.sh
printf "${highlight} - get-ghes-node-metadata-for-all-nodes : ${normal}"
./ghe-manage-v1-get-ghes-node-metadata-for-all-nodes.sh
printf "${highlight} - get-the-configured-ssh-keys : ${normal}"
./ghe-manage-v1-get-the-configured-ssh-keys.sh
printf "${highlight} - get-the-enterprise-license-information : ${normal}"
./ghe-manage-v1-get-the-enterprise-license-information.sh
printf "${highlight} - get-the-ghes-settings : ${normal}"
./ghe-manage-v1-get-the-ghes-settings.sh
printf "${highlight} - get-the-status-of-a-ghe-config-apply : ${normal}"
./ghe-manage-v1-get-the-status-of-a-ghe-config-apply-run
printf "${highlight} - get-the-status-of-a-ghe-config-apply-run : ${normal}"
./ghe-manage-v1-get-the-status-of-a-ghe-config-apply-run.sh
printf "${highlight} - get-the-status-of-maintenance-mode : ${normal}"
./ghe-manage-v1-get-the-status-of-maintenance-mode.sh
printf "${highlight} - get-the-status-of-services-running-on-all-cluster-nodes: ${normal}"
./ghe-manage-v1-get-the-status-of-services-running-on-all-cluster-nodes.sh
printf "${highlight} - get-the-system-requirement-check-results-for-configured-cluster-nodes : ${normal}"
./ghe-manage-v1-get-the-system-requirement-check-results-for-configured-cluster-nodes.sh
printf "${highlight} -initialize-instance-configuration-with-license-upload : ${normal}"
./ghe-manage-v1-initialize-instance-configuration-with-license-upload.sh
printf "${highlight} - list-events-from-ghe-config-apply : ${normal}"
./ghe-manage-v1-list-events-from-ghe-config-apply.sh
printf "${highlight} - set-the-status-of-maintenance-mode : ${normal}"
./ghe-manage-v1-set-the-status-of-maintenance-mode.sh
printf "${highlight} - trigger-a-ghe-config-apply-run : ${normal}"
./ghe-manage-v1-trigger-a-ghe-config-apply-run.sh
printf "${highlight} - upload-an-enterprise-license : ${normal}"
./ghe-manage-v1-upload-an-enterprise-license.sh