https://github.com/envato/no-command-buildkite-plugin
For when you don't want a `command`.
https://github.com/envato/no-command-buildkite-plugin
buildkite-plugin
Last synced: 5 months ago
JSON representation
For when you don't want a `command`.
- Host: GitHub
- URL: https://github.com/envato/no-command-buildkite-plugin
- Owner: envato
- License: mit
- Created: 2021-09-28T01:37:29.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-30T04:48:43.000Z (about 4 years ago)
- Last Synced: 2025-05-14T11:19:08.696Z (5 months ago)
- Topics: buildkite-plugin
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 32
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# No Command Buildkite Plugin
For when you don't want a command. See examples
## Example
Add the following to your `pipeline.yml`:
```yml
steps:
- label: "Some task"
plugins:
- envato/no-command#v0.1.0: ~
# other plugins omitted
```Why would you want to do this? Sometimes plugins don't overwrite the `command` hook, but they do everything you want from your build step. `envato/no-command` will ensure you can omit the `command` configuration.
```yml
steps:
- label: "Upload to s3"
plugins:
- envato/no-command#v0.1.0: ~
- artifacts#v1.2.0:
download: local-directory/*
- envato/aws-s3-sync#v0.2.0:
source: local-directory/
destination: s3://example-bucket/directory/
```## Developing
To run the tests:
```shell
docker-compose run --rm tests
```To run the lint:
```shell
docker-compose run --rm lint
```