Commit Graph

1312 Commits

Author SHA1 Message Date
Brendan Burns
c717b872a3 Don't hard code load balancer zone. 2014-07-28 15:54:16 -07:00
Brendan Burns
bab31afa22 Add CLI details to the readme. 2014-07-28 15:46:58 -07:00
Daniel Smith
3b8488028d Add /version to server and check it in client.
Will help detect client/version skew and prevent e2e test from passing
while running a version other than the one you think it's running.
2014-07-28 15:45:25 -07:00
Daniel Smith
9fc52c8aaa Merge pull request #673 from brendandburns/fix
Bail out and print error, if release.sh fails.
2014-07-28 15:40:24 -07:00
Daniel Smith
31a78c3e2b Merge pull request #619 from brendandburns/controller
Make individual controller actions asynchronous.
2014-07-28 15:35:19 -07:00
Brendan Burns
d898fb46cd Exit if release.sh has errors. 2014-07-28 15:24:07 -07:00
Brendan Burns
1a3e4f8baf Add some more synchronization. 2014-07-28 15:05:39 -07:00
brendandburns
1d4ed339c9 Merge pull request #664 from smarterclayton/remove_integration_from_build-go
Remove cmd/integration from hack/build-go.sh
2014-07-28 14:49:31 -07:00
brendandburns
ad40c67693 Merge pull request #655 from smarterclayton/verify_travis_builds
Travis should test that build-go.sh generated something
2014-07-28 14:49:10 -07:00
brendandburns
71b14b464a Merge pull request #623 from smarterclayton/validate_replication_controllers
Add validation to ReplicationControllers
2014-07-28 14:46:47 -07:00
brendandburns
d5a3e8d7cc Merge pull request #640 from rafael/fix-realpath-issue-on-mac
Solve issue with realpath on Mac OS X.
2014-07-28 14:44:45 -07:00
brendandburns
3d03c853d4 Merge pull request #666 from erictune/remove_etcd_proxying
Stopy proxying etcd (localhost:4001) on https:/$MASTER_IP/etcd.
2014-07-28 14:34:54 -07:00
brendandburns
49adee6a63 Merge pull request #668 from smarterclayton/move_contributing
Move CONTRIB{,UTING}.md so GitHub shows it
2014-07-28 14:34:34 -07:00
Clayton Coleman
46bb48cf13 Merge pull request #648 from kelseyhightower/improve_health_test_coverage
health: Improve test coverage
2014-07-28 17:08:33 -04:00
Clayton Coleman
4a8a0e2f0f Move CONTRIB{,UTING}.md so GitHub shows it
Leave an old anchor
2014-07-28 17:06:29 -04:00
brendandburns
fd35c28ef4 Merge pull request #667 from brendandburns/debian
Disable early error exit, since the salt script is broken for now.
2014-07-28 14:02:06 -07:00
Brendan Burns
1530da0053 Disable early error exit, since the salt script is broken for now.
See: https://github.com/saltstack/salt-bootstrap/pull/436
2014-07-28 13:32:00 -07:00
Daniel Smith
c92e8d38b6 Merge pull request #642 from kelseyhightower/cleanup_master_configs
Add master.Config type and cleanup master configuration
2014-07-28 12:53:31 -07:00
Clayton Coleman
f9b6248f26 Travis should test that build-go.sh generated something
Add a new hack/test-cmd.sh that tries to use the generated
executables in a meaningful way.  It does not require Docker
so as to be runnable in Travis
2014-07-28 15:23:17 -04:00
Eric Tune
10a61d05a1 Stopy proxying etcd (localhost:4001) on https:/$MASTER_IP/etcd. 2014-07-28 12:21:06 -07:00
Clayton Coleman
37e5f96074 Merge pull request #661 from csrwng/fix_salt_stack
Temporarily point to older bootstrap script
2014-07-28 15:00:05 -04:00
Clayton Coleman
34c1ad2a07 Remove cmd/integration from hack/build-go.sh
Covered by hack/integration-test.sh in travis
2014-07-28 14:46:28 -04:00
brendandburns
616398987a Merge pull request #643 from zhgwenming/build
Use 'go install' instead of 'go build' to generate all commands at the same time.
2014-07-28 11:44:05 -07:00
Daniel Smith
b3cc696486 All types stored in etcd are now API objects.
This means I made an api.ContainerManifestList, and added a JSONBase to
endpoints (and changed Name -> JSONBase.ID).
2014-07-28 11:27:36 -07:00
Brendan Burns
f1d6069b01 Use Decode/Encode in etcd_tools 2014-07-28 11:27:36 -07:00
brendandburns
d558a93a98 Merge pull request #651 from smarterclayton/allow_api_port_to_change
Allow API_{PORT,HOST} to be changed via hack/local-up
2014-07-28 10:47:39 -07:00
brendandburns
b34a3c8c21 Merge pull request #630 from lavalamp/fuzz
Add go fuzzer in preparation for testing.
2014-07-28 10:44:59 -07:00
brendandburns
f073cee13b Merge pull request #636 from kelseyhightower/load_auth_info_tests
kubecfg: improve tests around authentication
2014-07-28 10:44:27 -07:00
Clayton Coleman
4ee3deaaf7 Merge pull request #647 from kelseyhightower/fix_extra_test_flags
Remove extra test flags from all commands
2014-07-28 12:58:57 -04:00
csrwng
d9ae72d1f0 Temporarily point to older bootstrap script
The most recent saltstack bootstrap file expects a salt-api service to
exist. The most recent Fedora salt-master rpm doesn't include this
service yet. Pointing to the previous version of the bootstrap script.
2014-07-28 12:51:01 -04:00
Dawn Chen
beef874eaa Merge pull request #660 from danmcp/fix_typos
Fixing Typos

