New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

buildkite-cli

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buildkite-cli

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Bk

CLI for poking around Buildkite, like gh for GitHub

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/bk. To experiment with that code, run bin/console for an interactive prompt.

Installation

See Development section while in release

Usage

See bk --help and bk <subcommand> --help for most accurate usage. Below are some examples!

Annotations

Usage: bk annotations [slug_or_url]

Display annotations of a specific build:

$ bk annotations https://buildkite.com/your-org/your-pipeline/builds/1234

Display annotations of the most recent build (requires gh):

$ bk annotations

Artifacts

Usage: bk artifacts [slug_or_url] [--glob <pattern>] [--download]

Display artifacts of a specific build:

$ bk annotations https://buildkite.com/your-org/your-pipeline/builds/1234

Display artifacts of a specific build matching a glob (tip: quote the glob pattern to avoid your shell expanding):

$ bk annotations https://buildkite.com/your-org/your-pipeline/builds/1234 --glob "*.log"

Download artifacts of a specific build matching a glob (tip: quote the glob pattern to avoid your shell expanding):

$ bk annotations https://buildkite.com/your-org/your-pipeline/builds/1234 --glob "*.log" --download

To be continue?

More to come? Whatchu want? Feature requests and PRs welcome!

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment. You can run the command from this checkout with:

bk $ bundle exec exe/bk [args...]

To install this gem onto your local machine, run bundle exec rake install. If you want to use bk in different ruby versions, you'll need to use your version manager to switch and install it. You might find this snippet useful:

bk $ rake build
bk 0.1.0 built to pkg/bk-0.1.0.gem.

bk $ cd ~/workspace/some-project
some-project $ gem install ~/workspace/bk/bk-0.1.0.gem

To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/technicalpickles/bk.

FAQs

Package last updated on 15 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc