Add missing gating files for c10s
Resolves: RHEL-56100 Signed-off-by: Yash Mankad <ymankad@redhat.com>
This commit is contained in:
parent
992c32c23c
commit
d541950fba
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
15
pefile-tests.sh
Normal file
15
pefile-tests.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# config
|
||||
COMMIT="64524fa8a041"
|
||||
REMOTE="https://github.com/erocarrera/pefile-tests"
|
||||
|
||||
# clone repo and run tests
|
||||
TESTDIR="$(mktemp --directory ${TMPDIR-/var/tmp}/test-XXXXXXXX)"
|
||||
trap 'cd /; rm -rf "$TESTDIR"' EXIT
|
||||
cd "$TESTDIR"
|
||||
set -ex
|
||||
git clone $REMOTE repo
|
||||
cd repo
|
||||
git checkout "$COMMIT"
|
||||
pytest tests/pefile_test.py
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- git-core
|
||||
- pytest
|
||||
tests:
|
||||
- pefile-tests:
|
||||
run: /usr/share/python-pefile/pefile-tests.sh
|
Loading…
Reference in New Issue
Block a user