branch

package
v0.0.0-...-ccc1c90 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Branch

func Branch(manifest model.Manifest, step int, dryrun bool, token string) error

Branch will run a specific automation step. Each step may include multiple items which can be done before another item has a dependency on an intem in the given step. This function assumes the working directory has been setup and sources resolved.

func CreateBranches

func CreateBranches(manifest model.Manifest, release string, dryrun bool) error

CreateBranches goes to each repo and creates the branches

func CreateToolImages

func CreateToolImages(manifest model.Manifest, release string, dryrun bool) error

CreateToolsImage update the BRANCH for the docker image name. In the postsubmit, new images will be created.

func GetBranchCommand

func GetBranchCommand() *cobra.Command

func IstioReleaseBuilderUpdates

func IstioReleaseBuilderUpdates(manifest model.Manifest, release string, dryrun bool) error

IstioReleaseBuilderUpdates updates master to use next release base image, and build dev images based on next release.

func SetupProw

func SetupProw(manifest model.Manifest, release string, dryrun bool) error

SetupProw goes to the test-infra repo and runs the commands to generate the config files for the new release.

func StopPublishingLatest

func StopPublishingLatest(manifest model.Manifest, release string, dryrun bool) error

StopPublishingLatest stops prow from publishing the `latest` artifacts, leaving only the release-dev artifacts.

func UpdateCodeOwners

func UpdateCodeOwners(manifest model.Manifest, release string, dryrun bool) error

UpdateCodeOwners goes to each repo and updates CODEOWNERS to just be the release managers.

func UpdateCommonFiles

func UpdateCommonFiles(manifest model.Manifest, release string, dryrun bool) error

UpdateCommonFiles goes to each repo and runs the command to update the common files. A prereq for this is that the common-files release branch has been updated with a new UPDATE_BRANCH and image in it's files.

func UpdateCommonFilesCommon

func UpdateCommonFilesCommon(manifest model.Manifest, release string, dryrun bool) error

UpdateCommonFilesCommon update the common-files repo for the new release. It will search for the latest build-tools image, and place it in IMAGE_VERSION as well as update the UPDATE_BRANCH. A prereq for this is that the common-files release branch has been updated with a new UPDATE_BRANCH and image in it's files.

func UpdateDependencies

func UpdateDependencies(manifest model.Manifest, dryrun bool) error

UpdateDependencies runs commands in the istio/istio repo: ./bin/update_deps.sh and make gen.

Types

This section is empty.

Jump to

Keyboard shortcuts

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