Documentation
¶
Overview ¶
Package helmoci replays against the assembled server the requests that jf helm push and jf rt bp send after helm pushes a chart to an OCI repository, and the listings helm and signing clients read from a blacked-out one.
Role ¶
Server-assembly suite, outside the modules: it drives the production router through HTTP requests. It is a package of its own so that CI selection can run it alone; its owner in tools/citestselection/test_ownership.json is helmoci.
Inputs ¶
- The world of test/server/support/registryfixture and the registry fixtures of test/server/support.
Outputs ¶
- TestAccJFHelmPushRequests: the AQL over the version folder finds manifest.json and the sha256__ blobs, the recursive property edit marks the folder and its files with the build, the manifest downloads and the build-info's helm module names the chart. The acceptance feature helm_oci.feature runs the pinned jf and helm themselves.
- TestAccBlackedOutChartListings: a blacked-out repository refuses the chart's tags list, on both route forms, and its referrers with the download policy's 404 in Artifactory's envelope, naming the chart, after the read permission, which still answers 403 and 401.
References ¶
- Decision 0039: docs/research/decisions/0039-helm.md.
- Research 30: docs/research/30-helm.md, section 1.3.
- docs/testing/server-test-ownership.md: how CI selection gives the package an owner.
Status ¶
Implemented P8; P9b moved the tests here from the server root (issue 673).
Click to show internal directories.
Click to hide internal directories.