Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CircleCIGenerated ¶ added in v8.6.0
func Deprecated ¶ added in v8.26.0
func HasCustomConfig ¶ added in v8.14.0
Types ¶
type Params ¶
type Params struct {
// Dir is the name of the directory where the files of the resource
// should be generated.
Dir string
// Interval to check for daily, weekly, or monthly updates (default: weekly).
Interval string
Language string
// Reviewers is the list of reviewers to bake into the generated config's
// top-level `reviewers` array (e.g. "team:team-rocket"). Empty omits the
// key entirely.
Reviewers []string
// CircleCIGenerated indicates the repo's .circleci/config.yml is generated
// by `devctl gen circleci`, which bakes in the giantswarm/architect orb
// version. When true, the generated Renovate config disables Renovate's
// architect orb updates so they stop fighting align-files regeneration.
CircleCIGenerated bool
// RepoName is the repository name under the giantswarm organization. It is
// only used to build the `github>giantswarm/<repo>:renovate-custom.json5`
// extends entry when HasCustomConfig is true.
RepoName string
// HasCustomConfig indicates the repo carries an optional repo-owned
// renovate-custom.json5 next to the generated renovate.json5. When true,
// it is appended as the last `extends` entry so repo-specific rules win
// over the shared presets. devctl never generates or touches that file.
HasCustomConfig bool
// Deprecated indicates the repo is marked lifecycle: deprecated. When true,
// the generated config extends the renovate-presets deprecated.json5 preset,
// which disables all routine updates and keeps only security/vulnerability
// remediation.
Deprecated bool
// Extends lists extra presets of giantswarm/renovate-presets by file name
// (e.g. flux.json5). Each is extended as
// `github>giantswarm/renovate-presets:<name>`, after the language and
// generated-CI presets and before the deprecated preset and the repo-owned
// renovate-custom.json5, so both still win over them.
Extends []string
}
Click to show internal directories.
Click to hide internal directories.