diff --git a/.gitlab/gen-badge.sh b/.gitlab/gen-badge.sh index 154b22d62d36406440bea8196cdcd6a8dfcfd615..e5bb8159159e1b77de3e5b1a8aa69532152a391b 100644 --- a/.gitlab/gen-badge.sh +++ b/.gitlab/gen-badge.sh @@ -1,14 +1,15 @@ #!/bin/bash -GITLAB_URL="https://gitlab.phaidra.org" -# if we reached this script, all the tests have passed anybadge --label pipeline --value "passed" failed=red passed=green canceled=darkgray > "./final/${DOC_VERSION}/images/pipeline.svg" -PIPELINE_COVERAGE=$(curl -fsSL -H "PRIVATE-TOKEN: ${CI_TOKEN}" "${GITLAB_URL}/api/v4/projects/450/pipelines/latest?ref=${CI_COMMIT_BRANCH}" | jq --raw-output .coverage) +PIPELINE_COVERAGE=$(curl -fsSL -H "PRIVATE-TOKEN: ${CI_TOKEN}" "${GITLAB_URL}/api/v4/projects/${GITLAB_PROJECT_ID}/pipelines/latest?ref=${CI_COMMIT_BRANCH}" | jq --raw-output .coverage) + echo "[INFO] pipeline coverage: ${PIPELINE_COVERAGE}" if [ "${PIPELINE_COVERAGE}" != "null" ]; then anybadge --label coverage --value "${PIPELINE_COVERAGE}" coverage > "./final/${DOC_VERSION}/images/coverage.svg" else echo "[WARNING] Skipping badge generation, displaying default badge text: unknown" fi -curl "${SONARQUBE_URL}/api/project_badges/measure?project=fair-data-austria-db-repository_fda-services_a57fa043-ab99-4cdd-a721-162d9a916d77&metric=sqale_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/maintainability.svg" -curl "${SONARQUBE_URL}/api/project_badges/measure?project=fair-data-austria-db-repository_fda-services_a57fa043-ab99-4cdd-a721-162d9a916d77&metric=security_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/security.svg" -echo "[INFO] retrieved SonarQube badges" \ No newline at end of file + +curl -fsSL "${CI_SONAR_URL}/api/project_badges/measure?project=${CI_SONAR_PROJECT_KEY}&metric=sqale_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/maintainability.svg" +curl -fsSL "${CI_SONAR_URL}/api/project_badges/measure?project=${CI_SONAR_PROJECT_KEY}&metric=security_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/security.svg" + +echo "[INFO] retrieved badges" \ No newline at end of file diff --git a/helm/dbrepo/charts/seaweedfs-1.0.2.tgz b/helm/dbrepo/charts/seaweedfs-1.0.2.tgz index 0ac203f4e83ff558bfd0435d39e643a51b8ad38d..a759f73568fad5d8deb0c2d24513980572462157 100644 Binary files a/helm/dbrepo/charts/seaweedfs-1.0.2.tgz and b/helm/dbrepo/charts/seaweedfs-1.0.2.tgz differ diff --git a/helm/seaweedfs/Chart.lock b/helm/seaweedfs/Chart.lock index 186cdaa03595b1b7e8ff18a3768f8f8826aad6ec..11f58d788e2634aa26e8f6e628459b49a4e8bc06 100644 --- a/helm/seaweedfs/Chart.lock +++ b/helm/seaweedfs/Chart.lock @@ -4,6 +4,6 @@ dependencies: version: 19.1.2 - name: common repository: oci://registry-1.docker.io/bitnamicharts - version: 2.27.2 -digest: sha256:31ff69e1352ee168304708757800eb5a0af6185f01d4214ced74eeb0bfeb19ef -generated: "2024-12-01T21:27:01.359665638+01:00" + version: 2.28.0 +digest: sha256:cb5ef9761fc335713b8908c3e264dfdda602839b400ede4ce6d648348dd9343c +generated: "2024-12-16T08:33:35.849012355-05:00" diff --git a/helm/seaweedfs/charts/common-2.27.2.tgz b/helm/seaweedfs/charts/common-2.27.2.tgz deleted file mode 100644 index 02315af1a835b00cb01ae6917ab528a881eb5d9c..0000000000000000000000000000000000000000 Binary files a/helm/seaweedfs/charts/common-2.27.2.tgz and /dev/null differ diff --git a/helm/seaweedfs/charts/common-2.28.0.tgz b/helm/seaweedfs/charts/common-2.28.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..21c0e76d36a29f77c0b874d747424dfa653b4971 Binary files /dev/null and b/helm/seaweedfs/charts/common-2.28.0.tgz differ