Commit Graph

783 Commits

Author SHA1 Message Date
Tim Hockin
2eb2784725 Validation of HostPorts and Manifest IDs
Check that HostPorts are unique across the whole host and that Manifest IDs
are unique.
2014-07-08 15:22:47 -07:00
Tim Hockin
ad88fa48a5 Add validation of Ports
Also do caseless compares for "enum" strings.
2014-07-08 15:22:44 -07:00
Tim Hockin
dd6b209617 Add validation of VolumeMounts 2014-07-08 15:21:27 -07:00
Tim Hockin
8d6e832b8e Simplify DNS validation checks
Move DNS length checks to util/validation.go.  Make the max subdomain be 253,
which is what the RFC actually says.
2014-07-08 15:14:17 -07:00
brendandburns
40c71e8292 Merge pull request #372 from yugui/feature/golint
Fixes Go lint errors.
2014-07-08 12:55:41 -07:00
Tim Hockin
92cf6662ed Merge pull request #351 from discordianfish/use-api-for-pull
Use api for pulling images instead of shelling out
2014-07-08 09:08:12 -07:00
Tim Hockin
04d11beb54 Merge pull request #373 from yugui/fix/examples
Fixes a syntax error of api/examples/service.json
2014-07-08 08:47:21 -07:00
Johannes 'fish' Ziemke
b63a275ec3 Add how to install deps 2014-07-08 12:21:44 +02:00
Johannes 'fish' Ziemke
3fa6c9671d Use docker client lib instead of binary for pulls 2014-07-08 12:21:39 +02:00
Yuki Yugui Sonoda
c9676aa2d5 Periodically shows message while waiting for completion of REST
operations so that users understand what is happening.
2014-07-08 16:41:24 +09:00
Yuki Yugui Sonoda
df388ef485 Fixes a syntax error of api/examples/service.json 2014-07-08 16:27:58 +09:00
Yuki Yugui Sonoda
325c5cd47e Fixes golint errors in pkg/client 2014-07-08 16:15:41 +09:00
Yuki Yugui Sonoda
5cfbed4453 Fixes golint errors in pkg/apiserver 2014-07-08 16:10:11 +09:00
Yuki Yugui Sonoda
780c441d19 Fixes golint errors in pkg/api 2014-07-08 16:08:58 +09:00
Yuki Yugui Sonoda
c25f44c137 Fixes golint errors in cmd/. 2014-07-08 16:08:24 +09:00
Tim Hockin
28f7d60965 Merge pull request #366 from brendandburns/timeout
Add some more logging to better understand integration test timeouts.
2014-07-07 16:45:43 -07:00
Brendan Burns
a77248eb6f Add some more logging to better understand integration test timeouts. 2014-07-07 13:57:25 -07:00
Tim Hockin
9de391b99a Merge pull request #364 from brendandburns/timeout
Make poll period and timeout configurable.
2014-07-07 10:23:57 -07:00
Brendan Burns
e3838e1153 Make poll period and timeout configurable.
Make poll period short for integration testing.
2014-07-07 10:13:27 -07:00
Tim Hockin
b4bbb39c58 Merge pull request #346 from brendandburns/dockerbuild
Update the docker build pipeline.
2014-07-07 10:11:49 -07:00
Brendan Burns
d6ee4f68cb Update the docker build pipeline.
Add a master manifest.
2014-07-07 10:10:05 -07:00
Tim Hockin
d205065284 Merge pull request #359 from smarterclayton/allow_test_opts
Allow hack/test-go.sh to support flags
2014-07-07 09:43:33 -07:00
Clayton Coleman
8b06cd8e01 Allow hack/test-go.sh to support flags
Pass arguments after the package directly to go test

    hack/test-go.sh pkg/util -v -test.run=TestNewStringSet

And also allow global flags

    hack/test-go.sh "" -v
