Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Add yaml linting #161

Merged
merged 6 commits into from
Nov 26, 2019
Merged

Add yaml linting #161

merged 6 commits into from
Nov 26, 2019

Commits on Nov 26, 2019

  1. Pull rules_python from git repository

    Python 3 compatibility is yet unreleased, pin commit for now.
    viccuad committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    6d5c161 View commit details
    Browse the repository at this point in the history
  2. Provide //dev/linters:yamllint via python3 wrapper

    Pip3 install yamllint by performing a 2-step process, first declare a pip
    repostory with pip_repositories(), and then install the module and dependencies
    with pip_install(). Pip needs to be executed at WORKSPACE-evaluation time.
    
    Call yamllint by wrapping it on `dev/linters/run_yamllint.py`, using
    py_binary() bazel function.
    viccuad committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    df6ccd2 View commit details
    Browse the repository at this point in the history
  3. Add dev/linters/yamllint.sh

    Use relaxed rules for only errors, don't check ./deploy/helm/kubecf/* as it
    contains helm templates, but check ./deploy/helm/kubecf/values.* .
    viccuad committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    c8e2d67 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e0e172 View commit details
    Browse the repository at this point in the history
  5. Update docs with yamllint

    viccuad committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    3f92af2 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into viccuad/add-yaml-linting

    Thulio Ferraz Assis authored Nov 26, 2019
    Configuration menu
    Copy the full SHA
    0230efb View commit details
    Browse the repository at this point in the history