Commit Graph

32 Commits (bc9e433ca26be0314a37c8c6ead66429a584bbc9)

Author SHA1 Message Date
Piotr Tabor bc9e433ca2 tools: Migrate remaining tools to gobin
Replace ./scripts/install_tool.sh with `gobin`, such that we have
consistent handling for all tools needed for build and consistent
versioning within ./tools/mod/go.mod.

Side changes:
  - Expose /scripts/fix.sh that fixes formatting and bom across modules
  - Expose *.sh variants of scripts like build and ./test (first step
towards replacement).
  - Make stderr output of commands explicit and make commands use
different color than callouts.
2020-10-13 19:33:01 +02:00
Blake Mizerany e2798405f6 remove test.sh 2014-09-03 09:20:06 -07:00
Yicheng Qin 02ced2c2d7 v1: deprecate v1 support
Etcd moves to 0.5 without the support of v1.
2014-09-03 09:19:49 -07:00
Yicheng Qin a1a91ab75a chore(server): deprecate mod temporarily 2014-04-15 12:50:36 -07:00
Doug MacEachern d73390a674 fix(server): avoid race conditions in Run/Stop
- don't close ready channel until PeerServer is listening.
  avoids possible panic in Stop() if PeerServer is nil.

- avoid data race in Run() (err variable was shared between 2 goroutines)

- avoid data race in PeerServer Start/Stop (PeerServer.closeChan)
2014-04-15 09:24:54 -07:00
Xiang Li 0b790abd46 Merge pull request #705 from unihorn/61
feat: set NOCOW for log directory when in btrfs
2014-04-14 16:40:38 -04:00
Xiang Li dce461dbd7 tests(test.sh) open race option 2014-04-11 19:49:41 -04:00
Yicheng Qin bda8849c3b chore(btrfs): rename fs to btrfs
This is because the actions is specific for btrfs.
2014-04-09 15:06:17 -07:00
Yicheng Qin b06d2796f8 feat: set NOCOW for log directory when in btrfs 2014-04-09 10:00:21 -07:00
Yicheng Qin 915cc53d83 chore(test.sh): move gofmt check to the end of testing
So it won't be blocked on gofmt check.
2014-04-03 17:04:35 -07:00
Yicheng Qin 3fece6a716 feat(test): check format conditions in test
And add option '--fmt' in build script to gofmt files automatically.
2014-04-02 17:57:53 -07:00
Brandon Philips 68383b1293 fix(server/v1): don't fail put on new v1 key
We weren't checking for PrevNode being nil in the v1 code path. Do this
and add a test.

Fixes #557
2014-02-10 18:59:56 -08:00
Brian Waldon 42363001b4 fix(v2): Use case-insensitive check on bool query params
Fix issue #261
2014-02-07 14:29:08 -08:00
Brandon Philips 147235f8f5 fix(test.sh): re-add the config tests
These tests were left behind in the move to put config in its own
package.
2014-02-06 22:52:50 -08:00
Brandon Philips 0b9c5c975e fix(test.sh): use . not source 2014-02-02 17:01:21 -08:00
Brandon Philips 33be0e09fe fix(build/test.sh): use new GOPATH setup 2014-02-02 16:57:36 -08:00
Brandon Philips 0f97e3528a chore(build): use third_party.go
use the third_party.go project to replace our update script. This
requires moving a few things around and gets rid of a few annoying bugs:

- You can now bump individual packages
- A new src directory isn't created on build
- Less shell scripting!
- Things get built into ./bin/
2014-01-14 22:14:47 -08:00
Ben Johnson 355bd6df9b Fix Travis CI. 2014-01-08 16:41:01 -07:00
Ben Johnson 8d25dac1ba Revert test.sh changes. 2014-01-08 16:21:22 -07:00
Ben Johnson 4acfc26c5e Add event-based debugging output. 2013-12-23 16:01:05 -07:00
Ben Johnson e76b7d1e8b Add mod/lock version. 2013-12-04 22:24:04 -07:00
Ben Johnson f3d438a93f Add mod/lock connection monitoring. 2013-12-04 16:23:27 -07:00
Ben Johnson df20be775c Fix test harness. 2013-12-02 15:43:37 -07:00
Ben Johnson 22c2935ddb Initial mod_lock acquire. 2013-11-27 16:59:05 -07:00
Ben Johnson bc0e07bca2 Add tiered configuration. 2013-10-21 21:37:25 -06:00
Ben Johnson 62b890839a Merge branch '0.2' of https://github.com/coreos/etcd into v2-handler-tests
Conflicts:
	test.sh
2013-10-18 08:54:51 -06:00
Xiang Li a6f7069264 fix use right gopath 2013-10-17 20:57:00 -07:00
Ben Johnson dcef04b796 Add v2 unit tests. 2013-10-17 21:52:15 -06:00
Ben Johnson 4fb3a01f25 Update build script to fail on error. 2013-10-17 10:02:59 -06:00
Ben Johnson b4d311d6a1 Reintegrate functional tests into etcd. 2013-10-16 13:58:03 -06:00
Ben Johnson fb7a91739a Remove functional tests. 2013-10-14 14:20:50 -06:00
Xiang Li 177854c3e1 add test package. do not compile test codes with etcd 2013-08-17 08:30:31 -07:00