Skip to content

Commit

Permalink
Revert "internal/ci: rename base parameter field name"
Browse files Browse the repository at this point in the history
This reverts commit 584f3f0.

Reason for revert: automated submit went wrong and submitted CLs out of
order breaking the submission of the chain.

Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: I9a40256c39aba1b9d7c33dbdb7498d634a19be33
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/551623
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
  • Loading branch information
myitcv committed Mar 26, 2023
1 parent 26ff449 commit 2461c51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/ci/base/base.cue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (
)

// Package parameters
#githubRepositoryURL: string
#repositoryURL: string
#defaultBranch: string
#testDefaultBranch: "ci/test"
#botGitHubUser: string
Expand Down Expand Up @@ -168,7 +168,7 @@ import (
run: "test -z \"$(git status --porcelain)\" || (git status; git diff; false)"
}

let _#repositoryURL = #githubRepositoryURL
let _#repositoryURL = #repositoryURL
let _#botGitHubUser = #botGitHubUser
let _#botGitHubUserTokenSecretsKey = #botGitHubUserTokenSecretsKey

Expand Down
2 changes: 1 addition & 1 deletion internal/ci/github/workflows.cue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ _gerrithub: gerrithub & {
// Perhaps rename the import to something more obviously not intended to be
// used, and then rename the field base?
_base: base & {
#githubRepositoryURL: core.githubRepositoryURL
#repositoryURL: core.githubRepositoryURL
#defaultBranch: core.defaultBranch
#botGitHubUser: "cueckoo"
#botGitHubUserTokenSecretsKey: "CUECKOO_GITHUB_PAT"
Expand Down

0 comments on commit 2461c51

Please sign in to comment.