From e0bc80f2229f62d63d1124dd9db5a32130f3fa77 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 29 Jun 2023 14:44:53 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 6 ++++-- gating.yaml | 6 ++++++ tests/tests.yml | 20 ++++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 gating.yaml create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 1c208b8..4a406bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -SOURCES/argh-0.26.1.tar.gz -/argh-0.26.1.tar.gz +*~ +*.rpm +*.tar* +results_*/ diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..332dc1e --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,20 @@ +--- +- hosts: localhost + tags: + - classic + pre_tasks: + - name: Copy spec file to remote machine + copy: + src: "{{ playbook_dir }}/../python-argh.spec" + dest: /tmp/python-argh.spec + - name: Install build dependencies + shell: dnf -y build-dep /tmp/python-argh.spec + args: + warn: false + roles: + - role: standard-test-source + - role: standard-test-basic + tests: + - smoke: + dir: ./source + run: python3 setup.py test