mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 10:21:00 +00:00
fix drone_repo_name
This commit is contained in:
parent
d508807e20
commit
6338d18570
3 changed files with 25 additions and 25 deletions
|
@ -23,7 +23,7 @@ var serverCmd = cli.Command{
|
||||||
Usage: "start the server in debug mode",
|
Usage: "start the server in debug mode",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
EnvVar: "DRONE_SERVER_HOST",
|
EnvVar: "DRONE_SERVER_HOST,DRONE_HOST",
|
||||||
Name: "server-host",
|
Name: "server-host",
|
||||||
Usage: "server host",
|
Usage: "server host",
|
||||||
},
|
},
|
||||||
|
|
2
vendor/github.com/cncd/pipeline/pipeline/frontend/metadata.go
generated
vendored
2
vendor/github.com/cncd/pipeline/pipeline/frontend/metadata.go
generated
vendored
|
@ -165,7 +165,7 @@ func (m *Metadata) EnvironDrone() map[string]string {
|
||||||
"DRONE_REPO": m.Repo.Name,
|
"DRONE_REPO": m.Repo.Name,
|
||||||
"DRONE_REPO_SCM": "git",
|
"DRONE_REPO_SCM": "git",
|
||||||
"DRONE_REPO_OWNER": strings.Split(m.Repo.Name, "/")[0],
|
"DRONE_REPO_OWNER": strings.Split(m.Repo.Name, "/")[0],
|
||||||
"DRONE_REPO_NAME": strings.Split(m.Repo.Name, "/")[0],
|
"DRONE_REPO_NAME": strings.Split(m.Repo.Name, "/")[1],
|
||||||
"DRONE_REPO_LINK": m.Repo.Link,
|
"DRONE_REPO_LINK": m.Repo.Link,
|
||||||
"DRONE_REPO_BRANCH": m.Curr.Commit.Branch,
|
"DRONE_REPO_BRANCH": m.Curr.Commit.Branch,
|
||||||
"DRONE_REPO_PRIVATE": fmt.Sprintf("%v", m.Repo.Private),
|
"DRONE_REPO_PRIVATE": fmt.Sprintf("%v", m.Repo.Private),
|
||||||
|
|
46
vendor/vendor.json
vendored
46
vendor/vendor.json
vendored
|
@ -28,68 +28,68 @@
|
||||||
{
|
{
|
||||||
"checksumSHA1": "W3AuK8ocqHwlUajGmQLFvnRhTZE=",
|
"checksumSHA1": "W3AuK8ocqHwlUajGmQLFvnRhTZE=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline",
|
"path": "github.com/cncd/pipeline/pipeline",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Qu2FreqaMr8Yx2bW9O0cxAGgjr0=",
|
"checksumSHA1": "Qu2FreqaMr8Yx2bW9O0cxAGgjr0=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/backend",
|
"path": "github.com/cncd/pipeline/pipeline/backend",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "0CGXRaYwZhJxGIrGhn8WGpkFqPo=",
|
"checksumSHA1": "0CGXRaYwZhJxGIrGhn8WGpkFqPo=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/backend/docker",
|
"path": "github.com/cncd/pipeline/pipeline/backend/docker",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "/8wE+cVb7T4PQZgpLNu0DHzKGuE=",
|
"checksumSHA1": "ceGSLXEBIMOhRkrsO5f8umDkmCg=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/frontend",
|
"path": "github.com/cncd/pipeline/pipeline/frontend",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "QWs+L3emrt5DDTWvqD6rbMtLKMw=",
|
"checksumSHA1": "QWs+L3emrt5DDTWvqD6rbMtLKMw=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml",
|
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "ggOpR/vh0Hs6SnaiuiEO/9dUkcA=",
|
"checksumSHA1": "ggOpR/vh0Hs6SnaiuiEO/9dUkcA=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/compiler",
|
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/compiler",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Q0GkNUFamVYIA1Fd8r0A5M6Gx54=",
|
"checksumSHA1": "Q0GkNUFamVYIA1Fd8r0A5M6Gx54=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/linter",
|
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/linter",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "kx2sPUIMozPC/g6E4w48h3FfH3k=",
|
"checksumSHA1": "kx2sPUIMozPC/g6E4w48h3FfH3k=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/matrix",
|
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/matrix",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "2/3f3oNmxXy5kcrRLCFa24Oc9O4=",
|
"checksumSHA1": "2/3f3oNmxXy5kcrRLCFa24Oc9O4=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/interrupt",
|
"path": "github.com/cncd/pipeline/pipeline/interrupt",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "uOjTfke7Qxosrivgz/nVTHeIP5g=",
|
"checksumSHA1": "uOjTfke7Qxosrivgz/nVTHeIP5g=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/multipart",
|
"path": "github.com/cncd/pipeline/pipeline/multipart",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "vWImaniGEUutEvLvNCzTpSRSArg=",
|
"checksumSHA1": "vWImaniGEUutEvLvNCzTpSRSArg=",
|
||||||
"path": "github.com/cncd/pipeline/pipeline/rpc",
|
"path": "github.com/cncd/pipeline/pipeline/rpc",
|
||||||
"revision": "6782e9f66c439f8cf5ece4d7e1e5371c8be58d5f",
|
"revision": "f56fb78bd5d412023bad5a37933b3a2506f1e468",
|
||||||
"revisionTime": "2017-04-11T22:22:03Z"
|
"revisionTime": "2017-04-21T13:35:39Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "7Qj1DK0ceAXkYztW0l3+L6sn+V8=",
|
"checksumSHA1": "7Qj1DK0ceAXkYztW0l3+L6sn+V8=",
|
||||||
|
|
Loading…
Reference in a new issue