2014-07-07 09:30:44 -04:00
brendandburns
9d001564bf Merge pull request #355 from brendandburns/kubecfg
Make sync false by default.  Works around timeout/retry issues.
2014-07-03 23:25:32 -07:00
Brendan Burns
2f5eeee1f6 Make sync false by default. Works around timeout/retry issues. 2014-07-03 21:23:21 -07:00
brendandburns
9a1053de7c Merge pull request #348 from monnand/race-controller
fix data races and turn on race detector by default.
2014-07-03 14:21:17 -07:00
brendandburns
529f3455a5 Add a note about pre-production. 2014-07-03 14:10:20 -07:00
Nan Deng
903c4a957c remove 1.2 2014-07-02 23:27:00 -07:00
Nan Deng
e444bf23f6 turn off code cover. 2014-07-02 23:23:14 -07:00
Nan Deng
b351578ddd fix data race in config.go. This is a hard one. 2014-07-02 23:23:14 -07:00
Nan Deng
aa808a6505 fix data race introduced by 1798e0f 2014-07-02 23:23:14 -07:00
Nan Deng
0a97e514b3 turn on race detector by default 2014-07-02 23:22:09 -07:00
Nan Deng
e13e31866d fix data races in controller 2014-07-02 23:22:09 -07:00
brendandburns
bf44347340 Merge pull request #350 from brendandburns/async
Fix an error in the async-path that led to dropping pods.
2014-07-02 23:15:35 -07:00
Brendan Burns
0655370ea2 Fix an error in the async-path that led to dropping pods. 2014-07-02 23:05:30 -07:00
brendandburns
d386c02dfd Merge pull request #328 from monnand/root-container
Get root container stats from cAdvisor
2014-07-02 22:57:28 -07:00
Nan Deng
42fd4383a1 Get machine stats from cAdvisor 2014-07-02 16:59:50 -07:00
brendandburns
1fc71893cf Merge pull request #344 from lavalamp/version
A package to get version information from
2014-07-02 16:41:18 -07:00
brendandburns
0b9f36b761 Merge pull request #307 from lavalamp/atomic
All PUTs now atomic
2014-07-02 16:31:35 -07:00
Daniel Smith
126b185053 Merge pull request #343 from thockin/valid2
Use structured errors during validation
2014-07-02 16:25:18 -07:00
Tim Hockin
3f057baa0a Use structured errors during validation 2014-07-02 16:17:47 -07:00
Daniel Smith
3b9735d787 Test atomic PUTs, and make them work.
Improve apiserver/logger.go's interface (it's pretty cool now).

Improve apiserver's error reporting to clients.

Improve client's handling of errors from apiserver.

Make failed PUTs return 409 (conflict)-- http status codes are amazingly
well defined for what we're doing!
2014-07-02 15:42:05 -07:00
Daniel Smith
a6144f656c Move etcd helpers to tools package so they can depend on api package. Add ResourceVersion, hook it up to etcd index to get atomic PUTs. 2014-07-02 15:42:05 -07:00
Daniel Smith
60f05c8d8d update version package when building. 2014-07-02 15:32:30 -07:00
Tim Hockin
a1be413cb3 Merge pull request #342 from thockin/valid2
Simplify supported manifest versions
2014-07-02 15:32:02 -07:00
Daniel Smith
68bef4ac0c add version package 2014-07-02 15:26:13 -07:00
Tim Hockin
3cd56e85d6 Simplify supported manifest versions 2014-07-02 14:57:24 -07:00
Daniel Smith
0ee696c9c4 Merge pull request #337 from proppy/manifest-schema
api/doc: add manifest schema
2014-07-02 13:58:53 -07:00
brendandburns
94e1d26992 Merge pull request #340 from thockin/cleanups
nit: s/Id/ID/ for go style
2014-07-02 13:10:13 -07:00
Tim Hockin
d3da6b168e nit: s/Id/ID/ for go style 2014-07-02 11:21:29 -07:00