diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ebd77da288f2cd351313643071f609f589c3252..1f74bfc968afbec179b0a1fc6d2ef9e0f0b0837e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,17 +16,19 @@ docs_lint: rules: - if: '$CI_COMMIT_TAG' when: never + - if: $CI_PIPELINE_SOURCE == "push" script: - dnf install -y python-pip - python3 -m pip install linkcheckmd - python3 -m linkcheckmd -v README.md - - python3 -m linkcheckmd -v docs/* + - python3 -m linkcheckmd -v docs yaml_lint: stage: lint rules: - if: '$CI_COMMIT_TAG' when: never + - if: $CI_PIPELINE_SOURCE == "push" script: - dnf install -y epel-release - dnf install -y yamllint diff --git a/.yamllint b/.yamllint index 0fe8361fb471006d24f9a7fe1af03b514c734e22..2c675e0a1a8d15c367a23c2dbe94c835a75f304d 100644 --- a/.yamllint +++ b/.yamllint @@ -4,3 +4,4 @@ rules: spaces: 2 ignore: - templates/* + - charts/crds/crds/* diff --git a/Chart.yaml b/Chart.yaml index a557304f4c2c7631ea47096b42e7dbdf5af21b07..c51e87c51931c545bc48bf4bafd571336a51e94e 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -6,6 +6,6 @@ kubeVersion: ">=1.27.0-0" description: Helm Chart provided by IT Monitoring Service to install and configure required components to gather and send monitoring data from kubernetes clusters to central service. home: https://cern.ch/monitoring dependencies: -- name: crds - version: "0.0.0" - condition: crds.enabled + - name: crds + version: "0.0.0" + condition: crds.enabled