Skip to content

Commit

Permalink
Mergeback from master to resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
toote committed Mar 25, 2023
2 parents e28b502 + 630b3d6 commit c3e72bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions buildkite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ steps:

- label: ":sparkles:"
plugins:
plugin-linter#v3.0.0:
plugin-linter#v3.1.0:
id: test-collector

- label: ":docker: :hammer:"
plugins:
docker-compose#v4.9.0:
docker-compose#v4.11.0:
run: tests
2 changes: 1 addition & 1 deletion hooks/pre-exit
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ find_and_upload() {
FILES_PATTERN="$1"
FIND_CMD=(find)

if [[ "${BUILDKITE_PLUGIN_TEST_COLLECTOR_FOLLOW_LINKS:-}" =~ ^(true|on|1|always)$ ]]; then
if [[ "${BUILDKITE_PLUGIN_TEST_COLLECTOR_FOLLOW_SYMLINKS:-}" =~ ^(true|on|1|always)$ ]]; then
FIND_CMD+=('-L')
fi

Expand Down
4 changes: 2 additions & 2 deletions tests/pre-exit-success.bats
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ COMMON_CURL_OPTIONS='--form \* --form \* --form \* --form \* --form \* --form \*
}

@test "Follow links option enabled adds find option" {
export BUILDKITE_PLUGIN_TEST_COLLECTOR_FOLLOW_LINKS='true'
export BUILDKITE_PLUGIN_TEST_COLLECTOR_FOLLOW_SYMLINKS='true'

stub find "-L . -path \* : echo './tests/fixtures/junit-1.xml'"
stub curl "-X POST --silent --show-error --max-time 30 --form format=junit ${COMMON_CURL_OPTIONS} \* -H \* : echo 'curl success'"
Expand All @@ -176,7 +176,7 @@ COMMON_CURL_OPTIONS='--form \* --form \* --form \* --form \* --form \* --form \*
}

@test "Follow links option disabled does not add find option" {
export BUILDKITE_PLUGIN_TEST_COLLECTOR_FOLLOW_LINKS='false'
export BUILDKITE_PLUGIN_TEST_COLLECTOR_FOLLOW_SYMLINKS='false'

stub find ". -path \* : echo './tests/fixtures/junit-1.xml'"
stub curl "-X POST --silent --show-error --max-time 30 --form format=junit ${COMMON_CURL_OPTIONS} \* -H \* : echo 'curl success'"
Expand Down

0 comments on commit c3e72bd

Please sign in to comment.