mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 06:45:36 +00:00
Rename remote
to forge
(#1357)
As of #745 Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
@@ -240,10 +240,10 @@ func metadataFromContext(c *cli.Context, axis matrix.Axis) frontend.Metadata {
|
||||
|
||||
return frontend.Metadata{
|
||||
Repo: frontend.Repo{
|
||||
Name: c.String("repo-name"),
|
||||
Link: c.String("repo-link"),
|
||||
Remote: c.String("repo-remote-url"),
|
||||
Private: c.Bool("repo-private"),
|
||||
Name: c.String("repo-name"),
|
||||
Link: c.String("repo-link"),
|
||||
CloneURL: c.String("repo-clone-url"),
|
||||
Private: c.Bool("repo-private"),
|
||||
},
|
||||
Curr: frontend.Pipeline{
|
||||
Number: c.Int64("pipeline-number"),
|
||||
|
@@ -123,8 +123,8 @@ var flags = []cli.Flag{
|
||||
Name: "repo-link",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
EnvVars: []string{"CI_REPO_REMOTE"},
|
||||
Name: "repo-remote-url",
|
||||
EnvVars: []string{"CI_REPO_CLONE_URL", "CI_REPO_REMOTE"},
|
||||
Name: "repo-clone-url",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
EnvVars: []string{"CI_REPO_PRIVATE"},
|
||||
|
@@ -53,5 +53,5 @@ Visibility: {{ .Visibility }}
|
||||
Private: {{ .IsSCMPrivate }}
|
||||
Trusted: {{ .IsTrusted }}
|
||||
Gated: {{ .IsGated }}
|
||||
Remote: {{ .Clone }}
|
||||
Forge: {{ .Clone }}
|
||||
`
|
||||
|
Reference in New Issue
Block a user