Ramkumar Chinchani
e0a1a82890
coverage: add failure injection framework
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2022-01-28 08:56:00 -08:00
Alexei Dodon
c9a81baa10
Renamed zot-exporter to zxp and added its image to zot release
...
Signed-off-by: Alexei Dodon <adodon@cisco.com>
2022-01-19 10:31:37 -08:00
Ramkumar Chinchani
6a2529f08f
ci/cd: add continuous benchmark action
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2022-01-14 10:10:55 -08:00
Ramkumar Chinchani
72da8303c5
perf: add a 'zb' binary for perf testing of dist-spec registries
...
'make bench' produces a bin/zb binary
bin/zb --help
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2022-01-13 10:11:08 -08:00
Ramkumar Chinchani
4896adad1b
build: split functionality into separate binaries
...
zot: registry server
zli: zot cli to interact with the zot registry
zui: zot ui (proposed)
zb: zot benchmark (proposed)
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2022-01-11 11:48:18 -08:00
Petu Eusebiu
e5f8b184d6
ci/cd: added a 'make verify-config' target so that example configurations don't break, closes #350
...
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2022-01-07 09:07:20 -08:00
Alexei Dodon
eff6ddc9ce
Install notation as prerequisite for test Makefile target
...
Signed-off-by: Alexei Dodon <adodon@cisco.com>
2021-12-21 13:50:53 +02:00
Ramkumar Chinchani
ac3801ea2d
lint: upgrade golangci-lint
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-12-20 17:20:35 -08:00
Ramkumar Chinchani
fc4a34d43a
ci/cd: include tag name in release docker builds
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-12-16 09:09:43 -08:00
Ramkumar Chinchani
50a0831f1b
ci/cd: fix github workflow to upload release binaries
...
Fixes issue #332
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-12-16 09:09:43 -08:00
Ramkumar Chinchani
d4307d96ac
build: fix build artifacts in binary
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-12-07 20:59:26 -08:00
Ramkumar Chinchani
96226af869
move references to zotregistry.io and project-zot
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-12-05 10:52:27 -08:00
Ramkumar Chinchani
304a68334e
ci/cd: build for arm64 arch
...
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-12-03 15:30:49 -08:00
Alexei Dodon
f99fa37623
ci/cd: unit test hangs for a long time intermittently closes #286
...
Signed-off-by: Alexei Dodon <adodon@cisco.com>
2021-11-29 14:07:49 -08:00
Alexei Dodon
8e4d828867
Implement an API for performance monitoring
...
Signed-off-by: Alexei Dodon <adodon@cisco.com>
2021-11-12 11:14:10 -08:00
Ramkumar Chinchani
9a51ce475e
version: fix commit version in binary
...
So that "-v" reports the commit-id correctly.
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-10-28 09:00:31 -07:00
Ramkumar Chinchani
8f3d7d3719
swagger: rename 'docs/' to 'swagger/'
...
Use 'docs/' for zot-related documentation.
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2021-10-21 13:46:14 -07:00
Petu Eusebiu
19003e8a71
Added new extension "sync"
...
Periodically poll registries and pull images according to sync's config
Added sync on demand, syncing when clients asks for an image which
zot doesn't have.
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2021-10-21 10:32:46 -07:00
Roxana Nemulescu
fed5c09b71
TLS certs in CLI client
...
resolve #194
2021-08-16 23:42:21 -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
8787142d2c
test: pull test images from aws container registry
2020-12-21 15:24:26 -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
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
Shivam Mishra
46beb30fc1
build: add build tags to create customizable binaries
2020-10-22 17:20:07 -07:00
Tanmay Naik
c590b86d14
cli: add commands for CVE
...
Uses GraphQL API of zot to fetch CVE info
- Get all images affected by a CVE (input: CVEID)
- Get all CVEs of a layer (input: image:tag)
- Get all layers of an image which have resolved a CVE (input: image,
CVEID)
- Get all layers of an image affected by a CVE (input: image, CVEID)
2020-08-21 12:42:01 -04:00
Shivam Mishra
5f230bd8ff
Added unit test cases
2020-08-19 00:19:35 -07:00
Ramkumar Chinchani
f9b2092bd9
stacker: fix stacker build
2020-07-14 20:14:21 -07:00
Ramkumar Chinchani
adc6859cd6
stacker: fix stacker build
2020-07-14 13:31:57 -07:00
Shivam Mishra
af77876306
Upgraded build pipeline
...
Go version changed to 1.14.4
Golangci-lint changed to 1.26.0
Bazel version changed to 3.0.0
Bazel rules_go version changed to 0.23.3
Bazel gazelle version changed to v0.21.0
Bazel build tools version changed to 0.25.1
Bazel skylib version changed to 1.0.2
2020-06-25 23:43:31 -07:00
Ramkumar Chinchani
7287700ceb
coverage: fix coverage to track packages better
2020-02-13 11:22:04 -08:00
Ramkumar Chinchani
61550d0919
Merge branch 'master' into master
2020-01-28 11:50:20 -08:00
Peter Engelbert
268b4088fd
Add support for bearer/token auth
...
New options added to configuration file to reference a public key used
to validate authorization tokens signed by an auth server with
corresponding private key.
Resolves #24
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
2020-01-27 12:42:23 -06:00
Josh Dolitsky
dfd8b84344
Add new Dockerfile and README instructions
...
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
2020-01-24 11:54:38 -06:00
Josh Dolitsky
d50a07c149
rename Dockerfile to Dockerfile.build
...
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
2020-01-24 11:47:16 -06:00
Ramkumar Chinchani
09cdae8d07
.gitignore: ignore generated test artifacts
2019-12-13 14:44:10 -08:00
zendril
4e22352e9c
Fixing all the issues with upgrading to golangci-lint 1.21.0
2019-12-13 00:53:18 -05:00
Ramkumar Chinchani
5a125e74a1
docs: commit docs so that zot binary build becomes easier
...
swagger-based docs have been autogenerated from annotations and required
a separate step and then the binary could be built along with these doc
artifacts. Since we don't expect docs to change only when the dist-spec
gets updated, we are committing them.
2019-12-11 14:17:06 -08:00
Ramkumar Chinchani
6295e0c91e
auth: add LDAP support
...
fixes #23
2019-09-20 11:54:49 -07:00
Ramkumar Chinchani
4d73d8ff47
version: add commit id to binary during build
2019-09-16 11:58:32 -07:00
Tycho Andersen
3a211889da
install swag instead of updating it in the go deps
...
go get -u <package> does an update of the go.mod and go.sum files; go
install <package> installs the binary at that location.
It seems the intent of this line in the makefile is to install swag if it
doesn't exist based on the ||, so let's actually install it, instead of
just updating the local deps.
This also has the advantage of not immediately generating a diff when
someone doesn't have swag installed.
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2019-09-03 14:21:05 -06:00
Ramkumar Chinchani
68a1784c17
docs: fix Makefile
2019-08-29 10:56:59 -07:00
Ramkumar Chinchani
f2cd6b7b9a
build: support building inside a container using stacker
2019-08-14 16:26:49 -07:00
Ramkumar Chinchani
2a96e73384
build: support building inside a container
2019-08-14 12:39:38 -07:00
Ramkumar Chinchani
36ca298507
tls: require mutual auth only when htpasswd not available
2019-07-21 15:10:09 -07:00
Ramkumar Chinchani
066bf1b9eb
router: move to gorilla/mux to support multiple name path components
2019-07-10 18:22:20 -07:00
Ramkumar Chinchani
c142daff87
CI/CD: code coverage and bazel improvements
2019-06-26 15:01:52 -07:00
Ramkumar Chinchani
9d4e8b4594
zot: initial commit
2019-06-21 15:29:19 -07:00