mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 19:31:05 +00:00
netrc -> git
This commit is contained in:
parent
86d43bcfdc
commit
3157dd4cf8
8 changed files with 11 additions and 11 deletions
|
@ -45,7 +45,7 @@ var Command = &cli.Command{
|
|||
&cli.StringSliceFlag{
|
||||
Sources: cli.EnvVars("WOODPECKER_PLUGINS_TRUSTED_CLONE"),
|
||||
Name: "plugins-trusted-clone",
|
||||
Usage: "Plugins which are trusted to handle the netrc info in clone steps",
|
||||
Usage: "Plugins which are trusted to handle Git credentials in clone steps",
|
||||
Value: constant.TrustedClonePlugins,
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
|
|
|
@ -192,7 +192,7 @@ var flags = append([]cli.Flag{
|
|||
&cli.StringSliceFlag{
|
||||
Sources: cli.EnvVars("WOODPECKER_PLUGINS_TRUSTED_CLONE"),
|
||||
Name: "plugins-trusted-clone",
|
||||
Usage: "Plugins which are trusted to handle the netrc info in clone steps",
|
||||
Usage: "Plugins which are trusted to handle Git credentials in clone steps",
|
||||
Value: constant.TrustedClonePlugins,
|
||||
},
|
||||
&cli.StringSliceFlag{
|
||||
|
|
|
@ -39,12 +39,12 @@ Only server admins can set this option. If you are not a server admin this optio
|
|||
|
||||
:::
|
||||
|
||||
## Only inject netrc credentials into trusted clone plugins
|
||||
## Only inject Git credentials into trusted clone plugins
|
||||
|
||||
The clone step may require git credentials (e.g. for private repos) which are injected via `netrc`.
|
||||
The clone step may require Git credentials (e.g. for private repos) which are injected via `netrc`.
|
||||
|
||||
By default, they are only injected into trusted clone plugins listed in the env var `WOODPECKER_PLUGINS_TRUSTED_CLONE`.
|
||||
If this option is disabled, the git credentials are injected into every clone plugin, regardless of whether it is trusted or not.
|
||||
If this option is disabled, the Git credentials are injected into every clone plugin, regardless of whether it is trusted or not.
|
||||
|
||||
:::note
|
||||
This option has no effect on steps other than the clone step.
|
||||
|
|
|
@ -396,8 +396,8 @@ You should specify the tag of your images too, as this enforces exact matches.
|
|||
|
||||
> Defaults are defined in [shared/constant/constant.go](https://github.com/woodpecker-ci/woodpecker/blob/main/shared/constant/constant.go)
|
||||
|
||||
Plugins which are trusted to handle the netrc info in clone steps.
|
||||
If a clone step use an image not in this list, the netrc will not be injected and an user has to use other methods (e.g. secrets) to clone non public repos.
|
||||
Plugins which are trusted to handle the Git credential info in clone steps.
|
||||
If a clone step use an image not in this list, Git credentials will not be injected and users have to use other methods (e.g. secrets) to clone non-public repos.
|
||||
|
||||
You should specify the tag of your images too, as this enforces exact matches.
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ Only server admins can set this option. If you are not a server admin this optio
|
|||
|
||||
:::
|
||||
|
||||
### Only inject netrc credentials into trusted clone plugins
|
||||
### Only inject Git credentials into trusted clone plugins
|
||||
|
||||
The clone step may require git credentials (e.g. for private repos) which are injected via `netrc`.
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ Only server admins can set this option. If you are not a server admin this optio
|
|||
|
||||
:::
|
||||
|
||||
## Only inject netrc credentials into trusted clone plugins
|
||||
## Only inject Git credentials into trusted clone plugins
|
||||
|
||||
The clone step may require git credentials (e.g. for private repos) which are injected via `netrc`.
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ Only server admins can set this option. If you are not a server admin this optio
|
|||
|
||||
:::
|
||||
|
||||
## Only inject netrc credentials into trusted clone plugins
|
||||
## Only inject Git credentials into trusted clone plugins
|
||||
|
||||
The clone step may require git credentials (e.g. for private repos) which are injected via `netrc`.
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ Only server admins can set this option. If you are not a server admin this optio
|
|||
|
||||
:::
|
||||
|
||||
## Only inject netrc credentials into trusted clone plugins
|
||||
## Only inject Git credentials into trusted clone plugins
|
||||
|
||||
The clone step may require git credentials (e.g. for private repos) which are injected via `netrc`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue