0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-23 22:27:35 -05:00
Commit graph

250 commits

Author SHA1 Message Date
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
Shivam Mishra
8e16c1c1c6 ci/cd: add github action to validate conformance
Resolves #173
2021-01-28 15:49:48 -08:00
Ramkumar Chinchani
73b7aa977f docs: add a CONTRIBUTING.md
Fixes issue #162
2021-01-08 20:55:22 -08:00
Ramkumar Chinchani
72454aad60
Update README.md 2020-12-22 18:03:20 -08:00
Ramkumar Chinchani
b22d74b821
Update README.md 2020-12-21 19:03:28 -08:00
Ramkumar Chinchani
0c1780b5f2
Merge pull request #167 from rchincha/doc
doc: add a CODE_OF_CONDUCT.md
2020-12-21 16:59:02 -08:00
Ramkumar Chinchani
47197608ab
Merge branch 'master' into doc 2020-12-21 16:17:09 -08:00
Ramkumar Chinchani
a724257efa
Merge pull request #169 from shimish2/rm-bzl
Removed bazel build pipeline and dependency on docker for test images
2020-12-21 16:15:32 -08:00
Ramkumar Chinchani
affdd85986 build: remove bazel
The idea initially was to use bazel to do our builds, however golang
build system is now good enough and our code base is entirely go.
It is also slowing down our travis ci/cd pipeline.
2020-12-21 15:30:13 -08:00
Shivam Mishra
8787142d2c test: pull test images from aws container registry 2020-12-21 15:24:26 -08:00
Ramkumar Chinchani
79a759d802
Update README.md 2020-12-16 17:49:41 -08:00
Ramkumar Chinchani
57cf18c0e4 doc: add a CODE_OF_CONDUCT.md
Address issue #159
2020-12-15 11:20:45 -08:00
Ramkumar Chinchani
343c454df8 doc: update current project maintainer list
Add a MAINTAINERS.md
2020-12-10 17:36:22 -08:00
Ramkumar Chinchani
c49444e0ba
Merge pull request #165 from rchincha/doc
doc: add third-party software deps list
2020-12-06 18:54:43 -08:00
Ramkumar Chinchani
5edfad7e25 doc: add third-party software deps list
Add a THIRD-PARTY-LICENSES.md to list all known deps.

Fixes issue #161
2020-12-03 14:10:32 -08:00
Ramkumar Chinchani
4b87e1a6e7
Update README.md 2020-11-26 19:39:05 -08:00
Ramkumar Chinchani
9ff593ba94
Update README.md 2020-11-24 10:40:51 -08:00
Ramkumar Chinchani
3ead8996de
Update README.md 2020-11-23 09:37:06 -08:00
Ramkumar Chinchani
7854083021
Merge pull request #147 from rchincha/docker
build: update docker and stacker files
2020-11-20 08:50:26 -08:00
Ramkumar Chinchani
cb240ffd84 ci/cd: disable bazel builds in travis ci/cd 2020-11-19 11:41:21 -08:00
Ramkumar Chinchani
c5e3431f14 build: fix stacker build 2020-11-19 11:41:21 -08:00
Ramkumar Chinchani
09c633ad91 build: fix docker build
Update Dockerfile and Makefile to build a zot docker image
2020-11-19 11:41:21 -08:00
Ramkumar Chinchani
b80b7d2361
Merge pull request #148 from IonutCraciun/fixConfigNameCli
Raise error when adding a new zot config with an existed saved name
2020-11-04 10:53:09 -08:00
Ionut Costin Craciun
dad884ddeb Raise error when adding a new zot config with an existed saved name 2020-11-04 10:25:34 +02:00
Ramkumar Chinchani
429a689ace
Merge pull request #149 from rchincha/doc
README: update conformance results url
2020-11-03 09:10:12 -08:00
Ramkumar Chinchani
9649c828b2 README: update conformance results url 2020-11-02 09:45:47 -08:00
Ramkumar Chinchani
f2d4b57638
Merge pull request #145 from shimish2/embededbinary
customizable binaries
2020-10-28 09:11:03 -07:00
Shivam Mishra
b0ed625a2e build: increase wait timeout for travis bazel build process 2020-10-27 19:30:06 -07:00
Shivam Mishra
46beb30fc1 build: add build tags to create customizable binaries 2020-10-22 17:20:07 -07:00
Ramkumar Chinchani
17dce7e63b
Merge pull request #146 from shimish2/rchincha-origin-locks
routes: refactor locks to handle large file uploads
2020-10-19 10:21:38 -07:00
Shivam Mishra
7439feb1c2 build: set timeout in travis make build process to avoid timeout failure 2020-10-18 20:55:17 -07:00
Shivam Mishra
14214a5794 test: add unit test to verify lock changes 2020-10-16 14:58:45 -07:00
Ramkumar Chinchani
386c72d332 routes: refactor locks to handle large file uploads
The storage layer is protected with read-write locks.
However, we may be holding the locks over unnecessarily large critical
sections.

The typical workflow is that a blob is first uploaded via a per-client
private session-id meaning the blob is not publicly visible yet. When
the blob being uploaded is very large, the transfer takes a long time
while holding the lock.

Private session-id based uploads don't really need locks, and hold locks
only when blobs are published after the upload is complete.
2020-10-16 13:33:11 -07:00
Shivam Mishra
25ad71787a test: minimize trivy db download tests to avoid api rate limit 2020-10-15 14:32:37 -07:00
Ramkumar Chinchani
0dcff98c1f
Merge pull request #143 from shimish2/testchanges
test: add wait for trivy db download in test case
2020-10-08 13:38:51 -07:00
Shivam Mishra
8075eadc1a test: add wait for trivy db download in test case 2020-10-02 16:47:54 -07:00
Ramkumar Chinchani
ea0ef61a65
Merge pull request #140 from rchincha/readme
README: bring doc up-to-date
2020-09-24 11:43:33 -07:00
Ramkumar Chinchani
f91cc72aa9
Merge branch 'master' into readme 2020-09-24 10:28:53 -07:00