Skip to content

drone/go-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository provides a simple module for implementing delegate tasks. This repository comes with a sample main.go executable that demonstrates how this module can be used.

Exec a script (built-in):

./go-task --pretty samples/sample-exec.json

Get a secret from a file (built-in):

./go-task --pretty samples/sample-file.json

Get a secret (built-in) and use in script (built-in):

./go-task --pretty samples/sample-file-echo.json

Get a multi-line secret (built-in) and use in script (built-in):

./go-task --pretty samples/sample-file-echo-multiline.json

Get a user (cgi):

./go-task --pretty samples/get-user/task.json

Get a user list (cgi):

./go-task --pretty samples/get-user-list/task.json

Get a secret from vault (cgi):

./go-task --pretty samples/get-secret/task.json

Get a user (cgi) using a remote artifact (git):

./go-task --pretty samples/sample-cgi-from-repo.json

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages