698ec7f7d5
scripts/updatebom.sh: remove "./cmd/vendor"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 15:26:17 -08:00
505d24c463
scripts/updatedep.sh: use "golang/dep"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 15:26:16 -08:00
2b6fd3094f
*: rename "snap" to "raftsnap" package
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 10:26:07 -08:00
fd16656af1
scripts/genproto: use "grpc-gateway" v1.3.1
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-09 12:41:49 -08:00
7800fd9fff
scripts/genproto: require protoc 3.5.1
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-31 13:20:40 -08:00
3518351a24
scripts: remove ACI build scripts
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-20 15:35:11 -08:00
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
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
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
c0c19465fc
*: upgrade grpc-gateway to v1.3
2017-11-08 18:38:41 -08:00
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
e5aa938fec
scripts: generate swagger with authorization support
2017-06-15 13:41:43 -04:00
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
4ebeba0e18
*: regen protofiles with latest protobuf tools
2017-06-12 15:14:43 -07:00
85f433232a
*: clear rarer shellcheck errors on scripts
...
Clean up the tail of the warnings
2017-06-06 09:36:25 -07:00
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
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
10b1ba7886
Documentation, scripts: regenerate protobuf docs with updated protodoc
2017-05-19 14:57:16 -07:00
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
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
6c1ce697a6
scripts: annotate with acbuild with supports-systemd-notify
...
Fixes #7840
2017-05-01 12:59:08 -07:00
76fb6ebcbb
scripts: remove testify hack in updatedep
2017-04-22 20:29:58 -07:00
07c07cea25
release: Add multi arch support
...
Signed-off-by: Geoff Levand <geoff@infradead.org >
2017-04-21 10:04:41 -07:00
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
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
fb6287240f
build-binary: Add arm64
...
Signed-off-by: Geoff Levand <geoff@infradead.org >
2017-04-21 10:04:41 -07:00
fd11523af9
scripts: move gateway stubs into gw/ packages
2017-04-19 12:50:04 -07:00
78a5eb79b5
*: add swagger and grpc-gateway assets for v3lock and v3election
2017-04-10 15:21:07 -07:00
9ba69ff317
scripts: update genproto.sh to include v3election
2017-04-07 16:36:38 -07:00
1ff0b71b30
*: use protoc 3.2.0
...
Fixes #7631
2017-03-30 13:43:10 -07:00
c737bf3d2a
scripts: generate lock service rpc stubs
2017-03-13 15:23:26 -07:00
633cfbe241
script: Build docker image for ppc64le
2017-02-27 19:04:32 -05:00
5d41e7f09b
scripts: Add support to build ppc64le binary for release
2017-02-02 00:45:56 +05:30
de58a9c733
scripts: use glide update if repo exists in glide.lock
2016-12-08 14:26:29 -08:00
baa4e4ee56
scripts/genproto: update gogo/protobuf, grpc-gateway
2016-11-10 12:02:00 -08:00
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
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
791aeb39a6
Merge pull request #6653 from gyuho/acbuild
...
acbuild: add symlinks to /usr/local/bin/etcd*
2016-10-21 10:48:08 -07:00
0bd9179835
release: build binary without symbols for debug
2016-10-19 09:45:10 -07:00
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
def1a3b77f
script/updatedep: update glide, glide-vc version
2016-10-10 11:11:58 -07:00
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
8174fcf201
scripts/genproto: use 'gopath.proto' for $GOPATH
2016-10-03 15:34:31 -07:00
fd0539c8cc
scripts, doc: remove actool references
...
Since c597d591b5
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
ddf65421e7
scripts: use glide in updatedep.sh
2016-08-15 14:04:03 -07:00
6e95ce26fb
scripts/genproto: use latest grpc-gateway c8ec92d0
2016-07-27 13:20:15 -07:00
38b69a9301
scripts:genproto.sh: update grpc-gateway
2016-07-23 16:18:42 -07:00
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
4a7b730e69
scripts: update genproto with grpc-ecosystem
2016-07-15 13:21:41 -07:00
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