prowcopy

package
v0.0.0-...-cb3e504 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main() error

Main is the main function for prowcopy.

prowcopy allows to create Prow configuration in openshift/release starting from the configuration of another branch. For example, if you have configuration for CI of the main branch, and then you cut a new branch, the main branch configuration can be used to define CI of the new branch.

Types

type Config

type Config struct {
	Org            string
	Repo           string
	FromBranch     string
	Branch         string
	Tag            string
	RemovePeriodic bool
	Remote         string
	Config         string
}

type JobConfigCopiedInjectors

type JobConfigCopiedInjectors []prowgen.JobConfigInjector

JobConfigCopiedInjectors are configured from the base branch. They're applied to generated Prow jobs for the target branch.

func (JobConfigCopiedInjectors) Inject

func (jcis JobConfigCopiedInjectors) Inject(prowcopyCfg *Config, prowgenCfg *prowgen.Config, openShiftRelease prowgen.Repository) error

Jump to

Keyboard shortcuts

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