test: Add skopeo tests
There is a source test that installs a pre-build, embeded image file and ensure all the right files are installed. This uses the vfs driver because then it works everywhere, including the CI (which doesn't do overlayfs). Then the is a source test that downloads a minimal image from a faked registry on localhost. For the registy API to work the "/v2" entry-point in the webserver has to be at the root, so there is a symlink in test/data: v2 -> sources/org.osbuild.skopeo/data/v2 But otherwise the data is localized to sources/org.osbuild.skopeo.
This commit is contained in:
parent
693e44e412
commit
13c0c1e59e
15 changed files with 1592 additions and 0 deletions
1
test/data/v2
Symbolic link
1
test/data/v2
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
sources/org.osbuild.skopeo/data/v2
|
||||
Loading…
Add table
Add a link
Reference in a new issue