Ying Li
df95dc4564
Add a DB health check to the server storage DB
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-13 11:28:14 -07:00
David Lawrence
a16bd17b97
Merge pull request #216 from mtrmac/circleci-imports
...
Use canonical import paths instead of forked repo name
2015-10-13 10:20:57 -07:00
Miloslav Trmač
18da3f6537
Use canonical import paths instead of forked repo name
...
The code referes to canonical import paths, so the code needs to be
available there even if CircleCI is building from a forked repository.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2015-10-13 16:12:59 +02:00
Ying Li
d545cdd3fd
Merge pull request #210 from docker/client-side-config
...
Adding client-side root-ca server and server config
2015-10-12 18:46:40 -07:00
Ying Li
27e3d7e06c
Update README with docker-machine instructions
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 18:41:31 -07:00
Diogo Monica
b18e890e1c
Changing the default config to point to notary-server
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-10-12 18:21:39 -07:00
Diogo Monica
70fe89f69c
Adding check for relative VS full path
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-10-12 18:15:38 -07:00
Diogo Monica
11f823cf2a
Changed README to reflect the new defaults
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-10-12 17:14:26 -07:00
Diogo Monica
8299e01b0a
Fixed comments, changed default config
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-10-12 17:14:23 -07:00
Diogo Monica
c5e3580189
Added base signer Dockerfile, and changed base to be go 1.5.1
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-10-12 17:13:39 -07:00
Diogo Monica
aeb96f27a2
Adding client-side root-ca server and config
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-10-12 17:13:39 -07:00
Ying Li
85a447f701
Clean up SQLStorage docstring to refer to the model
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 17:10:33 -07:00
Ying Li
4eaf6dc15c
Add migrate to the sample mysql container
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 16:50:25 -07:00
Ying Li
7fa991c3ff
Gormizes the server database and make it SQL-DB agnostic.
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 16:45:41 -07:00
Ying Li
75893ffed3
Merge pull request #211 from cyli/gormize-server-db-tests
...
Convert the server DB tests to use GORM with SQLite3 instead of sqlmock
2015-10-12 16:27:37 -07:00
Ying Li
87ec8a25bf
Use NULL DEFAULT NULL instead of NULL for timestamps
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 16:03:56 -07:00
Ying Li
e8528ec391
Attempt to match the model exactly up with the initial sql + the
...
migrate sql.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 15:44:00 -07:00
Ying Li
1bb1f1acd2
Refactor server/storage models to use gorm.Model and to be in their
...
file.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 14:28:20 -07:00
Diogo Mónica
8b17a84aa0
Small fixes to the README
2015-10-12 12:14:50 -07:00
Diogo Mónica
ee8cb1e2cb
Changed CircleCI location
2015-10-12 12:14:19 -07:00
Diogo Mónica
aac911c91c
Merge pull request #214 from vikstrous/fix_makefile
...
Revert "add `make install`, fix #202"
2015-10-12 10:08:11 -07:00
Viktor Stanchev
48e6ecedca
Revert "add `make install`, fix #202"
...
This reverts commit 77a16d3116
.
Signed-off-by: Viktor Stanchev <me@viktorstanchev.com>
2015-10-12 10:04:31 -07:00
Diogo Mónica
f70a03fb64
Merge pull request #209 from endophage/key_rotation
...
Strawman for targets and snapshot key rotation
2015-10-11 12:01:15 -07:00
Diogo Mónica
c61b9c6f30
Merge pull request #212 from vikstrous/badge
...
add circle ci badge
2015-10-11 11:59:52 -07:00
Viktor Stanchev
987db9e9bf
add circle ci badge
...
Signed-off-by: Viktor Stanchev <me@viktorstanchev.com>
2015-10-10 22:51:18 -07:00
Ying Li
01f7adc80c
Document the intended behavior of each function in the storage
...
interface.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-10 18:44:44 -07:00
David Lawrence
e587b0427a
test for key rotation
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 22:53:57 -07:00
Ying Li
99cac889b1
Add some more tests for storing TUF files in the db
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-09 22:48:21 -07:00
David Lawrence
98cde51f18
working basic key rotation for targets and snapshot key. Command is 'notary key rotate [GUN]'
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 20:35:06 -07:00
David Lawrence
ac54370fb0
cleanup after discussing with Diogo
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 19:40:36 -07:00
David Lawrence
009400650e
minor tweaks to key rotation
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 19:24:08 -07:00
David Lawrence
959d0267ac
command skeletons in place, changelist actions implemented
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 19:24:08 -07:00
David Lawrence
83f96997d3
changelist management of key rotation
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 19:23:47 -07:00
David Lawrence
c3f39e1e06
Merge pull request #208 from docker/no-warnings-makefile
...
Fixing makefile warnings
2015-10-09 19:20:45 -07:00
Diogo Mónica
a4048f543d
Merge pull request #206 from ryancox/master
...
Add support for 'notary status' command
2015-10-09 19:08:35 -07:00
Diogo Monica
b220d57783
Fixing makefile warnings
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-10-09 15:47:47 -07:00
Ying Li
5f70699937
Add more tests for UpdateCurrent
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-09 12:19:17 -07:00
Diogo Mónica
e62151e348
Merge pull request #207 from vikstrous/make_install
...
add `make install`, fix #202
2015-10-09 11:33:41 -07:00
Viktor Stanchev
77a16d3116
add `make install`, fix #202
...
Signed-off-by: Viktor Stanchev <me@viktorstanchev.com>
2015-10-09 11:05:08 -07:00
Ying Li
31bb0b0525
Do more verifications on the server store DB tests using gorm
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-08 23:20:48 -07:00
Ryan Cox
7bee606f43
Add support for 'notary status' command to show details about unpublished changes
...
Signed-off-by: Ryan Cox <ryan.a.cox@gmail.com>
2015-10-08 22:07:36 -07:00
Diogo Mónica
53467fd417
Merge pull request #85 from docker/simple_test_script
...
add a simple test script, eventually this can grow to be our CI script
2015-10-08 16:58:44 -07:00
Diogo Mónica
258e5c645e
Merge pull request #201 from vikstrous/vikstrous-patch-1
...
Mention how to connect to local notary in README
2015-10-08 16:58:03 -07:00
Ying Li
d092f78f05
Merge pull request #205 from cyli/signer-healthcheck
...
Adding a DB check to the signer health check
2015-10-08 16:53:57 -07:00
Ying Li
06e21a234c
Convert server/storage/database tests to use SQLite3
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-08 16:42:05 -07:00
Ying Li
a70605a9e6
Shorten health check name and remove redundant logging
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-08 15:42:14 -07:00
Diogo Mónica
b4e1c80fc4
Merge pull request #203 from cyli/osx-getting-started
...
More details in the README on how to compile notary and run the README example
2015-10-08 14:23:34 -07:00
Ying Li
77fa33f737
Update godeps
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 21:00:20 -07:00
Ying Li
2740fd011a
Fix docstring comment
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 21:00:01 -07:00
Ying Li
815675eea9
After upgrading grpc, update how the server is set up with TLS for the signer
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 20:52:48 -07:00