Quentin Machu
b99e2b50e2
database: Add some missing copyright headers
2016-05-20 12:01:31 -05:00
Quentin Machu
8551a0a3b2
worker: Mock datastore in worker's tests
2016-05-20 12:01:30 -05:00
Quentin Machu
629d2ce662
database: Mock Datastore interface
2016-05-20 12:01:30 -05:00
Quentin Machu
a38fbf6cfe
worker/database: Move upgrade detection logic out of database to worker
2016-05-20 12:01:30 -05:00
Quentin Machu
e7b960c05b
database: Allow specifying datastore driver by config
...
Fixes #145
2016-05-11 15:29:13 -07:00
Jimmy Zelinskie
53e62577bc
api/worker: s/Authorization/Headers ( #167 )
...
This allows clients to specify any HTTP headers that need to be used in
order to allow Clair to download a layer, rather than just the
Authorization header.
2016-05-05 13:48:10 -04:00
Jimmy Zelinskie
de96f09c1a
Merge pull request #166 from jzelinskie/authlayer
...
api/worker: introduce optional authorization
2016-05-04 15:59:49 -04:00
Jimmy Zelinskie
9b5afc79ca
api/worker: introduce optional authorization
...
This allows clients to specify the contents of the HTTP Authorization
header so that Clair can access protected resources.
2016-05-04 15:47:14 -04:00
Quentin Machu
01efa56929
Merge pull request #158 from Quentin-M/contrib_cleanup_signals
...
contrib: Catch signals to delete tmp folder in local-analyze-images
2016-04-26 17:35:50 -04:00
Quentin Machu
ff3c6eccc8
contrib: Catch signals to delete tmp folder in local-analyze-images
...
- Create the temporary folder earlier in the app (main instead of save)
- Catch SIGINT/SIGKILL signals to delete the temporary folder and exit
2016-04-25 16:38:17 -04:00
Jimmy Zelinskie
4246c5244b
README: add master branch warning
2016-04-20 13:17:44 -04:00
Quentin Machu
51e4086298
*: Create a ROADMAP
2016-04-19 16:29:19 -04:00
Quentin Machu
d8c62e7c84
Merge pull request #143 from jzelinskie/travis
...
travis: test against Go 1.6
2016-04-19 12:25:14 -04:00
Quentin Machu
58fd619e32
Merge pull request #142 from jzelinskie/healthfix
...
api: WriteHeader on health endpoint
2016-04-19 12:22:54 -04:00
Jimmy Zelinskie
0423f976b7
travis: test against Go 1.6
2016-04-19 12:20:54 -04:00
Jimmy Zelinskie
7aa88690af
api: WriteHeader on health endpoint
...
Fixes #141 .
2016-04-19 12:17:13 -04:00
JG²
af2c688634
config: not properly loaded error ( #140 )
...
* config: not properly loaded error
When a wrong config file was used, it result in a panic.
Adding some check condition to validate the Unmarshaled configuration
before using it
fixes #134
* check if datasource is set
* move error locally instead of utils/errors
2016-04-18 13:11:44 -04:00
Quentin Machu
8d5a330acf
Merge pull request #139 from coreos/webhook_proxy
...
Add proxy parameter to webhook notifier
2016-04-12 15:02:40 -04:00
Quentin Machu
927af43be0
notifier: Verify that the given webhook endpoint is an absolute URL
2016-04-12 14:30:30 -04:00
Quentin Machu
2fb815dc37
notifier: Add proxy parameter to webhook notifier
2016-04-12 14:30:25 -04:00
Quentin Machu
87f28fc3af
Merge pull request #137 from coreos/fix_k8s
...
README: Fix Kubernetes instructions
2016-04-11 15:21:06 -04:00
Quentin Machu
4ab49ee0a0
README: Fix Kubernetes instructions
2016-04-11 13:51:20 -04:00
Quentin Machu
f0642bb47f
Merge pull request #126 from harsha-y/master
...
utils: fix typo in errors.go
2016-03-26 01:12:51 -04:00
Harsha Yalamanchili
ed1a2b6ffd
fix typo in errors.go
2016-03-25 16:40:26 -07:00
Jimmy Zelinskie
1a695231c6
Merge pull request #118 from coreos/cleanup_contrib
...
contrib: Use `return` instead of `os.Exit(1)` in analyze-local-images
2016-03-25 14:34:22 -04:00
Quentin Machu
21e7300903
Merge pull request #123 from coreos/contrib_fix_deadlink
...
contrib: Fix dead link from analyze-local-images' README
2016-03-25 13:07:22 -04:00
Quentin Machu
55e9c0d854
contrib: Fix dead link from analyze-local-images' README
2016-03-25 12:13:12 -04:00
Quentin Machu
1040dbbff9
contrib: Use return
instead of os.Exit(1)
in analyze-local-images
...
In order to cleanup properly the allocated resources (`defer`).
Fixes #117
2016-03-24 15:16:46 -04:00
Jimmy Zelinskie
74d1f7fdd3
Merge pull request #116 from BWITS/master
...
run clair container in background
2016-03-24 14:54:56 -04:00
Bill Wang
b6fc2c02f3
run clair container in background
2016-03-24 00:04:33 +11:00
Jimmy Zelinskie
2121e76f98
Merge pull request #110 from jzelinskie/config-fixes
...
misc config improvements
2016-03-18 17:27:20 -04:00
Jimmy Zelinskie
4f98de6d8a
Merge pull request #111 from jzelinskie/dockerfile-update
...
dockerfile: update deps and move to Go 1.6
2016-03-18 17:27:04 -04:00
Jimmy Zelinskie
8918f40599
dockerfile: update deps and move to Go 1.6
2016-03-18 16:26:06 -04:00
Jimmy Zelinskie
7ca9127bbe
main: default config to /etc/clair/config.yml
2016-03-18 16:07:35 -04:00
Jimmy Zelinskie
30055af03e
config: fallover correctly to default config
2016-03-18 16:06:53 -04:00
Brandon Philips
6883cb9b01
Merge pull request #108 from philips/add-k8s-contrib
...
README: add instructions for kubernetes
2016-03-18 17:37:49 +00:00
Brandon Philips
9ce0956f1a
README: add instructions for kubernetes
...
Add a quick and easy way to run this on top of kubernetes. It isn't
production ready but gives people a starting point.
2016-03-18 10:37:24 -07:00
Jimmy Zelinskie
aef5f9dde4
Merge pull request #107 from Quentin-M/reduce_logo
...
README: Reduce logo size
2016-03-18 12:55:28 -04:00
Quentin Machu
e72f0e6923
README: Reduce logo size
2016-03-18 12:51:44 -04:00
Jimmy Zelinskie
52942dfc16
Merge pull request #106 from Quentin-M/logo
...
README: Add logo
2016-03-18 12:48:07 -04:00
Quentin Machu
79ba99bbea
database: Fix invalid error message
2016-03-18 12:25:01 -04:00
Quentin Machu
9573acbc1b
README: Add logo
2016-03-18 12:06:23 -04:00
Quentin Machu
093107c6d8
Merge pull request #105 from coreos/crtrb_forcecolor
...
contrib: Add a ability to force colored output in analyze-local-images
2016-03-17 19:27:58 -04:00
Quentin Machu
251df954ce
contrib: Add a ability to force colored output in analyze-local-images
...
Just like `ls`, this commit introduces the ability to specify `-color
always` or `-color never` to force colorization, regardless of whether
the TTY is a terminal or not.
2016-03-17 19:19:29 -04:00
Quentin Machu
e4749f4e53
Merge pull request #104 from coreos/ctrb_minseverity
...
Pretty up analyze-local-image
2016-03-17 17:45:30 -04:00
Quentin Machu
f024576223
contrib: Add vendors to analyze-local-images
2016-03-17 15:53:33 -04:00
Joseph Schorr
80ddc7f949
contrib: Pretty up analyze-local-images
2016-03-17 15:53:16 -04:00
Quentin Machu
c89a36f824
Merge pull request #103 from jzelinskie/fix-config
...
config: fix default fallback
2016-03-17 15:34:54 -04:00
Jimmy Zelinskie
20af787437
config: fix default fallback
2016-03-17 15:17:18 -04:00
Quentin Machu
e34171025d
contrib: Add colors / Modify spacing in the analyze-local-images's output
2016-03-17 13:27:58 -04:00