Commit Graph

272 Commits

Author SHA1 Message Date
Ramkumar Chinchani 26926ad4c2 go.mod: update modules 2021-08-25 11:51:23 -07:00
Shivam Mishra c6670b1329 api: implement delete by tag v1.2.8 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>
v1.2.7
2021-08-09 23:19:20 -07:00
Shivam Mishra 53b5fa6493 dedupe: stat blob path before creating link v1.2.6 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>
v1.2.5
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>
v1.2.4
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>
v1.2.3
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.
v1.2.2
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
        }
    }
v1.2.1
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
v1.2.0
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 v1.1.14 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
v1.1.13
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