Skip to content

adds pr/issue templates - #3

Merged
tannerjfco merged 1 commit into
ddev:masterfrom
tannerjfco:tpl-up
Feb 3, 2017
Merged

tannerjfco merged 1 commit into
ddev:masterfrom
tannerjfco:tpl-up

Conversation

@tannerjfco

Copy link
Copy Markdown
Contributor

No description provided.

@tannerjfco
tannerjfco merged commit 31c74aa into ddev:master Feb 3, 2017
larsdesigns added a commit to larsdesigns/ddev that referenced this pull request Aug 24, 2023
@rfay rfay mentioned this pull request Sep 29, 2025
4 tasks done
rfay added a commit that referenced this pull request Aug 24, 2026
… JSON

## Short Summary (TL;DR)

Extends the gotestsum instrumentation already used by GitHub Actions to the
Buildkite Test-* pipelines, so both CI systems produce the same per-test
JSON data (HANDOFF.md TODO #3).

## How This PR Solves The Issue

`test.sh` now runs `make test` through gotestsum when `GOTESTSUM_JSONFILE_DIR`
is set, and uploads the resulting per-test JSON as a Buildkite build artifact
(`buildkite-agent artifact upload`), mirroring GitHub Actions'
`upload-artifact` step. Capturing the exit code needed restructuring the
`make` call into an `if`, since `set -e` would otherwise abort before the
upload ran on a test failure. `testbot_maintenance.sh` installs gotestsum on
each bot if it's missing: Homebrew on macOS and the WSL2 bots (which already
have it), a pinned release tarball on native Windows (no package there). All
10 pipelines that run `test.sh`/`test.cmd` now set `GOTESTSUM_JSONFILE_DIR`.

Local disk isn't a concern: every one of these pipelines already sets
`BUILDKITE_CLEAN_CHECKOUT: true`, which wipes the checkout (including
test-results/) before each build, and the equivalent GitHub Actions artifacts
run 200KB-700KB compressed per build.

perf/collector/README.md and HANDOFF.md are updated to match: TODO #3 is
done, TODO #4 (aggregating per-test JSON into a lasting dataset) now applies
to both CI systems, and TODO #7's gotestsum-format-change discussion is
deferred to its own PR after this one merges.

## Manual Testing Instructions

`bash -n .buildkite/test.sh .buildkite/testbot_maintenance.sh` passes. Not
yet verified against a live Buildkite run -- worth checking the first real
build's artifacts tab for `test-results/*.ndjson` once this merges.

## Automated Testing Overview

None; this only changes CI plumbing, not application code.

## Release/Deployment Notes

None. Internal CI tooling only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants