| 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 |
"github.com/cue-lang/tmp/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: "[email protected]" |
| 28 |
|
| 29 |
// The tests on this repository are pretty CPU-intensive. |
| 30 |
linuxMachine: base.linuxLargeMachine |
| 31 |
|
| 32 |
// Use a specific latest version for release builds. |
| 33 |
// Note that we don't want ".x" for the sake of reproducibility, |
| 34 |
// so we instead pin a specific Go release. |
| 35 |
pinnedReleaseGo: "1.25.4" |
| 36 |
|
| 37 |
goreleaserVersion: "v2.12.5" |
| 38 |
|
| 39 |
// zeroReleaseTagSuffix is the suffix used to identify all "zero" releases. |
| 40 |
// When we create a release branch for v0.$X.0, it's likely that commits on the |
| 41 |
// default branch will from that point onwards be intended for the $X+1 |
| 42 |
// version. However, unless we tag the next commit after the release branch, it |
| 43 |
// might be the case that pseudo versions of those later commits refer to the |
| 44 |
// $X release. |
| 45 |
// |
| 46 |
// A "zero" tag fixes this when applied to the first commit after a release |
| 47 |
// branch. Critically, the -0.dev pre-release suffix is ordered before -alpha. |
| 48 |
// tags. |
| 49 |
zeroReleaseTagSuffix: "-0.dev" |
| 50 |
|
| 51 |
// zeroReleaseTagPattern is the GitHub glob pattern that corresponds |
| 52 |
// zeroReleaseTagSuffix. |
| 53 |
zeroReleaseTagPattern: "*" + zeroReleaseTagSuffix |
| 54 |
|
| 55 |
codeReview: "cue-unity": unityRepositoryURL |