Skip to content

Commit

Permalink
Merge pull request #7 from buildkite-plugins/new-tester-version
Browse files Browse the repository at this point in the history
New tester version
  • Loading branch information
pzeballos committed Feb 16, 2024
2 parents 9a56c4e + 08e697c commit 978247e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Whether to force pulling the image before running or not. Default: `false`.

#### `version` (string)

The version of the [plugin tester docker image](https://github.com/buildkite-plugins/buildkite-plugin-tester) to run. Default: `v4.1.0`.
The version of the [plugin tester docker image](https://github.com/buildkite-plugins/buildkite-plugin-tester) to run. Default: `v4.1.1`.

## Examples

Expand Down
4 changes: 2 additions & 2 deletions hooks/command
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
. "$DIR/../lib/plugin.bash"


IMAGE_TAG=$(plugin_read_config VERSION 'v4.1.0')
IMAGE_TAG=$(plugin_read_config VERSION 'v4.1.1')

DOCKER_CMD=(
docker run --rm -ti
Expand All @@ -30,4 +30,4 @@ else
DOCKER_CMD+=(bats "${result[@]}")
fi

"${DOCKER_CMD[@]}"
"${DOCKER_CMD[@]}"
4 changes: 2 additions & 2 deletions tests/command.bats
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ setup() {
export BUILDKITE_PLUGIN_PLUGIN_TESTER_VERSION='latest'

# to make version updates easier
export LATEST_VERSION='v4.1.0'
export LATEST_VERSION='v4.1.1'
}

@test "Normal basic operations" {
Expand Down Expand Up @@ -84,4 +84,4 @@ setup() {

assert_success
assert_output --partial 'docker ran with option --pull'
}
}

0 comments on commit 978247e

Please sign in to comment.