mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-06 15:20:29 +00:00
chore(runner): remove client secret and add UUID in runner
Signed-off-by: Bo-Yi.Wu <[email protected]>
This commit is contained in:
1 parent
bf5e3dc302
commit
e08495af09
9 files changed
+122
-167
No files matched your search
+1
-10
@@ -56,17 +56,8 @@ func Execute(ctx context.Context) {
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
RunE: runDaemon(ctx, task),
|
||||
}
|
||||
|
||||
// ./act_runner daemon
|
||||
registerCmd := &cobra.Command{
|
||||
Aliases: []string{"register"},
|
||||
Use: "register new runner",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
RunE: runRegister(ctx, task),
|
||||
}
|
||||
|
||||
// add all command
|
||||
rootCmd.AddCommand(daemonCmd, registerCmd)
|
||||
rootCmd.AddCommand(daemonCmd)
|
||||
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
os.Exit(1)
|
||||
|
||||
Reference in new issue
Block a user