Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linting for pipeline files #48

Open
ptitzler opened this issue Jun 24, 2021 · 1 comment
Open

Add linting for pipeline files #48

ptitzler opened this issue Jun 24, 2021 · 1 comment
Assignees

Comments

@ptitzler
Copy link
Member

  • Add a make task that lints .pipeline files to enforce best practices.
  • Add new task as a dependency for existing lint task
@ptitzler ptitzler self-assigned this Jun 24, 2021
@ptitzler
Copy link
Member Author

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?'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant