Compare commits

...

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

6 changed files with 26 additions and 2 deletions

View File

@ -1 +0,0 @@
5375c5c0ed9920bc7cf86959db32b9cc32dc30ff SOURCES/hourglass-0.2.10.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/hourglass-0.2.10.tar.gz
/hourglass-0.2.10.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (hourglass-0.2.10.tar.gz) = 49287fa4b1f102a3a4b744bc57e109a3c1bc472f65d2e2c0e76749bf6c7abc4279af3ce7035ca9b87b373e65956069472285ac849819fc9e928cd409f33e6244

18
tests/tests.yml Normal file
View File

@ -0,0 +1,18 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
vars:
- pkg: "{{playbook_dir|dirname|basename}}"
- develpkg: "{{pkg}}-devel"
- pkgname: "{{pkg|regex_replace('^ghc-(.*)$', '\\1')}}"
required_packages:
- "{{develpkg}}"
tests:
- ghc:
run: echo 'main = return ()' > test.hs; ghc -package {{pkgname}} test.hs; ./test
- revdeps:
run: revdeps=$(dnf -q repoquery --qf "%{name}" --whatrequires={{develpkg}}); if [ -z "${revdeps}" ]; then echo "No valid dependents"; exit 1; else dnf -y install ${revdeps}; fi
...