Shivam Mishra
d930adbd49
search: update trivy
...
trivy updated to v0.20.0
trivy-db updated to bec0c6a
fanal updated to f7efd1b
2021-10-13 16:37:31 -07:00
Petu Eusebiu
7d077eaf5a
Added storage interface
2021-10-11 17:38:46 -07:00
Petu Eusebiu
20f4051446
Clean blob uploads when clients interrupts uploading, closes #225
2021-10-08 14:55:57 -07:00
Ramkumar Chinchani
d69ee3f562
go.mod: update go.mod to fix dependabot alert
...
https://github.com/advisories/GHSA-c2h3-6mxw-7mvq
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-10-04 14:03:37 -07:00
Ramkumar Chinchani
4c16a63c7f
Update COMPARISON.md
2021-09-28 16:51:59 -07:00
Shivam Mishra
63fef3e48c
search: added graphql api to return repository list with latest tag
2021-09-27 14:36:20 -07:00
Ramkumar Chinchani
0b302d9614
go.mod: update deps to address dependabot alerts
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-09-23 13:59:26 -07:00
Ramkumar Chinchani
43a3ed12dc
Update README.md
2021-09-23 12:35:39 -07:00
Ramkumar Chinchani
b8054e2aea
Update README.md
2021-09-23 12:35:06 -07:00
Ramkumar Chinchani
2acb22c16a
doc: add documentation for comparison with well-known registries
...
Add COMPARISON.md
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-09-23 12:33:46 -07:00
Ramkumar Chinchani
6f0a73b2a6
go.mod: update umoci dep
...
There is a performance regression in umoci [1] which is fixed in [2].
References:
[1] https://github.com/opencontainers/umoci/issues/373
[2] https://github.com/opencontainers/umoci/pull/375
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-09-23 10:07:33 -07:00
Ramkumar Chinchani
008d382446
authn: serialize ldap authn calls
...
Some LDAP servers are not MT-safe in that when searches happen with binds
in flight leads to errors such as:
"comment: No other operations may be performed on the connection while a
bind is outstanding"
Add goroutine-id in logs to help debug MT bugs.
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-09-20 10:24:07 -07:00
Petu Eusebiu
62e724532a
Check if auth config is provided when using access control
2021-09-14 12:55:21 -07:00
Ramkumar Chinchani
c8779d9e87
doc: add initial documentation for configuration options
...
We have built a long list of features and the documentation for users is
only available under examples/
Add a examples/README.md to further explain various configuration
options.
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-08-31 17:26:22 -07:00
Petu Eusebiu
609d85d875
Add identity-based access control, closes #51
...
Add a cli subcommand to verify config files validity
2021-08-30 13:56:27 -07:00
Ramkumar Chinchani
26926ad4c2
go.mod: update modules
2021-08-25 11:51:23 -07:00
Shivam Mishra
c6670b1329
api: implement delete by tag
2021-08-23 17:30:41 -07:00
Roxana Nemulescu
fed5c09b71
TLS certs in CLI client
...
resolve #194
2021-08-16 23:42:21 -07:00
Ramkumar Chinchani
63b88d0e57
pkg/storage: fix partially initialized repo storage
...
Thanks shimish2 for the unit test.
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-08-09 23:19:20 -07:00
Shivam Mishra
53b5fa6493
dedupe: stat blob path before creating link
2021-08-09 09:40:35 -07:00
Ramkumar Chinchani
f10c174c0e
routes: add Content-Type header for HEAD manifest response
...
With recent docker client-side changes, on 'docker pull' we see:
"Error response from daemon: missing or empty Content-Type header"
Hence, set Content-Type header.
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-07-23 10:00:32 -07:00
Ramkumar Chinchani
b686a48812
ci/cd: fix github workflow for "minimal" image
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-07-01 11:15:44 -07:00
Ramkumar Chinchani
30c562be6b
ci/cd: build a "minimal" container image
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-07-01 10:07:08 -07:00
Shivam Mishra
af30c06aff
api: use blob cache path while making hard link
...
previously mount blob will look for blob that is provided in http request and try to hard link that path
but ideally we should look for path from our cache and do the hard link of that particular path.
this commit does the same.
2021-06-30 01:42:21 -07:00
Petu Eusebiu
3a59b9f487
Use freeport to get ports for zot servers in tests
2021-06-29 13:58:39 -07:00
Petu Eusebiu
1c1e7358f7
Migrate builds from travis to github actions
2021-06-29 13:58:39 -07:00
Ramkumar Chinchani
c3c598f43c
Update README.md
2021-06-26 00:48:28 -07:00
Ramkumar Chinchani
4f7803e4be
Update README.md
2021-06-26 00:48:16 -07:00
Ramkumar Chinchani
8c3ae7ddc6
Update README.md
2021-06-25 10:21:29 -07:00
Ramkumar Chinchani
f29c454052
Create codeql-analysis.yml
2021-06-24 22:07:30 -07:00
Andrei Aaron
792e82cbdf
Add an 'enable' flag in the server configuration to enable gql-based searches
...
"extensions": {
"search": {
"enable": true
}
}
2021-06-24 12:15:25 -07:00
Andrei Aaron
c1dd7878e4
Add a '--verbose' flag to the 'zot images' output
...
- Show individual layers with size and digest under each image
- Include config digest for each image
See example below
```
IMAGE NAME TAG DIGEST CONFIG LAYERS SIZE
test/godev 0.4.7 7d38d8ca 05b9f86e 519MB
f824a027 65MB
a98af0f5 52MB
ba5b2bc4 163MB
58b1ca8d 228MB
67d798ee 12MB
test/cdev test 2292b4ae cf6f6c77 280MB
f824a027 65MB
a98af0f5 52MB
ba5b2bc4 163MB
test/cdev 0.4.7 2292b4ae cf6f6c77 280MB
f824a027 65MB
a98af0f5 52MB
ba5b2bc4 163MB
Note the new layers and config fields will be visible in the json/yaml format regardless of the value of the verbose flag
```
2021-06-24 12:15:25 -07:00
Andrei Aaron
519ea75d9a
Implement a way to search for an image by manifest, config or layer digest
...
```
Usage:
zot images [config-name] [flags]
Flags:
-d, --digest string List images containing a specific manifest, config, or layer digest
[...]
```
2021-06-24 12:15:25 -07:00
Roxana Nemulescu
97628e69c9
logs: add an audit log for API calls with unit tests
...
resolves #178
2021-06-24 10:53:27 -07:00
Ramkumar Chinchani
ea717649c8
Update README.md
2021-06-09 14:29:15 -07:00
Petu Eusebiu
52a7929411
ci/cd: build and push zot container images
...
to github's container registry, closes #188
2021-06-07 16:44:15 -07:00
Ramkumar Chinchani
db17440899
Update README.md
2021-05-26 20:07:45 -07:00
Shivam Mishra
28974e81dc
config: support multiple storage locations
...
added support to point multiple storage locations in zot by running multiple instance of zot in background.
see examples/config-multiple.json for more info about config.
Closes #181
2021-05-21 10:18:28 -07:00
Ramkumar Chinchani
9ca6eea940
routes: ignore media-type for PatchBlobUpload
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-05-19 10:53:49 -07:00
Ramkumar Chinchani
8f729820f5
controller: add default headers
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-05-10 12:47:53 -07:00
Shivam Mishra
4eb92a02ab
build: remove bazel files
2021-05-04 13:44:45 -07:00
Shivam Mishra
cf25c6f3c8
ci/cd:inculde binary type in version information
2021-05-04 13:16:23 -07:00
Shivam Mishra
a7c17b7c16
spec: added support for mount request using hard link
2021-05-04 09:42:29 -07:00
Ramkumar Chinchani
f7829d6470
dedupe: optimize check-blob with hard links
...
In use cases, when there are large images with shared layers across
repositories, clients may benefit from not re-uploading the same blobs
over and over again.
We ensure this by hard linking when check-blob api is called.
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-05-04 09:42:29 -07:00
Shivam Mishra
3c88102870
server: add idle timeout in http server configuration
2021-04-29 11:00:12 -07:00
Ramkumar Chinchani
e73aed99be
Update README.md
2021-04-29 09:36:21 -07:00
Shivam Mishra
fb8c4fb840
ci/cd: changed distrbution spec branch to main from master
2021-04-19 10:18:12 -07:00
Ramkumar Chinchani
be9cf71c94
Merge pull request #174 from shimish2/add-conformance-test
...
ci/cd: add github action to enable conformance test after every PR
2021-01-29 14:14:52 -08:00
Shivam Mishra
2b7b57313a
conformance: fix http status code for cross-repository mounting
2021-01-29 09:35:15 -08:00
Shivam Mishra
9969ba0867
conformance: update README to display conformance results
2021-01-28 15:50:36 -08:00