@ -262,6 +262,22 @@ Assemble.Website.Prepare:
|
||||
rm -Rf "$CI_PROJECT_DIR/artifacts/build/Documentation.Build";
|
||||
fi
|
||||
|
||||
# Project: ITIL Runbooks
|
||||
- echo "[DEBUG] fetch Ansible kubernetes project docs"
|
||||
- 'HTTP_STATUS_FILE=$(curl --location -o /dev/null --silent --head --write-out "%{http_code}" --header "PRIVATE-TOKEN: ${GIT_COMMIT_TOKEN}" "https://gitlab.com/api/v4/projects/54680811/jobs/artifacts/development/download?job=Documentation%2EBuild")'
|
||||
- echo "[DEBUG] HTTP_STATUS_FILE=$HTTP_STATUS_FILE"
|
||||
- |
|
||||
if [ "0$HTTP_STATUS_FILE" != "0200" ]; then
|
||||
echo "[ERROR] Unable to fetch Job Artifacts due to HTTP status of $HTTP_STATUS_FILE";
|
||||
# exit 1;
|
||||
else
|
||||
curl --location --output nfc_kubernetes.zip --header "PRIVATE-TOKEN: ${GIT_COMMIT_TOKEN}" "https://gitlab.com/api/v4/projects/54680811/jobs/artifacts/development/download?job=Documentation%2EBuild";
|
||||
unzip nfc_kubernetes.zip;
|
||||
rm -Rf "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/$CI_JOB_NAME/build/projects/itil/runbooks";
|
||||
cp -rvf "$CI_PROJECT_DIR/artifacts/build/Documentation.Build/build/projects/itil/runbooks" "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/$CI_JOB_NAME/build/projects/itil/runbooks/";
|
||||
rm -Rf "$CI_PROJECT_DIR/artifacts/build/Documentation.Build";
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -81,6 +81,12 @@ nav:
|
||||
|
||||
- Docker GLPI: projects/glpi/index.md
|
||||
|
||||
- ITIL:
|
||||
|
||||
- Runbooks:
|
||||
|
||||
- projects/itil/runbooks/index.md
|
||||
|
||||
- Kubernetes Monitoring: projects/kubernetes_monitoring/index.md
|
||||
|
||||
- LDAP Self Service: projects/ldap_self_service/index.md
|
||||
|
5
pages/projects/itil/runbooks/index.md
Normal file
5
pages/projects/itil/runbooks/index.md
Normal file
@ -0,0 +1,5 @@
|
||||
# ITIL Runbooks
|
||||
|
||||
| :red_circle: This page is a placeholder for the python-gitlab-management repo's docs. |
|
||||
|:---|
|
||||
| _If you can see this page there has been an error, please report the issue on gitlab_ |
|
Reference in New Issue
Block a user