From 0ccc7b1f688d95dd08858b87ac86822117b9a9fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Wed, 6 Aug 2025 10:59:07 +0200 Subject: [PATCH] Test/README: remove mentions of image-tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomáš Hozza --- test/README.md | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/test/README.md b/test/README.md index 0125dc8d5..7a75a1815 100644 --- a/test/README.md +++ b/test/README.md @@ -57,8 +57,7 @@ This information comes only from unit tests and for the time being we're not concerned with collecting coverage information from integration tests, see `.github/workflows/tests.yml`. - -## Image tests +## Testing new image definitions The distributions and images are defined in a separate repository at https://github.com/osbuild/images. When making changes in that repository, you @@ -94,26 +93,7 @@ The changes to the `go.mod`, `go.sum`, and `vendor/` directory should be added in a separate commit from any other changes. The PR should not be merged with the `replace` command in place. -In the `test/data/manifests` directory, sample image manifests are collected -for the various distros, architectures, configuration we support. - -Each file contains a sample manifest for an image configuration and some -metadata describing the request that created the manifest and all the content -(packages, containers, ostree commits). - -To (re)generate these test cases use the tool `cmd/gen-manifests`. - -``` -go run ./cmd/gen-manifests -``` -will generate all manifests using the default options. - -Manifest generation can be restricted to only some distributions, -architectures, or image types using command line flags. - -The command uses the configurations in -`tools/test-case-generators/format-request-map.json` and repositories defined -in `tools/test-case-generators/repos.json`. +## Setting up tests ### Setting up Azure upload tests