Sebastiaan van Stijn
|
b5dce3c9e6
|
cli/command/trust: remove deprecated io/ioutil and use t.TempDir()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2022-02-25 15:42:12 +01:00 |
Sebastiaan van Stijn
|
719169db63
|
Replace deprecated Cobra command.SetOutput() with command.SetOut()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-05-07 14:25:59 +02:00 |
Sebastiaan van Stijn
|
2c0e93063b
|
bump gotest.tools v3.0.1 for compatibility with Go 1.14
full diff: https://github.com/gotestyourself/gotest.tools/compare/v2.3.0...v3.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-02-23 00:28:55 +01:00 |
Sebastiaan van Stijn
|
8de0753869
|
Merge pull request #1112 from n4ss/fix-trust-signer-remove
Fix docker trust signer removal
|
2018-06-15 08:18:29 -07:00 |
Vincent Demeester
|
2c4de4fb5e
|
Update tests to use gotest.tools 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
|
2018-06-08 18:24:26 +02:00 |
Nassim 'Nass' Eddequiouaq
|
2b3361cc1a
|
Move the successful removal print
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
|
2018-06-08 09:21:36 -07:00 |
Nassim 'Nass' Eddequiouaq
|
5ebb7a65ab
|
Fix tests and nit
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
|
2018-06-06 07:25:25 -07:00 |
Nassim 'Nass' Eddequiouaq
|
448082f333
|
Fix docker trust signer removal
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
|
2018-06-05 16:04:41 -07:00 |
Vincent Demeester
|
6e21829af4
|
Refactor content_trust cli/flags handling
Remove the global variable used. Allows easier unit testing.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
|
2018-03-08 15:00:43 -05:00 |
Daniel Nephin
|
e15b208e96
|
Convert assert.Check(t, is.Error()) to assert.Error
git grep -l -P '^\s+assert\.Check\(t, is\.Error\(' | \
xargs perl -pi -e 's/^(\s+assert\.)Check\(t, is\.Error\((.*)\)$/\1Error(t, \2/'
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-06 16:00:28 -05:00 |
Daniel Nephin
|
baf65a5502
|
Convert to assert.NilError
Using:
git grep -l '^\s\+assert\.Check(t, err)$' | \
xargs sed -i -e 's/^\(\s\+assert\)\.Check(t, err)$/\1.NilError(t, err)/'
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-06 15:27:34 -05:00 |
Daniel Nephin
|
681c921528
|
Remove testutil
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-06 14:38:35 -05:00 |
Daniel Nephin
|
39c2ca57c1
|
Automated migration
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-05 19:41:17 -05:00 |
Sebastiaan van Stijn
|
6cd58063fa
|
Move notary to its new location
The https://github.com/docker/notary repository has moved to
https://github.com/theupdateframework/notary
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2017-10-30 17:21:41 +01:00 |
Riyaz Faizullabhoy
|
e189a21a25
|
review feedback: updating for windows, error paths
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
|
2017-10-30 16:55:59 +01:00 |
Riyaz Faizullabhoy
|
079471ebeb
|
update to stderr instead of stdout, update tests
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
|
2017-10-30 16:55:59 +01:00 |
Riyaz Faizullabhoy
|
2d8cc3cd80
|
refactoring and adding tests for EC key types
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
|
2017-10-30 16:55:59 +01:00 |
Ashwini Oruganti
|
dde9f614a7
|
trust: add signer-add and signer-remove command
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
|
2017-10-30 16:53:53 +01:00 |