Skip to content

Example Buildkite plugin demonstrating delivery of Go binary using Github releases

License

Notifications You must be signed in to change notification settings

cultureamp/example-go-buildkite-plugin

Repository files navigation

Example Go Buildkite Plugin

An example Buildkite plugin written in Go, demonstrating on-demand download of the public release files from Github and execution.

To demonstrate interaction with the Buildkite agent, the example includes code to annotate the build with a message.

This example is reverse engineered from @cultureamp/ecr-scan-results-buildkite-plugin.

Example

Add the following lines to your pipeline.yml:

steps:
  - plugins:
      - cultureamp/example-go#v0.1.0:
          message: "This is the message that will be annotated!"

Configuration

message (Required, string)

The message to annotate onto the build.

Releasing

Push a version tag to trigger new release via Github Actions workflow.

git tag v0.1.0
git push --tags

About

Example Buildkite plugin demonstrating delivery of Go binary using Github releases

Resources

License

Stars

Watchers

Forks

Packages

No packages published