Skip to content

example plugin that goes through basic steps any buildkite plugin will like to go through - build, lint, test, version

Notifications You must be signed in to change notification settings

amasare/buildkite-plugin-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buildkite-plugin-hello-world

example plugin that goes through basic steps any buildkite plugin must through - lint, shellcheck, command hook test

Example

steps:
  - plugins:
      - https://github.com/amasare/buildkite-plugin-hello-world#v1.0.0:
          name: Ama

Running on Buildkite

You'll need to run this pipeline on an agent that:

  • can run docker commands
  • has plugins-path or BUILDKITE_PLUGINS_PATH

Make hooks/command executable

Testing Locally

To run tests locally you will need to:

  • install bats. brew install bats-core on MacOS. Other installation instructions here.
  • run tests with buildkites plugin tester which comes with supporting test libraries. docker run it --rm -v "$(pwd):/plugin" buildkite/plugin-tester.

Testing recommendations here

About

example plugin that goes through basic steps any buildkite plugin will like to go through - build, lint, test, version

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages