From d89ce1658bc07d060a42a11dcbd907994b431d70 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Wed, 3 Jul 2024 21:15:53 +0200 Subject: [PATCH] Updated CI/CD --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b78b6fa93..2619f67278 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -179,8 +179,9 @@ lint-helm-chart: - build-metadata-service dependencies: - build-metadata-service - script: + before_script: - apk add helm + script: - helm lint ./helm/dbrepo lint-helm-readme: @@ -193,10 +194,12 @@ lint-helm-readme: - build-metadata-service dependencies: - build-metadata-service - script: + before_script: - apk add helm git - - helm schema -input ./helm/dbrepo/values.yaml -output ./helm/dbrepo/values.schema.json - git clone https://github.com/bitnami/readme-generator-for-helm && npm install ./readme-generator-for-helm + - helm plugin install https://github.com/losisin/helm-values-schema-json.git + script: + - helm schema -input ./helm/dbrepo/values.yaml -output ./helm/dbrepo/values.schema.json - readme-generator-for-helm --readme ./helm/dbrepo/README.md --values ./helm/dbrepo/values.yaml test-metadata-service: -- GitLab