pipecleaner

command module
v0.0.0-...-38a3c05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 15 Imported by: 0

README

Pipecleaner

Pipecleaner is a go command line utility for validating Concourse pipelines.

Installation

go get -u github.com/alphagov/paas-cf/tools/pipecleaner

Usage

# Validate a single pipeline
pipecleaner concourse/pipelines/pipeline1.yml

# Validate many pipelines
pipecleaner concourse/pipelines/*.yml concourse/other-pipelines/*.yml

# Validate tasks
pipecleaner concourse/tasks/*.yml

# Validate pipelines and tasks
pipecleaner concourse/pipelines/*.yml concourse/tasks/*.yml

Features

  1. Uses Concourse's native validation
  2. Runs Shellcheck
    • works inside sh/bash/dash/ash code blocks
    • disable with --shellcheck=false
  3. Runs Rubocop
    • works inside ruby code blocks
    • disable with --rubocop=false
  4. Checks if secrets are interpolated
    • disable with --secrets=false
  5. Checks if all resources are used
    • disable with --all-resources-used=false

For full usage, see --help

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL