Gyuho Lee
b1c6b98f3d
scripts/genproto: require protoc 3.5, update gogo/proto
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 21:31:13 -08:00
Gyu-Ho Lee
aca39e2ae1
scripts/build-docker: build both gcr.io and quay.io images
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-28 15:02:09 -08:00
Gyu-Ho Lee
ec881b0507
scripts/genproto: upgrade protoc to 3.4
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-08 18:50:29 -08:00
tamal
c0c19465fc
*: upgrade grpc-gateway to v1.3
2017-11-08 18:38:41 -08:00
Anthony Romano
9abe9da9db
*: fix shellcheck warnings
...
Fixes scripts and removes shellcheck warning suppressions.
* regexp warnings
* use ./*glob* so names don't become options
* use $(..) instead of legacy `..`
* read with -r to avoid mangling backslashes
* double quote to prevent globbing and word splitting
2017-09-06 19:18:04 -07:00
Sam Batschelet
e5aa938fec
scripts: generate swagger with authorization support
2017-06-15 13:41:43 -04:00
Geoff Levand
e402606f02
build-aci: Fix ACI image name
...
The appc discovery spec states that the architecture specifier in the ACI
image file name will be an ACI architecture value. Our build scripts were
using GOARCH in the image name, which is incorrect for arm64/aarch64.
See: https://github.com/appc/spec/blob/master/spec/discovery.md
Fixes errors like these on arm64 machines:
$ rkt --debug --insecure-options=image fetch coreos.com/etcd:v3.2.0-rc.1
image: remote fetching from URL "https://github.com/coreos/etcd/releases/download/v3.2.0-rc.1/etcd-v3.2.0-rc.1-linux-aarch64.aci "
fetch: bad HTTP status code: 404
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-06-13 13:09:02 -07:00
Anthony Romano
4ebeba0e18
*: regen protofiles with latest protobuf tools
2017-06-12 15:14:43 -07:00
Anthony Romano
85f433232a
*: clear rarer shellcheck errors on scripts
...
Clean up the tail of the warnings
2017-06-06 09:36:25 -07:00
Anthony Romano
1be245269e
scripts, Documentation: fix swagger generation
...
Changes to the genproto to support splitting out the grpc-gateway broke
swagger generation.
2017-06-02 10:54:05 -07:00
Anthony Romano
156612bb25
Documentation, scripts: regen RPC docs
...
Was missing the new cancel_reason field. Also includes updated protodoc
sha to fix generating documentation for upcoming txn compare range patchset.
2017-06-02 10:15:12 -07:00
Anthony Romano
10b1ba7886
Documentation, scripts: regenerate protobuf docs with updated protodoc
2017-05-19 14:57:16 -07:00
Gyu-Ho Lee
8c9f01ef53
scripts: add 'BOM' update script
...
Need this script when we add external dependencies.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-08 17:59:11 -07:00
Gyu-Ho Lee
e9a63473a0
scripts,travis: install 'marker' for CI tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-04 08:26:00 -07:00
Anthony Romano
6c1ce697a6
scripts: annotate with acbuild with supports-systemd-notify
...
Fixes #7840
2017-05-01 12:59:08 -07:00
Anthony Romano
76fb6ebcbb
scripts: remove testify hack in updatedep
2017-04-22 20:29:58 -07:00
Geoff Levand
07c07cea25
release: Add multi arch support
...
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-04-21 10:04:41 -07:00
Geoff Levand
0c8988aa07
build-docker: Updates for multi-arch release
...
o Set -e to abort script if a command fails.
o Allow custom docker 'TAG' from the environment.
o Move arch suffix to version to allow all images to
be put into a single repository.
o Enable cross builds. When doing cross builds where the
host and target architectures are different 'RUN mkdir'
will fail since the target container cannot be run on
the host. To work around this, create the directories
in build-docker, then use ADD in the Dockerfile.
o Add Dockerfile-release.arm64
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-04-21 10:04:41 -07:00
Geoff Levand
8309ca92d7
build-aci: Add multi arch support
...
Uses GOARCH to build for a targeted arch.
Usage: GOARCH=... BINARYDIR=... BUILDDIR=... ./scripts/build-aci version
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-04-21 10:04:41 -07:00
Geoff Levand
fb6287240f
build-binary: Add arm64
...
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-04-21 10:04:41 -07:00
Anthony Romano
fd11523af9
scripts: move gateway stubs into gw/ packages
2017-04-19 12:50:04 -07:00
Anthony Romano
78a5eb79b5
*: add swagger and grpc-gateway assets for v3lock and v3election
2017-04-10 15:21:07 -07:00
Anthony Romano
9ba69ff317
scripts: update genproto.sh to include v3election
2017-04-07 16:36:38 -07:00
Anthony Romano
1ff0b71b30
*: use protoc 3.2.0
...
Fixes #7631
2017-03-30 13:43:10 -07:00
Anthony Romano
c737bf3d2a
scripts: generate lock service rpc stubs
2017-03-13 15:23:26 -07:00
Manjunath A Kumatagi
633cfbe241
script: Build docker image for ppc64le
2017-02-27 19:04:32 -05:00
Manjunath A Kumatagi
5d41e7f09b
scripts: Add support to build ppc64le binary for release
2017-02-02 00:45:56 +05:30
Anthony Romano
de58a9c733
scripts: use glide update if repo exists in glide.lock
2016-12-08 14:26:29 -08:00
Gyu-Ho Lee
baa4e4ee56
scripts/genproto: update gogo/protobuf, grpc-gateway
2016-11-10 12:02:00 -08:00
Gyu-Ho Lee
4cf5b76d18
scripts/updatedep: work around 'testify/assert'
...
'glide vc --no-tests' flag removes 'testify/assert' deps
in v2 client. Until we deprecate v2 tests, just copy the
necessary files as workaround.
And remove '--skip-tests' flags in case we add dependencies
in test files.
2016-11-09 15:59:34 -08:00
fanmin shi
c2fd42b556
etcdserver, clientv3: add "!=" to txn
...
adding != to compare is a requested functionality from a etcd user
FIX #6719
2016-11-09 14:28:36 -08:00
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