0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-02-24 23:56:32 -05:00
zot - A scale-out production-ready vendor-neutral OCI-native container image/artifact registry (purely based on OCI Distribution Specification)
Find a file
Andrei Aaron 6115eed4ec
refactor(makefile): consolidate the make targets used for bats tests ()
New examples of running tests:

1. To run a specific bats file (with and without verbose output):
make run-blackbox-tests BATS_TEST_FILE_PATH=test/blackbox/delete_images.bats
make run-blackbox-tests BATS_TEST_FILE_PATH=test/blackbox/delete_images.bats BATS_VERBOSITY=2

2. To run the CI tests (with and without verbose output)
make run-blackbox-ci
make run-blackbox-ci BATS_VERBOSITY=2

BATS_TEST_FILE_PATH is used to pass on the test file to run using `run-blackbox-tests`
BATS_VERBOSITY controls the verbosity of the bats framework output, if unspecified the output only
contains test results and failure message in case of failures.
If BATS_VERBOSITY is 1, then also show commands as they are executed.
If BATS_VERBOSITY is 2, on top of the above it also shows output of passed tests.

Other changes in this PR:
- Update some of the tests to show logs after the run ends.
- Run the linters before the tests, as it saves time on failures when running in GH

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
2023-09-07 21:06:21 +03:00
.github refactor(makefile): consolidate the make targets used for bats tests () 2023-09-07 21:06:21 +03:00
.zap feat(zui): update to zui supporting social login () 2023-07-21 12:50:41 -07:00
build fix: binary-stacker Makefile target is broken () 2023-08-10 12:39:56 -07:00
cmd refactor(cli): added equivalent subcommands for each flag combination under every command () 2023-08-30 20:12:24 +03:00
demos oras fix: 2022-08-30 21:39:16 +03:00
docs swagger: rename 'docs/' to 'swagger/' 2021-10-21 13:46:14 -07:00
errors refactor(storage): refactor storage into a single ImageStore () 2023-09-01 10:54:39 -07:00
examples refactor(storage): refactor storage into a single ImageStore () 2023-09-01 10:54:39 -07:00
pkg refactor: Reduce binary size of zot-minimal; Added CI check for binary size () 2023-09-06 19:58:00 +03:00
swagger refactor(authz): use a struct for user access control info operations () 2023-09-01 11:13:53 -07:00
test refactor(makefile): consolidate the make targets used for bats tests () 2023-09-07 21:06:21 +03:00
.gitignore refactor(extensions)!: refactor the extensions URLs and errors () 2023-08-02 21:58:34 +03:00
CODE_OF_CONDUCT.md doc: add a CODE_OF_CONDUCT.md 2020-12-15 11:20:45 -08:00
codecov.yml refactor(artifact): remove oci artifact support () 2023-05-10 10:15:33 -07:00
CODEOWNERS add a CODEOWNERS file 2022-05-04 11:52:28 -07:00
COMPARISON.md move references to zotregistry.io and project-zot 2021-12-05 10:52:27 -08:00
CONTRIBUTING.md build(tags): remove redundant build tag ui_base () 2022-10-10 15:05:55 +03:00
go.mod refactor: Reduce binary size of zot-minimal; Added CI check for binary size () 2023-09-06 19:58:00 +03:00
go.sum refactor: Reduce binary size of zot-minimal; Added CI check for binary size () 2023-09-06 19:58:00 +03:00
golangcilint.yaml chore(go.mod): upgrade 3rd party packages () 2023-08-31 20:40:19 +03:00
LICENSE docs: fix copyright related info for cncf onboarding () 2023-01-17 15:43:45 -08:00
MAINTAINERS.md docs: fix CNCF related documentation () 2023-01-10 15:52:11 -08:00
Makefile refactor(makefile): consolidate the make targets used for bats tests () 2023-09-07 21:06:21 +03:00
NOTICE docs: fix copyright related info for cncf onboarding () 2023-01-17 15:43:45 -08:00
README.md docs: update README.md () 2022-12-21 10:46:31 +02:00
README_fuzz.md Add fuzz tests for storage_fs () 2022-07-27 20:37:55 +03:00
SECURITY.md chore: fix security alerts () 2023-06-01 16:53:50 -07:00
THIRD-PARTY-LICENSES.md update 3rd party licenses 2022-04-08 09:48:13 -07:00
tools.go chore(trivy): update trivy version and enforce OCI compliant repo names in local image storage () 2023-01-18 08:24:44 -08:00
zot.go zot: initial commit 2019-06-21 15:29:19 -07:00

zot build-test codecov.io Conformance Results CodeQL CII Best Practices Go Reference

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