added code to manage secrets

This commit is contained in:
Brad Rydzewski
2016-04-23 04:27:28 -07:00
parent b9037b9d7c
commit f3709922b3
17 changed files with 435 additions and 24 deletions

View File

@@ -83,7 +83,16 @@ var AgentCmd = cli.Command{
EnvVar: "DRONE_PLUGIN_NETRC",
Name: "netrc-plugin",
Usage: "plugins that receive the netrc file",
Value: &cli.StringSlice{"git", "hg"},
Value: &cli.StringSlice{
"git",
"git:*",
"hg",
"hg:*",
"plugins/hg",
"plugins/hg:*",
"plugins/git",
"plugins/git:*",
},
},
cli.StringSliceFlag{
EnvVar: "DRONE_PLUGIN_PRIVILEGED",