diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d88ae2c..1844646 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,6 +64,22 @@ Assemble.Website.Prepare: rm -Rf "$CI_PROJECT_DIR/artifacts/build/Documentation.Build"; fi +# Project: Ansible collection phpIPAM Scan Agent + - echo "[DEBUG] fetch operations 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/55052132/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 operations-artifacts.zip --header "PRIVATE-TOKEN: ${GIT_COMMIT_TOKEN}" "https://gitlab.com/api/v4/projects/55052132/jobs/artifacts/development/download?job=Documentation%2EBuild"; + unzip operations-artifacts.zip; + rm -Rf "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/$CI_JOB_NAME/build/projects/ansible/collections/phpipam_scan_agent"; + cp -rvf "$CI_PROJECT_DIR/artifacts/build/Documentation.Build/build/projects/ansible/collections/phpipam_scan_agent" "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/$CI_JOB_NAME/build/"; + rm -Rf "$CI_PROJECT_DIR/artifacts/build/Documentation.Build"; + fi + # Project: Gitlab-CI - echo "[DEBUG] fetch gitlab-ci 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/28543717/jobs/artifacts/development/download?job=Documentation%2EBuild")' diff --git a/mkdocs.yml b/mkdocs.yml index 6bb01bc..914006f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -37,6 +37,14 @@ nav: - projects/ansible/execution_environment/index.md + - Collections: + + - projects/ansible/collection/index.md + + - phpIPAM Scan Agent: + + - projects/ansible/collection/phpipam_scan_agent/index.md + - Playbooks: - projects/ansible/playbooks/index.md @@ -73,14 +81,20 @@ nav: - projects/docker/index.md - - BIND DNS Server: projects/docker/bind/index.md + - BIND DNS Server: + + - projects/docker/bind/index.md - - Docker Mail: projects/docker-mail/index.md + - Docker GLPI: + + - projects/glpi/index.md + + - Docker Mail: + + - projects/docker-mail/index.md - Gitlab CI: projects/gitlab-ci/index.md - - Docker GLPI: projects/glpi/index.md - - ITIL: - Runbooks: diff --git a/pages/projects/ansible/collection/index.md b/pages/projects/ansible/collection/index.md new file mode 100644 index 0000000..74c4356 --- /dev/null +++ b/pages/projects/ansible/collection/index.md @@ -0,0 +1,9 @@ +--- +title: Ansible Collections +description: No Fuss Computings Ansible Collections +date: 2024-02-21 +template: project.html +about: https://gitlab.com/nofusscomputing/projects/ansible +--- + +This section of the website contains Ansible Collection projects and the details of how to use said projects. diff --git a/pages/projects/ansible/collection/phpipam_scan_agent/index.md b/pages/projects/ansible/collection/phpipam_scan_agent/index.md new file mode 100644 index 0000000..e69de29