Compare commits

...

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

6 changed files with 30 additions and 2 deletions

View File

@ -1 +0,0 @@
9843e85c1799e09c1bde71abfa45d146b90e17c3 SOURCES/temporary-1.2.1.1.tar.gz

6
.gitignore vendored
View File

@ -1 +1,5 @@
SOURCES/temporary-1.2.1.1.tar.gz /temporary-1.1.2.3.tar.gz
/temporary-1.1.2.4.tar.gz
/temporary-1.2.0.3.tar.gz
/temporary-1.2.0.4.tar.gz
/temporary-1.2.1.1.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 (temporary-1.2.1.1.tar.gz) = f7604d641057887e9f6285ae04a0da8bc3aa5e8adff3ab2a1c56a099f8aba1ad0d62734ffbfeb698046bd433aab161d3861f6822bc3cc2f620ef945e0b2d28f2

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
...