SHARE
TWEET

Untitled

a guest Aug 12th, 2017 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Buildkite CLI
  2. =============
  3.  
  4. A cli tool for interacting with buildkite.com from your terminal.
  5.  
  6. buildkite configure
  7. -------------------
  8.  
  9. Sets up the tool, asks for a Buildkite graphql token and a default organization.
  10.  
  11. buildkite pipelines
  12. -------------------
  13.  
  14. * `buildkite pipelines list`
  15. * `buildkite pipelines create`
  16. * `buildkite pipelines delete`
  17.  
  18. Create is the interesting one, it will look at a checked out repo and create a pipeline with that name with a single uploader step. It will use the git remote to set the checkout url for the pipeline. If it's a github repo, it will ask for a github oauth token to access that repo and it will setup webhooks. Finally, if no `.buildkite/pipeline.yml` exists locally, it will create an empty one.
  19.  
  20. At this point you are good to go.
  21.  
  22. buildkite builds
  23. ----------------
  24.  
  25. * `buildkite builds list`
  26. * `buildkite builds create`
  27. * `buildkite builds cancel`
  28. * `buildkite builds rerun`
  29.  
  30. buildkite agents
  31. ----------------
  32.  
  33. * `buildkite agents list`
  34. * `buildkite agents stop`
  35. * `buildkite agents tokens create`
  36. * `buildkite agents tokens list`
  37. * `buildkite agents tokens remove`
  38.  
  39. buildkite teams
  40. ----------------
  41.  
  42. * `buildkite teams list`
  43. * `buildkite teams create`
  44. * `buildkite teams users add`
  45. * `buildkite teams users remove`
  46.  
  47. buildkite users
  48. ----------------
  49.  
  50. * `buildkite users invite`
  51. * `buildkite users list`
  52. * `buildkite users remove`
  53.  
  54. buildkite aws-stack
  55. -------------------
  56.  
  57. These commands require aws credentials either in the environment, or they will be prompted for.
  58.  
  59. * `buildkite aws-stack vpc create`
  60. * `buildkite aws-stack vpc list`
  61. * `buildkite aws-stack vpc remove`
  62. * `buildkite aws-stack list`
  63. * `buildkite aws-stack create`
  64. * `buildkite aws-stack update`
  65. * `buildkite aws-stack delete`
  66. * `buildkite aws-stack env list`
  67. * `buildkite aws-stack env upload`
  68. * `buildkite aws-stack env download`
  69. * `buildkite aws-stack env delete`
  70. * `buildkite aws-stack private-key list`
  71. * `buildkite aws-stack private-key upload`
  72. * `buildkite aws-stack private-key download`
  73. * `buildkite aws-stack private-key delete`
  74. * `buildkite aws-stack link`
  75. * `buildkite aws-stack unlink`
  76. * `buildkite aws-stack logs follow`
  77. * `buildkite aws-stack logs download`
  78. * `buildkite aws-stack ssh`
  79.  
  80. The `link` command will look at your current repo and determine what provider it uses and then create a deploy key and upload it.
RAW Paste Data
Top