Unverified Commit ed047691 authored by Ronny Moreas's avatar Ronny Moreas
Browse files

fix: resolve helmfile lint job not running when enabled

parent 945687a1
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -574,17 +574,18 @@ stages:
# ==================================================
# Stage: check
# ==================================================
# lint-job is used to check the syntax of the Helm Chart for best practices.
# lint-job is used to check the syntax across all of the charts/releases
# in the helmfile manifest.
helmfile-lint:
  extends: .helmfile-base
  stage: package-test
  stage: test
  script:
    - helmfile ${TRACE+--debug} -f ${HELMFILE_PATH} $HELMFILE_LINT_ARGS
  rules:
    - if: '$HELMFILE_LINT_ENABLED != "true"'
      when: never
    - exists:
        - "${HELMFILE_PATH}"
    # then use common test jobs policy
    - !reference [.test-policy, rules]

# Deploy job prototype
# Can be extended to define a concrete environment