prowjobparser

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

prowjobparser

Overview

The prowjobparser is a helper tool which parses all ProwJobs under the provided path, matches them against the provided label filters, and prints matching ProwJob names to the standard output.

Usage

To use the prowjobparser, navigate to its directory and run it with appropriate parameters. See the example:

go run main.go \
  -c ../../prow/config.yaml \
  -j ../../prow/jobs \
  -i preset-sa-gke-kyma-integration \
  -e preset-sa-kyma-artifacts
CLI parameters

The prowjobsparser accepts the following command line parameters:

Parameter Shorthand Description
configpath -c Path to the Prow config YAML file.
jobpath -j Path to the directory containing YAML files with ProwJobs.
includepreset -i Preset name which must be added to ProwJobs. Accepts multiple-parameter instances.
excludepreset -e Preset name which must not be added to ProwJobs. Accepts multiple-parameter instances.

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