You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For https://github.com/ComplianceAsCode/content , it means extending /plans/upstream to support --branch, or rather to rewrite git-clone to git-init + git-fetch, so we can specify a non-branch ref such as refs/pull/1234/head, effectively cloning (and building in get_content()) a content snapshot from PR #1234.
For openscap, it would mean extending the same plan (or /plans/main.fmf for all plans) to download https://copr.fedorainfracloud.org/coprs/packit/OpenSCAP-openscap-{PR_ID}/repo/centos-stream-{versions.rhel.major}/packit-OpenSCAP-openscap-{PR_ID}-centos-stream-{versions.rhel.major}.repo to /etc/yum.repos.d and calling dnf upgrade openscap.
Since this adds an HTTP-style git repo (not a file:// one), the repo will be automagically used by all tests that propagate HTTP repos to VMs, incl. /hardening/{oscap,ansible,image-builder}.
The text was updated successfully, but these errors were encountered:
In a round-about way, this could provide an alternative to #94
We probably also want to dnf check-upgrade / exit status 100 for an openscap PR, just to verify that there's a valid build present and the test run wasn't triggered too early.
/plans/upstream
to support--branch
, or rather to rewritegit-clone
togit-init
+git-fetch
, so we can specify a non-branchref
such asrefs/pull/1234/head
, effectively cloning (and building inget_content()
) a content snapshot from PR #1234./plans/main.fmf
for all plans) to downloadhttps://copr.fedorainfracloud.org/coprs/packit/OpenSCAP-openscap-{PR_ID}/repo/centos-stream-{versions.rhel.major}/packit-OpenSCAP-openscap-{PR_ID}-centos-stream-{versions.rhel.major}.repo
to/etc/yum.repos.d
and callingdnf upgrade openscap
.file://
one), the repo will be automagically used by all tests that propagate HTTP repos to VMs, incl./hardening/{oscap,ansible,image-builder}
.The text was updated successfully, but these errors were encountered: