Gyu-Ho Lee
791aeb39a6
Merge pull request #6653 from gyuho/acbuild
...
acbuild: add symlinks to /usr/local/bin/etcd*
2016-10-21 10:48:08 -07:00
Gyu-Ho Lee
0bd9179835
release: build binary without symbols for debug
2016-10-19 09:45:10 -07:00
Gyu-Ho Lee
522be31192
acbuild: add symlinks to /usr/local/bin/etcd*
...
And uses latest acbuild (v0.4.0, --to-dir flag is deprecated).
For https://github.com/coreos/etcd/issues/6057 .
2016-10-14 10:35:26 -07:00
Gyu-Ho Lee
def1a3b77f
script/updatedep: update glide, glide-vc version
2016-10-10 11:11:58 -07:00
Ben Darnell
ef4e3ef55a
scripts: Don't erase gopath.proto after genproto.sh
...
Wiping gopath.proto after a successful run does nothing but slow down
the next run unnecessarily as it downloads everything again.
2016-10-10 11:33:43 +08:00
Gyu-Ho Lee
8174fcf201
scripts/genproto: use 'gopath.proto' for $GOPATH
2016-10-03 15:34:31 -07:00
Jonathan Boulle
fd0539c8cc
scripts, doc: remove actool references
...
Since c597d591b56a2a9ed355c57a717d1b2ed4c31aa9 the release script uses
acbuild instead of actool, so purge all the references and have the
release script check for acbuild's presence instead.
2016-09-06 17:47:41 +02:00
Gyu-Ho Lee
ddf65421e7
scripts: use glide in updatedep.sh
2016-08-15 14:04:03 -07:00
Gyu-Ho Lee
6e95ce26fb
scripts/genproto: use latest grpc-gateway c8ec92d0
2016-07-27 13:20:15 -07:00
Xiang Li
38b69a9301
scripts:genproto.sh: update grpc-gateway
2016-07-23 16:18:42 -07:00
Gyu-Ho Lee
6e53f75092
scripts: update gogo/protobuf, use 'gofast' plugin
...
- Fix https://github.com/coreos/etcd/issues/5942
- Partial fix for https://github.com/coreos/etcd/issues/5865
2016-07-18 09:31:27 -07:00
Gyu-Ho Lee
4a7b730e69
scripts: update genproto with grpc-ecosystem
2016-07-15 13:21:41 -07:00
Gyu-Ho Lee
8a71f749d7
*: separate Dockerfile for quay build trigger
...
Fix https://quay.io/repository/coreos/etcd-git/build/d75d80b1-7d8d-42bd-af07-645b7da3a118 .
2016-06-24 12:55:10 -07:00
Gyu-Ho Lee
eaa72dfa0b
Merge pull request #5709 from gyuho/docker
...
update: Dockerfile, documentation
2016-06-18 19:57:34 -07:00
Gyu-Ho Lee
eec706b9ae
etcdserverpb: generate Swagger API JSON
2016-06-17 15:19:32 -07:00
Gyu-Ho Lee
c25ff426af
Dockerfile: build image with alpine
2016-06-17 14:42:40 -07:00
Gyu-Ho Lee
b0d7455fb1
scripts: use latest gogo/protobuf for proto files
...
For https://github.com/coreos/etcd/issues/5671 .
2016-06-17 10:21:18 -07:00
Gyu-Ho Lee
d26d006fd6
scripts: use latest protodoc to skip grpc-gateway
...
protodoc now skips grpc-gateway options
2016-06-16 11:57:05 -07:00
Xiang Li
5a7b7f7595
main: add grpc-gateway support
...
Now etcd can serve HTTP json request at /v3alpha/
2016-06-14 17:09:06 -07:00
Gyu-Ho Lee
232c1914d2
scripts: include v2 README in the release
2016-06-01 19:12:34 -07:00
Hitoshi Mitake
db9ccb75bf
scripts: pass -u to go get in genproto.sh
...
Current genproto.sh doesn't pass -u option to go get. It is
problematic because the script depends on a specific version of
gogoproto. Actually it causes build error if a repository already have
an old version of gogoproto that doesn't have a specified commit
($SHA). This commit lets the script pass -u to go get for avoid the
error.
2016-05-18 11:38:51 +09:00
Gyu-Ho Lee
b1f95c314b
*: fix protodoc, consistent casing in api doc
...
There was a bug in protodoc.
This changes git SHA to use the latest protodoc.
And make the letter casing consistent with original
Protocol Buffer. Go capitalizes the member variables,
but the protocol buffer documentation should be same as
original proto files.
2016-05-12 16:23:29 -07:00
Anthony Romano
dcb3b7aecf
*: scrub legacy ports from code and scripts
2016-05-11 13:46:30 -07:00
Gyu-Ho Lee
6222d46233
scripts/genproto.sh: update protodoc git SHA
...
To use protodoc with the fix
58fed2ed06
.
This correctly parses the order of values in 'directories' flag.
2016-05-02 23:00:40 -07:00
Anthony Romano
b7ac758969
*: rename storage package to mvcc
2016-04-25 15:25:51 -07:00
Gyu-Ho Lee
82ef33a8d3
scripts: update genproto with new gogoproto hash
2016-04-25 14:07:40 -07:00
Xiang Li
bfd6465ea3
docs: update docs.md and create subdirs
2016-04-22 16:58:03 -07:00
Gyu-Ho Lee
2751a10db6
*: change Protocol Buffer documentation title
2016-04-21 19:58:41 -07:00
Gyu-Ho Lee
753630dc37
*: Protocol Buffer docs auto-generate script
2016-04-21 19:14:21 -07:00
Anthony Romano
ac232ac9a7
scripts: updatedep.sh to update vendored dependencies
...
Running godep in the vendored cmd directory will try to pull etcd in
as a dependency. As a fix, this script safely vendors into cmd.
2016-04-07 10:28:33 -07:00
Hitoshi Mitake
8874545a1e
*: support adding user in v3 auth
...
This commit adds a new subcommand "user add" to etcdctlv3. With the
command users can create a user for the authentication.
Example of usage:
$ etcdctlv3 user add user1
Password of user1:
Type password of user1 again for confirmation:
2016-03-27 18:11:42 +09:00
Hitoshi Mitake
0436223793
scripts: update genproto.sh for vendor
...
Current genproto.sh assumes Godep so its output files have obsolete
parts.
2016-03-24 14:30:46 +09:00
Hitoshi Mitake
be9c9ae7d5
scripts: get goimports in genproto.sh
...
genproto.sh uses goimports. Getting the command in the script is
useful.
2016-02-04 00:37:50 +09:00
Gyu-Ho Lee
1c4c45cc7a
scripts: update genproto for import issue
2016-01-26 17:41:12 -08:00
Xiang Li
25f82b25f7
lease: modify API and persist lease to disk
2016-01-05 10:09:42 -08:00
Derek Gonyeo
c597d591b5
scripts: rewrote build-aci to use acbuild
2015-12-21 10:15:08 -08:00
Jonathan Boulle
dd0932a78d
scripts: clean up genproto
...
Rather than copying in .proto files, use the same symlink
trick we do for doing the actual etcd build.
Also check for exact version of protoc early on.
2015-11-16 15:26:22 -08:00
Jonathan Boulle
de0cb472be
scripts: enforce genproto.sh is run from repo root
2015-11-06 16:13:24 +01:00
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