Skip to content

fix(buildkite): use proper check for skip - #8231

Merged
stasadev merged 1 commit into
ddev:mainfrom
stasadev:20260317_stasadev_buildkite
Mar 17, 2026
Merged

stasadev merged 1 commit into
ddev:mainfrom
stasadev:20260317_stasadev_buildkite

Conversation

@stasadev

Copy link
Copy Markdown
Member

The Issue

While working on:

I noticed that buildkite tests were skipped all the time due to exit code 141 in this pipe:

ddev/.buildkite/test.sh

Lines 316 to 320 in 6d46cb0

# Check if there are any changes in the specified directories or files since the merge base
if ! git diff --name-only "$MERGE_BASE" | egrep -q '^(?:\.buildkite/|Makefile$|pkg/|cmd/|vendor/|winpkg/|go\.)'; then
echo "Skipping buildkite build since no code changes found"
exit 0
fi

How This PR Solves The Issue

  • Sets export GIT_PAGER="", so Buildkite works properly with too many changes in git diff
  • Uses grep -E instead of egrep, which is deprecated.
  • Replaces -q with >/dev/null which affected pipe check.
  • Adds proper skip in WSL2 tests.

Manual Testing Instructions

Automated Testing Overview

Release/Deployment Notes

@stasadev
stasadev requested a review from a team as a code owner March 17, 2026 13:54
@github-actions

Copy link
Copy Markdown

@stasadev
stasadev merged commit 13cdee0 into ddev:main Mar 17, 2026
35 checks passed
@stasadev
stasadev deleted the 20260317_stasadev_buildkite branch March 17, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant