Skip to content

Commit 5cc6d81

Browse files
committed
internal/ci: allow gerritHubHostname to be overridden
This will allow us to experiment with an alternative GerritHub host in other repos that depend on this internal/ci CUE module. Signed-off-by: Paul Jolly <[email protected]> Change-Id: I692f4416b98b4743941199f6068d9106a7443c5b Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1218940 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
1 parent 3f23e12 commit 5cc6d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ci/base/base.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
// Package parameters
3838
githubRepositoryPath: *(URLPath & {#url: githubRepositoryURL, _}) | string
3939
githubRepositoryURL: *("https://github.com/" + githubRepositoryPath) | string
40-
gerritHubHostname: "review.gerrithub.io"
40+
gerritHubHostname: *"review.gerrithub.io" | string
4141
gerritHubRepositoryURL: *("https://\(gerritHubHostname)/a/" + githubRepositoryPath) | string
4242
trybotRepositoryPath: *(githubRepositoryPath + "-" + trybot.key) | string
4343
trybotRepositoryURL: *("https://github.com/" + trybotRepositoryPath) | string

0 commit comments

Comments
 (0)