1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
// package repo contains data values that are common to all CUE configurations
// in this repo. The list of configurations includes GitHub workflows, but also
// things like gerrit configuration etc.
package repo
import (
"github.com/cue-lang/tmp/internal/ci/base"
)
base
earlyChecks: run: "go run ./internal/ci/checks"
githubRepositoryPath: "cue-lang/cue"
unityRepositoryPath: "cue-unity/unity-private"
unityRepositoryURL: "https://github.com/" + unityRepositoryPath
cuelangRepositoryPath: "cue-lang/cuelang.org"
defaultBranch: _
releaseBranchPrefix: "release-branch."
releaseBranchPattern: releaseBranchPrefix + "*"
protectedBranchPatterns: [defaultBranch, releaseBranchPattern]
botGitHubUser: "cueckoo"
botGitHubUserEmail: "cueckoo@gmail.com"
// The tests on this repository are pretty CPU-intensive.
linuxMachine: base.linuxLargeMachine
// Use a specific latest version for release builds.
// Note that we don't want ".x" for the sake of reproducibility,
// so we instead pin a specific Go release.
pinnedReleaseGo: "1.24.8"
goreleaserVersion: "v2.10.2"
// zeroReleaseTagSuffix is the suffix used to identify all "zero" releases.
// When we create a release branch for v0.$X.0, it's likely that commits on the
// default branch will from that point onwards be intended for the $X+1
// version. However, unless we tag the next commit after the release branch, it
// might be the case that pseudo versions of those later commits refer to the
// $X release.
//
// A "zero" tag fixes this when applied to the first commit after a release
// branch. Critically, the -0.dev pre-release suffix is ordered before -alpha.
// tags.
zeroReleaseTagSuffix: "-0.dev"
// zeroReleaseTagPattern is the GitHub glob pattern that corresponds
// zeroReleaseTagSuffix.
zeroReleaseTagPattern: "*" + zeroReleaseTagSuffix
codeReview: "cue-unity": unityRepositoryURL
// TODO: we can't use `go tool cue` yet.
cueCommand: "go run cuelang.org/go/cmd/cue"
|