项目作者: p1nkun1c0rns

项目描述 :
GitHub action to run prometheus operator lint
高级语言: Shell
项目地址: git://github.com/p1nkun1c0rns/prometheus-operator-lint-action.git
创建时间: 2020-04-14T13:23:53Z
项目社区:https://github.com/p1nkun1c0rns/prometheus-operator-lint-action

开源协议:MIT License

下载


prometheus-operator-lint-action

Test

This action …

Contributions

  • Contributions are welcome!
  • Give :star: - if you want to encourage me to work on a project
  • Don’t hesitate create issue for new feature you dream of or if you suspect some bug

Project versioning

Project use Semantic Versioning.
We recommended to use the latest and specific release version.

In order to keep your project dependencies up to date you can watch this repository (Releases only)
or use automatic tools like Dependabot.

Usage

See action.yml

One Path

  1. steps:
  2. - uses: docker://p1nkun1c0rns/prometheus-operator-lint-action:v2.0.3
  3. env:
  4. INPUT_PATH: "./"
  5. INPUT_FILES: ".yaml"
  6. INPUT_EXCLUDE: "skip"

Multiple Paths

  1. steps:
  2. - uses: docker://p1nkun1c0rns/prometheus-operator-lint-action:v2.0.3
  3. env:
  4. INPUT_PATH: "./DEV/monitoring,./TEST/monitoring,./PROD/monitoring"
  5. INPUT_FILES: "*.yaml"
  6. INPUT_EXCLUDE: "foobar"

Testing

For testing the bats testing framework is used.

  1. git clone https://github.com/p1nkun1c0rns/prometheus-operator-lint-action.git
  2. ./tests/run.bats

License

The scripts and documentation in this project are released under the MIT License

Release

  • create new branch
  • make your changes, if needed
  • commit your changes like
    • Patch Release: fix(script): validate input file to prevent empty files
    • Minor Release: feat(dockerimage): add open for multiple input files
    • Major Release look her