Yicheng Qin
7d4cd7c76a
scripts: add release.sh
...
It could build all binaries and images for the given version.
2015-09-09 09:50:41 -07:00
Yicheng Qin
184337568d
scripts/build-docker: build docker in image-docker dir
...
The docker build command will use whatever directory contains the
Dockerfile as the build context (including all of its subdirectories).
And the <src> path of ADD must be inside the context of the build.
So change it to build in a specific directory for clean and fast.
2015-09-06 00:17:41 -07:00
Yicheng Qin
15d1db9bf8
scripts/build-aci: support BINARYDIR and BUILDDIR
...
This makes it more configurable, and is ready for overall release script.
2015-09-06 00:17:41 -07:00
Yicheng Qin
6b70fa72fe
scripts: build-release -> build-binary
...
This makes the functionality of the script more clear, and always use
bash to run the script because it has bash-specific grammar.
2015-09-06 00:16:51 -07:00
Yicheng Qin
cf6cb82caa
scripts/build-docker: stop creating scratch image
...
Scratch image has become docker's reserved image.
2015-09-06 00:16:08 -07:00
Yicheng Qin
a1b01c266a
scripts/build-aci: fix the way to check executability
...
Or it may treat runnable command as unexecutable.
2015-09-06 00:15:31 -07:00
Xiang Li
ef7cf058a2
*: update gogoproto
2015-09-03 15:32:25 -07:00
Tamir Duberstein
45390b9fb8
*: regenerate proto to use local import path
...
Using Go-style import paths in protos is not idiomatic. Normally, this
detail would be internal to etcd, but the path from which gogoproto
is imported affects downstream consumers (e.g. cockroachdb).
In cockroach, we want to avoid including `$GOPATH/src` in our protoc
include path for various reasons. This patch puts etcd on the same
convention, which allows this for cockroach.
More information: https://github.com/cockroachdb/cockroach/pull/2339#discussion_r38663417
This commit also regenerates all the protos, which seem to have
drifted a tiny bit.
2015-09-03 13:38:28 -04:00
Jeff Zellner
1239e1ce6f
test, scripts: use /usr/bin/env to find bash
...
use /usr/bin/env to find bash
add set -e back into scripts it was removed from
2015-08-08 20:52:53 -06:00
Xiang Li
2b8abeb093
*: remove migration related stuff from 2.2
2015-08-01 19:37:20 +08:00
Xiang Li
2fb8347d36
etcdserver: add rpc proto
2015-06-29 20:00:09 -07:00
Xiang Li
436bacd77a
*: introduce grpc dependency
2015-06-29 18:59:00 -07:00
Xiang Li
13f44e4b79
*: update generated proto code
2015-06-29 16:45:25 -07:00
Xiang Li
845cb61213
storage: add kv and event proto
2015-05-18 14:35:10 -07:00
Brandon Philips
beb606f066
Merge pull request #2704 from philips/build-aci-port-mountpoint
...
scripts: build-aci update to have mountPoint and ports
2015-04-29 07:30:44 -07:00
Justin Santa Barbara
117cb995a5
script: genproto assumes bash; specify bash
2015-04-18 15:13:35 -07:00
Brandon Philips
00044cd3bd
scripts: build-aci update to have mountPoint and ports
...
Expose the etcd ports and data-dir mountPoint for future releases.
2015-04-17 14:57:15 -04:00
Yicheng Qin
91e9a24289
scripts: not put etcd-migrate into release dir
...
etcd-migrate has been integrated with etcd, and there is no need to put
it into release dir any more.
2015-04-07 16:04:52 -07:00
Xiang Li
05e240b892
*: update protobuf
2015-03-25 10:14:35 -07:00
Yicheng Qin
431fcc60ab
scripts: add .exe extension on windows binaries
2015-03-20 16:45:29 -07:00
Brandon Philips
d1f9f2f1b7
scripts: remove 2.0 Documentation from build-release
...
2.0 docs have been merged into the Documentation folder now.
2015-01-30 14:13:25 -08:00
Jonathan Boulle
c4e4a9711f
Merge pull request #2075 from endocode/alban/build-aci
...
scripts: update build-aci
2015-01-15 09:57:06 -08:00
Alban Crequy
78a7e0e551
scripts/build-aci: improve the script
...
- fix path for bash
- check for common errors
2015-01-15 12:30:12 +01:00
Jonathan Boulle
e41d1e2064
scripts: remove old release version scripts
2015-01-14 22:34:59 -08:00
Alban Crequy
80c174255a
build-aci: change 'val' abbreviation to 'value'
...
The spec changed, so etcd must be updated to follow the new spec:
12a9617c2f
2015-01-08 09:52:21 +01:00
Brandon Philips
fa35363f74
Documentation: update to 2.0
...
In anticipation for a 2.0.0-rc.0 release update and move the
documentation.
2014-12-18 10:18:26 -08:00
Brandon Philips
f21cc09d83
scripts: build-aci initial commit
...
This will build an ACI from an etcd release tarball. This can be slimmed
down once the `actool` gets better
2014-12-11 15:58:37 -05:00
Brandon Philips
12aaf046d7
Merge pull request #1752 from philips/include-etcd-migrate-in-releases
...
scripts: build-release add etcd-migrate
2014-11-19 12:13:21 -08:00
Brandon Philips
00df13138e
scripts: build-docker tag and use ENTRYPOINT
...
Use ENTRYPOINT so people can specify flags to etcd without providing the
binary.
Thanks to @hugod in IRC for pointing this out.
2014-11-19 12:11:27 -08:00
Brandon Philips
d2e36a9535
scripts: build-release add etcd-migrate
...
this tool is only temporary for the alphas but make sure it makes it in.
2014-11-19 12:10:06 -08:00
Jonathan Boulle
82094f05e0
scripts: clean build-release script a bit
2014-11-07 11:45:40 -08:00
Brandon Philips
0ce78d7a9c
Merge pull request #1431 from philips/build-release-script
...
scripts: import script from 0.5 release
2014-10-27 16:42:30 -07:00
Brandon Philips
e8302c8413
scripts: build-docker
...
Build docker images from the release tarballs. The default CMD is
etcd.
2014-10-27 12:34:51 -07:00
Brandon Philips
538ce935f0
scripts: import script from 0.5 release
...
It isn't pretty but this was the tool used to build the zip and tar
files for 0.5
2014-10-27 12:18:24 -07:00
Jonathan Boulle
4183b69e12
*: move from third_party to Godep
2014-10-14 00:37:52 -07:00
Xiang Li
05d8f7270f
scripts: remove broken scripts
2014-09-25 11:29:30 -07:00
Jonathan Boulle
c8c55aa378
scripts: consolidate and standardize protobuf generation
2014-09-24 13:45:00 -07:00
Brandon Philips
3c04f8b664
fix(scripts/build-release): put everything into a release dir
2014-05-20 17:53:17 -07:00
Yicheng Qin
baadf63912
feat: implement standby mode
...
Change log:
1. PeerServer
- estimate initial mode from its log through removedInLog variable
- refactor FindCluster to return the estimation
- refactor Start to call FindCluster explicitly
- move raftServer start and cluster init from FindCluster to Start
- remove stopNotify from PeerServer because it is not used anymore
2. Etcd
- refactor Run logic to fit the specification
3. ClusterConfig
- rename promoteDelay to removeDelay for better naming
- add SyncClusterInterval field to ClusterConfig
- commit command to set default cluster config when cluster is created
- store cluster config info into key space for consistency
- reload cluster config when reboot
4. add StandbyServer
5. Error
- remove unused EcodePromoteError
2014-05-09 01:56:55 -07:00
Ben Johnson
7d4fda550d
Machine join/remove v2 API.
2014-03-18 16:25:21 -06:00
Brandon Philips
ddce52c44e
feat(scripts/test-cluster): create three proxy nodes
...
This uses some sleep hackery to make sure that window 1 has followers
and window 2 has proxy machines. Seems to work!
2014-03-04 18:58:39 -08:00
Brandon Philips
a00bf38f16
feat(scripts): use zip for windows and darwin
...
zip files are more common on OSX and windows. Use those file formats for
those two platforms.
2014-02-09 12:11:14 -08:00
Brandon Philips
0c2287b201
fix(scripts/build-release): use cross compilation
2014-02-07 15:50:57 -08:00
Brandon Philips
3d9fc3846c
fix(scripts/test-cluster): fix backwards logic on peers add
2014-02-06 21:15:38 -08:00
Brandon Philips
8687dd3802
feat(discovery): fully working discovery now
2014-02-05 09:27:39 -08:00
Jared Ravetch
0c8329a3fb
fix(scripts/test-cluster): use v2 flags and find the path for etcd
2014-01-16 16:40:49 -08:00
Brandon Philips
3f3a324108
fix(scripts/test-cluster): use ./bin/etcd now
2014-01-15 17:15:18 -08:00
rwindelz
04ad7a91dd
fix (scripts/release-version.ps1): fix windows build
...
fix reflects changes made in commit
7670c85d70
2014-01-01 21:16:40 -08:00
Ben Johnson
cba2611c68
Renamed configuration parameters.
2013-11-15 00:13:32 -05:00
Brandon Philips
4005312ee5
feat(scripts): add build-release script
2013-11-08 14:08:39 -08:00