diff --git a/.docs/images/pipeline.svg b/.docs/images/pipeline.svg new file mode 100644 index 0000000000000000000000000000000000000000..17f94998918fcb601111626a5436107abeaaa18f --- /dev/null +++ b/.docs/images/pipeline.svg @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="116" height="20"> + <linearGradient id="b" x2="0" y2="100%"> + <stop offset="0" stop-color="#bbb" stop-opacity=".1"/> + <stop offset="1" stop-opacity=".1"/> + </linearGradient> + <mask id="anybadge_1"> + <rect width="116" height="20" rx="3" fill="#fff"/> + </mask> + <g mask="url(#anybadge_1)"> + <path fill="#555" d="M0 0h57v20H0z"/> + <path fill="#A9A9A9" d="M57 0h59v20H57z"/> + <path fill="url(#b)" d="M0 0h116v20H0z"/> + </g> + <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> + <text x="29.5" y="15" fill="#010101" fill-opacity=".3">pipeline</text> + <text x="28.5" y="14">pipeline</text> + </g> + <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> + <text x="87.5" y="15" fill="#010101" fill-opacity=".3">unknown</text> + <text x="86.5" y="14">unknown</text> + </g> +</svg> + diff --git a/.docs/index.md b/.docs/index.md index 9743a1a0a4886e27d223b13102c4f65562344546..ab2e9369eb02370094b7eca081583073f2d254ae 100644 --- a/.docs/index.md +++ b/.docs/index.md @@ -2,7 +2,7 @@ author: Martin Weise --- -[](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services){ tabindex=-1 } +[](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services){ tabindex=-1 } [](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services){ tabindex=-1 } [](https://hub.docker.com/u/dbrepo){ tabindex=-1 } [](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services){ tabindex=-1 } diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cea36d850dcb8c0236166147e802cf369e89e15..070e7d016d1018b4bd9705ae1e5d0ef7520f9bbf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -441,7 +441,7 @@ release-docs: - "cp .docs/.swagger/custom.css ./final/${APP_VERSION}/rest/custom.css" # swagger - "cp -r ./site/* ./final/${APP_VERSION}" # mkdocs - "cp .docker/dist.tar.gz ./final/${APP_VERSION}/dist.tar.gz" # dist - - "anybadge --label pipeline --value $(curl -fsSL -H 'PRIVATE-TOKEN: ${CI_TOKEN}' 'https://gitlab.phaidra.org/api/v4/projects/450/pipelines?ref=${CI_COMMIT_BRANCH}' | jq '[.[]|select(.)][0].status') --file '/tmp/pipeline.svg' failed=red success=green" + - "anybadge --label pipeline --value $(curl -fsSL -H 'PRIVATE-TOKEN: ${CI_TOKEN}' 'https://gitlab.phaidra.org/api/v4/projects/450/pipelines?ref=${CI_COMMIT_BRANCH}' | jq '[.[]|select(.)][0].status') failed=red success=green > /tmp/pipeline.svg" - "cp /tmp/pipeline.svg ./final/${APP_VERSION}/images/pipeline.svg" # badges - eval $(ssh-agent -s) - "mkdir -p /root/.ssh"