Skip to content

Allow bootstrap to use default remote branch #20672

Description

@spiffxp

I'm on the fence about whether we should do this, since we consider bootstrap to be migrated.

Many bootstrap jobs use --repo=org_name/repo_name=master when what they really mean is "use the remote's default branch"

$ ag \\-\\-repo= | grep =master | wc -l
      98

Unfortunately --repo=org_name/repo_name will default to master rather than detecting the default branch

$ ag \\-\\-repo= | grep -v master | grep -v PULL_REFS | grep -v =release | wc -l
     100

We need to either:

/sig testing
/area jobs
/area bootstrap
/sig release
(a lot of the latter case is for k8s.io/release)
/wg naming
since this is in support of kubernetes/org#2222

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/bootstraparea/jobskind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.sig/releaseCategorizes an issue or PR as relevant to SIG Release.sig/testingCategorizes an issue or PR as relevant to SIG Testing.

    Type

    No type

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions