Skip to content

Commit

Permalink
Merge pull request #52 from buildkite-plugins/update-linter-version
Browse files Browse the repository at this point in the history
Update linter version
  • Loading branch information
toote authored Apr 24, 2023
2 parents 520e29e + 1c1cbb3 commit 969cfd4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The id of the plugin (e.g. `my-org/my-plugin`)

### `image-version`

The docker tag of the `buildkite/plugin-linter` image to use. Default is `2.0.2`
The docker tag of the `buildkite/plugin-linter` image to use. Default is `2.0.3`

### `readme` (optional)

Expand Down
2 changes: 1 addition & 1 deletion hooks/command
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ -z "${BUILDKITE_PLUGIN_PLUGIN_LINTER_ID:-}" ]; then
exit 1
fi

TAG=${BUILDKITE_PLUGIN_PLUGIN_LINTER_IMAGE_VERSION:-v2.0.2}
TAG=${BUILDKITE_PLUGIN_PLUGIN_LINTER_IMAGE_VERSION:-v2.0.3}

echo "--- :docker: Fetching buildkite/plugin-linter:${TAG}"

Expand Down
4 changes: 2 additions & 2 deletions tests/command.bats
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ setup() {
unset BUILDKITE_PLUGIN_PLUGIN_LINTER_IMAGE_VERSION

stub docker \
"pull buildkite/plugin-linter:v2.0.2 : echo pulled image" \
"run -it --rm --volume /plugin:/plugin:ro --env PLUGIN_ID=my-plugin buildkite/plugin-linter:v2.0.2 : echo linted"
"pull buildkite/plugin-linter:v2.0.3 : echo pulled image" \
"run -it --rm --volume /plugin:/plugin:ro --env PLUGIN_ID=my-plugin buildkite/plugin-linter:v2.0.3 : echo linted"

run "$PWD"/hooks/command

Expand Down

0 comments on commit 969cfd4

Please sign in to comment.