Skip to content

Commit

Permalink
build cs9 datastreams when running on CentOS Stream
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Jaburek <[email protected]>
  • Loading branch information
comps committed Oct 24, 2024
1 parent a7485ca commit 285be01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plans/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ adjust:
. "$TMT_PLAN_ENVIRONMENT_FILE" # not done automatically
[ -z "$CONTEST_CONTENT" ] && exit 0
cd "$CONTEST_CONTENT"
distro=$(. /etc/os-release && echo "$ID")
[ "$distro" = "centos" ] && derivatives=--derivatives || derivatives=
major=$(. /etc/os-release && echo "${VERSION_ID%%.*}")
# already built
[ -e "build/ssg-rhel${major}-ds.xml" ] && exit 0
dnf -y builddep --spec scap-security-guide.spec
./build_product --playbook-per-rule "rhel${major}"
./build_product --playbook-per-rule $derivatives "rhel${major}"
- prepare+:
- how: shell
Expand Down

0 comments on commit 285be01

Please sign in to comment.