Compare commits

...

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

6 changed files with 27 additions and 2 deletions

View File

@ -1 +0,0 @@
307677eee79438ce511be62210bd7543a7b3f9be SOURCES/socks-0.5.6.tar.gz

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/socks-0.5.6.tar.gz
/socks-0.5.5.tar.gz
/socks-0.5.6.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 (socks-0.5.6.tar.gz) = 1e7210157146783242e8db38f0956fac520c9e125954f4b00e95eee4a272d9893dcf9bb408363dfe59c7aa5f0f1e4bd4556fe102157cf6b71bab5a22a96a27d8

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