This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize docker /Users/rfay/workspace/build-tools and try appveyor …
…for Docker-for-Windows testing (#61) * Add appveyor config for Windows testing * Reorganize/simplify build for Docker-ee compatibility (used in appveyor)
- Loading branch information
Showing
14 changed files
with
111 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
# build drud/build-tools for automated testing (buildkite/appveyor/circleci) | ||
|
||
set -o errexit | ||
set -o pipefail | ||
set -o nounset | ||
#set -x | ||
|
||
# Make sure that everything remains readable. Go module cache is always getting | ||
# set to read-only, meanning it can't be cleaned up. | ||
function cleanup { | ||
chmod -R u+w . || true | ||
} | ||
trap cleanup EXIT | ||
|
||
BUILD_OS=$(go env GOOS) | ||
echo "--- building at $(date) on $HOSTNAME for OS=$(go env GOOS) in $PWD" | ||
|
||
# Our testbot should now be sane, run the testbot checker to make sure. | ||
echo "--- Checking for sane testbot" | ||
./.autotests/sanetestbot.sh | ||
|
||
echo "--- make $BUILD_OS" | ||
cd tests | ||
rm -f windows darwin linux && time make | ||
echo "--- make test" | ||
time make test | ||
RV=$? | ||
echo "--- build.sh completed with status=$RV" | ||
exit $RV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
- command: ".buildkite/test.cmd" | ||
- command: ".autotests/test.cmd" | ||
agents: | ||
- "os=windows" | ||
- "dockertype=toolbox" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.