Thanks for the fix.
2014-07-28 09:25:38 -07:00
Dan McPherson
c4f4f69b93 Fixing Typos 2014-07-28 15:56:20 +02:00
Clayton Coleman
7ab785dc5f Merge pull request #658 from danmcp/fix_typos
Fixing typos
2014-07-28 09:28:46 -04:00
Dan McPherson
7bbc5e2a19 Fixing typos 2014-07-28 15:15:50 +02:00
Daniel Smith
d09b164e67 Add TODOs, clean up, clarify comments, and add one more test. 2014-07-27 19:32:37 -07:00
Albert Zhang
0375709fa3 Use 'go install' to build all commands at the same time.
'go build' compiles the packages but discards the results if multiple packages specified.
2014-07-27 22:20:13 -04:00
Clayton Coleman
5bc19584a5 Update Service and ReplControllers to validate
Validations are performed on update and on create.
2014-07-27 19:55:03 -04:00
Clayton Coleman
f91bfe2e00 Merge pull request #645 from brendandburns/integration
Add a sanity check for existing etcd servers to the integration test script
2014-07-27 19:48:04 -04:00
Clayton Coleman
5d12b63bdf Merge pull request #650 from smarterclayton/use_constant_code
Use http.StatusInternalServerError instead of 500
2014-07-27 19:43:15 -04:00
Daniel Smith
a14a6f5a2c Merge pull request #652 from kelseyhightower/fix_readme_typo
Fix typo in README
2014-07-27 15:18:15 -07:00
Daniel Smith
aa92dd7fb2 Add go fuzzer in preparation for testing. Also gofmt a few files that needed it. 2014-07-27 14:54:48 -07:00
Kelsey Hightower
87fa19cdfe Remove extra test flags from all commands
Currently all commands are being build with extra flags. The extra
flags appear because of a direct import of the testing package from
the fake_etcd_client.go source file.

Remove the direct import of the testing package. Add a tools.T
interface to support existing behavior. Also clean up two TODO items
by remove using of the expectError and expectNoError functions.

Fixes #579
2014-07-27 14:19:18 -07:00
Kelsey Hightower
7b59845843 volume: improve test coverage and minor refactoring
The volume package does not test enough use-cases.

Improve test coverage by adding additional tests and refactoring
current tests to use table testing.

This change introduces a new error var to make testing unsupported
volume type errors easier.

This change does not introduce any changes in behavior.
2014-07-27 14:11:19 -07:00
Kelsey Hightower
fe7e9434b6 Fix typo in README 2014-07-27 13:36:23 -07:00
Clayton Coleman
7a63b53ee2 Allow API_PORT to be changed via hack/local-up 2014-07-27 15:38:12 -04:00
Clayton Coleman
1047c57c6d Use http.StatusInternalServerError instead of 500 2014-07-27 15:37:03 -04:00
Kelsey Hightower
c860ac3afc health: Improve test coverage 2014-07-27 08:44:59 -07:00
Brendan Burns
ea15e6709c Add a sanity check for running etcd servers to the integration test script. 2014-07-26 22:31:30 -07:00
Kelsey Hightower
1ca199379f kubecfg: improve tests around authentication
This change adds additional test coverage for the kubecfg
command. There is now a test for the case when the auth info
file does not exist. LoadAuthInfo tests have been refactored
to use table testing.
2014-07-26 22:21:17 -07:00
Kelsey Hightower
6d1be5f0ee Add master.Config type and cleanup master configuration
Setting up a new master.Master instance requires passing
around too many arguments.

Add a master.Config type and group related master configs.
Refactor all commands to instantiate new masters using a
master.Config struct.
2014-07-26 22:07:24 -07:00