mirror of
https://github.com/project-zot/zot.git
synced 2024-12-30 22:34:13 -05:00
zot - A scale-out production-ready vendor-neutral OCI-native container image/artifact registry (purely based on OCI Distribution Specification)
af222de108
Changes in this commit: A. There were nested conveys following the pattern: - outer convey was a positive test - inner conveys were negative tests The positive and negative tests did not depend on one another, but the positive test was repeated for each negative test. So for example if there was 1 positive test and 2 negative tests what go would do is: 1. execute the outer convey with the positive test 2. execute the 1st inner convey with the 1st negative test 3. execute the outer convey with the positive test 4. execute the 2nd inner convey with the 2nd negative test Since there were no dependencies between these tests they can be moved on the same level. B. The test function bringing up the controller for `TestServerCVEResponseGQL` was the same for `TestServerCVEResponse`, so I removed `TestServerCVEResponseGQL` and moved the Conveys under `TestServerCVEResponse`. This will save time on the initial TrivyDB download, since it's done only once when the controller starts. C. The `Convey("without flags", func() {` was actually the same as the test under which it was nested: `Convey("Test CVE invalid url port", t, func() {` no code differences so I removed it. D. Use the new test functions to start/stop and wait for the zot contoller to be reachable Signed-off-by: Andrei Aaron <aaaron@luxoft.com> |
||
---|---|---|
.github | ||
build | ||
cmd | ||
demos | ||
docs | ||
errors | ||
examples | ||
pkg | ||
swagger | ||
test | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
codecov.yml | ||
CODEOWNERS | ||
COMPARISON.md | ||
CONTRIBUTING.md | ||
go.mod | ||
go.sum | ||
golangcilint.yaml | ||
LICENSE | ||
MAINTAINERS.md | ||
Makefile | ||
NOTICE | ||
README.md | ||
README_fuzz.md | ||
SECURITY.md | ||
THIRD-PARTY-LICENSES.md | ||
tools.go | ||
zot.go |
zot
zot: a production-ready vendor-neutral OCI image registry - images stored in OCI image format, distribution specification on-the-wire, that's it!
Docs
Documentation for zot
is located at: https://zotregistry.io
Code of Conduct
Details are in the code of conduct