cuelang.org/go@v0.13.0/internal/ci/repo/repo.cue (about)

     1  // package repo contains data values that are common to all CUE configurations
     2  // in this repo. The list of configurations includes GitHub workflows, but also
     3  // things like gerrit configuration etc.
     4  package repo
     5  
     6  import (
     7  	"cuelang.org/go/internal/ci/base"
     8  )
     9  
    10  base
    11  
    12  earlyChecks: run: "go run ./internal/ci/checks"
    13  
    14  githubRepositoryPath: "cue-lang/cue"
    15  
    16  unityRepositoryPath: "cue-unity/unity-private"
    17  unityRepositoryURL:  "https://github.com/" + unityRepositoryPath
    18  
    19  cuelangRepositoryPath: "cue-lang/cuelang.org"
    20  
    21  defaultBranch:        _
    22  releaseBranchPrefix:  "release-branch."
    23  releaseBranchPattern: releaseBranchPrefix + "*"
    24  protectedBranchPatterns: [defaultBranch, releaseBranchPattern]
    25  
    26  botGitHubUser:      "cueckoo"
    27  botGitHubUserEmail: "cueckoo@gmail.com"
    28  
    29  linuxMachine:   "ubuntu-24.04"
    30  macosMachine:   "macos-14"
    31  windowsMachine: "windows-2022"
    32  
    33  // Use the latest Go version for extra checks,
    34  // such as running tests with the data race detector.
    35  // This may be a release candidate if we are late into a Go release cycle.
    36  latestGo: "1.24.x"
    37  
    38  // The list of all Go versions that we run our tests on.
    39  // This typically goes back one major Go version, as we support two at a time.
    40  matrixGo: ["1.23.x", latestGo]
    41  
    42  // Use a specific latest version for release builds.
    43  // Note that we don't want ".x" for the sake of reproducibility,
    44  // so we instead pin a specific Go release.
    45  pinnedReleaseGo: "1.24.3"
    46  
    47  goreleaserVersion: "v2.8.2"
    48  
    49  // zeroReleaseTagSuffix is the suffix used to identify all "zero" releases.
    50  // When we create a release branch for v0.$X.0, it's likely that commits on the
    51  // default branch will from that point onwards be intended for the $X+1
    52  // version. However, unless we tag the next commit after the release branch, it
    53  // might be the case that pseudo versions of those later commits refer to the
    54  // $X release.
    55  //
    56  // A "zero" tag fixes this when applied to the first commit after a release
    57  // branch. Critically, the -0.dev pre-release suffix is ordered before -alpha.
    58  // tags.
    59  zeroReleaseTagSuffix: "-0.dev"
    60  
    61  // zeroReleaseTagPattern is the GitHub glob pattern that corresponds
    62  // zeroReleaseTagSuffix.
    63  zeroReleaseTagPattern: "*" + zeroReleaseTagSuffix
    64  
    65  codeReview: "cue-unity": unityRepositoryURL
    66  
    67  cueCommand: "go run cuelang.org/go/cmd/cue"