examples icon indicating copy to clipboard operation
examples copied to clipboard

Add linting for pipeline files

Open ptitzler opened this issue 4 years ago • 1 comments

  • Add a make task that lints .pipeline files to enforce best practices.
  • Add new task as a dependency for existing lint task

ptitzler avatar Jun 24 '21 18:06 ptitzler

To verify that a pipeline comment.pipeline contains a description one could use .jq:

cat comment.pipeline| jq -e '.pipelines[] | select(.id == "primary") | .app_data.properties.description?'

ptitzler avatar Jun 24 '21 18:06 ptitzler