Skip to content

Commit

Permalink
[tests only] Add linux types for buildkite-agent (ddev#2828)
Browse files Browse the repository at this point in the history
These actually won't be used since we have github actions, travis-ci, and circleci for Linux. It was an experiment, but might as well keep the results.
  • Loading branch information
rfay authored Feb 23, 2021
1 parent 78d2e2e commit 52e4d9d
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .buildkite/linux-amd64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- command: ".buildkite/test.sh"
agents:
- "os=linux"
- "architecture=amd64"
env:
BUILDKITE_CLEAN_CHECKOUT: true
BUILDKITE_BUILD_PATH: ~/tmp/buildkite_builds
BUILDKIT_PROGRESS: plain
parallelism: 1
9 changes: 9 additions & 0 deletions .buildkite/linux-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- command: ".buildkite/test.sh"
agents:
- "os=linux"
- "architecture=arm64"
env:
BUILDKITE_CLEAN_CHECKOUT: true
BUILDKITE_BUILD_PATH: ~/tmp/buildkite_builds
BUILDKIT_PROGRESS: plain
parallelism: 1
1 change: 1 addition & 0 deletions .buildkite/macos_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
agents:
- "os=macos"
- "dockertype=dockerformac"
- "architecture=amd64"
env:
BUILDKITE_CLEAN_CHECKOUT: true
BUILDKITE_BUILD_PATH: ~/tmp/buildkite_builds
Expand Down
4 changes: 3 additions & 1 deletion .buildkite/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ echo "--- running sanetestbot.sh"
( docker images | awk '/drud/ {print $1":"$2 }' | xargs -L1 docker pull ) || true

# homebrew sometimes removes /usr/local/etc/my.cnf.d
mkdir -p "$(brew --prefix)/etc/my.cnf.d"
if command -v brew >/dev/null; then
mkdir -p "$(brew --prefix)/etc/my.cnf.d"
fi

echo "--- Running tests..."
make test
Expand Down
1 change: 1 addition & 0 deletions .buildkite/windows10_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
agents:
- "os=windows"
- "dockertype=dockerforwindows"
- "architecture=amd64"
env:
BUILDKITE_CLEAN_CHECKOUT: true
parallelism: 1
1 change: 1 addition & 0 deletions .buildkite/windows10dockerforwindows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
agents:
- "os=windows"
- "dockertype=dockerforwindows"
- "architecture=amd64"
env:
BUILDKITE_CLEAN_CHECKOUT: true
DDEV_TEST_USE_NFSMOUNT: true
Expand Down
1 change: 1 addition & 0 deletions .buildkite/wsl2.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- command: ".buildkite/test.sh"
agents:
- "os=wsl2"
- "architecture=amd64"
env:
BUILDKITE_CLEAN_CHECKOUT: true
BUILDKITE_BUILD_PATH: ~/tmp/buildkite_builds
Expand Down

0 comments on commit 52e4d9d

Please sign in to comment.