Commit Graph

1975 Commits

Author SHA1 Message Date
Ying Li 2f62e8d260 Add JSON marshalling and unmarshalling specify model types as a field on a Table object
Signed-off-by: Ying Li <ying.li@docker.com>
2016-06-09 10:43:47 -07:00
Riyaz Faizullabhoy 0826dbe201 Merge pull request #773 from avaid96/TUF/tuf
TUF changed to Tuf
2016-06-09 10:40:42 -07:00
avaid96 bfab7201b3 Changed the comment inconsistency that caused last circleci build to fail
Signed-off-by: avaid96 <avaid1996@gmail.com>
2016-06-08 19:01:26 -07:00
avaid96 07265a3635 TUF changed to Tuf in all comments and rethink models as per open issue 313
Signed-off-by: avaid96 <avaid1996@gmail.com>
2016-06-08 17:14:08 -07:00
Ying Li 4ad17f6f2a Merge pull request #769 from gtank/go-devel
allow devel builds of go to pass make version check
2016-06-08 12:40:43 -07:00
George Tankersley 53d91279c6 allow devel builds of go to pass make version check
Signed-off-by: George Tankersley <george.tankersley@gmail.com>
2016-06-08 11:56:40 -07:00
Riyaz Faizullabhoy a1f1fb449e Merge pull request #767 from docker/rethinkdb-export-schema
Export rethinkdb table definitions
2016-06-08 10:43:53 -07:00
Riyaz Faizullabhoy 4a1c4c9c85 Export rethinkdb table definitions
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-06-07 12:16:08 -07:00
Ying Li 71a40efa20 Merge pull request #768 from docker/fix-lint
fix lint and circle, edit codecov
2016-06-07 12:00:22 -07:00
Riyaz Faizullabhoy e93a2ea662 fix lint and circle, less aggressive codecov threshold
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-06-06 18:18:20 -07:00
Ying Li 205666e4ff Merge pull request #765 from endophage/passphrase_import
moving the passphrase.Retriever definition so fewer things have a cha…
2016-06-06 09:47:08 -07:00
David Lawrence f1b6097ec0 moving the passphrase.Retriever definition so fewer things have a chained dependency on github.com/docker/docker/pkg/term
Signed-off-by: David Lawrence <dclwrnc@gmail.com> (github: endophage)
2016-06-04 01:51:41 -07:00
David Lawrence 1a700552b2 Merge pull request #755 from andrewhsu/compose-v2
convert docker compose files to v2
2016-06-03 09:19:17 -07:00
David Lawrence 0fb040969d Merge pull request #761 from docker/notary-version-bump
Update NOTARY_VERSION
2016-06-03 09:18:12 -07:00
Andrew Hsu 82e15cc82c rename docker-compose network for mysql
Signed-off-by: Andrew Hsu <andrewhsu@acm.org>
2016-06-01 07:54:46 +00:00
Riyaz Faizullabhoy 8ce539de5b Update NOTARY_VERSION
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-31 17:19:50 -07:00
Andrew Hsu 3d66418f30 remove hostname resolution problem workaround
Signed-off-by: Andrew Hsu <andrewhsu@acm.org>
2016-05-31 16:41:12 +00:00
Andrew Hsu 6458d1f50f convert docker compose files to v2
Signed-off-by: Andrew Hsu <andrewhsu@acm.org>
2016-05-26 23:16:30 +00:00
Ying Li 2989c44576 Merge pull request #760 from endophage/update_docker
updating docker, logrus, viper, cobra, and etcd dependencies
2016-05-26 14:37:22 -07:00
David Lawrence de2c51d43b Merge pull request #756 from docker/run-rethink-integration-tests
Run rethink integration tests
2016-05-26 14:31:01 -07:00
David Lawrence 6d7174c323 updating docker, logrus and etcd dependencies
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-05-26 14:14:26 -07:00
Ying Li f4a68a68ed Merge pull request #757 from endophage/update_distribution
update distribution dependency
2016-05-25 16:15:12 -07:00
Ying Li c7fd4d8fd3 Try a simplified CircleCI with just Docker commands.
Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-25 16:00:56 -07:00
David Lawrence 0abb4a9490 update distribution dependency
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-05-25 15:52:26 -07:00
Ying Li effa539600 Run rethink tests on another container
Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-24 18:13:55 -07:00
Ying Li 3a20b4d10b Bump docker version in CircleCI so we can run rethink integration tests
Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-24 17:31:55 -07:00
Ying Li 4ca754a1e8 Rethink requires that each subsequent replica join another existant replica.
Fix the compose file so that 2 and 3 join 1, otherwise the servers didn't
actually seem to be clustered.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-24 17:31:55 -07:00
David Lawrence 6b743aab30 Merge pull request #746 from docker/get-target-info
Get all Target and Role data for a given target name
2016-05-24 15:00:45 -07:00
Ying Li 2da7f31a68 Merge pull request #729 from cyli/server-gun-prefixes
Server gun prefix requirement feature
2016-05-23 18:59:21 -07:00
Ying Li ef5d62a503 Address code reviews and make the server endpoint list easier to read.
Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-23 13:09:36 -07:00
Ying Li 717ac691ad Propagate any walking errors separately from no-targets-found-errors
Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-23 11:54:13 -07:00
Riyaz Faizullabhoy c4dee70ee9 Test GetAllTargetMetadataByName
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-23 11:40:57 -07:00
Riyaz Faizullabhoy 551a80e8d2 Get all info for a target specified by name
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-23 11:40:57 -07:00
David Lawrence d936174070 Merge pull request #747 from docker/multihash-checking
Utility function for comparing multihash
2016-05-23 11:38:54 -07:00
David Lawrence 85ef61fd03 Merge pull request #751 from docker/fix-compose
Fix the re-think compose file so that all the rdb nodes join the same cluster
2016-05-23 11:38:16 -07:00
Ying Li 451916417b Add config parsing of the gun prefixes to the server command.
Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-20 11:21:00 -05:00
Ying Li b4b2e51502 Update the server to reject operations on images which do not match the prefix.
Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-20 11:21:00 -05:00
Ying Li 5accc1b506 Documentation about new server gun prefix requirement feature
Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-20 11:21:00 -05:00
Ying Li 9974f9b995 Rethink requires that each subsequent replica join another existant replica.
Fix the compose file so that 2 and 3 join 1, otherwise the servers didn't
actually seem to be clustered.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-18 07:29:49 -05:00
Ying Li 0c552e92a4 Explicitly wait for all replicas to be ready on bootstrapping. While this should
be the rethinkdb default, I was running into errors sometimes after bootstrapping -
the signer and servers sometimes can't connect after bootstrapping.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-18 06:14:23 -05:00
Ying Li 9371c49b59 Move the SERVICE_NAME environment variable definitions into the server/signer Dockerfiles
Signed-off-by: Ying Li <ying.li@docker.com>
2016-05-18 05:29:28 -05:00
Riyaz Faizullabhoy 770bb8f8c0 check the intersection of all hash algorithms, given a valid Hashes map
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-13 23:15:30 -07:00
Riyaz Faizullabhoy ade6b0736e Utility function for comparing multihash
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-13 20:11:47 -07:00
Riyaz Faizullabhoy 0256cee017 Merge pull request #740 from docker/rethink-perms
Add separate users to rethinkDB databases with only read/write permissions
2016-05-13 14:17:54 -07:00
Riyaz Faizullabhoy f9cfc7500e Merge pull request #743 from docker/docs-0.3-changelist-summary
Add short changelog update to docs
2016-05-12 13:43:01 -07:00
Riyaz Faizullabhoy d6a189d989 Merge pull request #741 from endophage/changelog-v0.3.0
update changelog for v0.3.0
2016-05-11 17:03:35 -07:00
Riyaz Faizullabhoy 49a7372650 Add short changelog update to docs
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-11 17:03:19 -07:00
David Lawrence 906ada43a8 update changelog for v0.3.0
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-05-11 15:59:05 -07:00
Riyaz Faizullabhoy 8245905aae Add password for server and signer
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-10 18:17:01 -07:00
Riyaz Faizullabhoy db8fa5d3ae Use server and signer users during non-bootstrap connections, bump
gorethink

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-10 15:45:24 -07:00