From bc4e937d27be65718f05100cdd259cb99ebbbc6b Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Mon, 20 Jan 2025 14:24:10 +0100 Subject: [PATCH] WIP Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at> --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06d62d4d80..4d690321f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -78,6 +78,7 @@ lint-helm-chart: stage: lint before_script: - apk --no-cache add helm git bash + - cp ./helm/dbrepo/values.schema.json ./CI_values.schema.json - helm plugin install https://github.com/losisin/helm-values-schema-json.git - helm dependency update ./helm/seaweedfs - helm package ./helm/seaweedfs --destination ./build @@ -86,19 +87,19 @@ lint-helm-chart: - bash .scripts/check-helm.sh - helm lint ./helm/dbrepo - helm schema -input ./helm/dbrepo/values.yaml -output ./helm/dbrepo/values.schema.json - - diff ./values.schema.json ./helm/dbrepo/values.schema.json + - diff ./CI_values.schema.json ./helm/dbrepo/values.schema.json lint-helm-readme: image: docker.io/node:${NODE_VERSION}-alpine${ALPINE_VERSION} stage: lint before_script: - apk --no-cache add alpine-sdk bash git + - cp ./helm/dbrepo/README.md ./CI_README.md - git clone https://github.com/bitnami/readme-generator-for-helm - cd ./readme-generator-for-helm - npm install - npm install -g pkg - pkg . -o readme-generator - - cp ./helm/dbrepo/README.md ./CI_README.md script: - ./readme-generator --readme ./CI_README.md --values ./helm/dbrepo/values.yaml - diff ./CI_README.md ./helm/dbrepo/README.md -- GitLab