Compare commits

..

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

13 changed files with 104 additions and 2 deletions

26
.gitignore vendored
View File

@ -1 +1,25 @@
SOURCES/sscg-3.0.0.tar.xz
/sscg-0.4.1.tar.gz
/sscg-1.0.0-a3fe426.tar.gz
/sscg-1.0.1-6858b79.tar.gz
/sscg-1.0.2-897a89a.tar.gz
/sscg-1.0.3-ecdee74.tar.gz
/sscg-1.0.4-024d20e.tar.gz
/sscg-1.1.0-4f90b27.tar.gz
/sscg-2.0.0.tar.gz
/sscg-2.0.1.tar.gz
/sscg-2.0.2.tar.gz
/sscg-2.0.3.tar.gz
/sscg-2.0.4.tar.gz
/sscg-2.1.0.tar.gz
/sscg-2.2.0.tar.gz
/sscg-2.3.0.tar.xz
/sscg-2.3.1.tar.xz
/sscg-2.3.2.tar.xz
/sscg-2.3.3.tar.xz
/sscg-2.4.0.tar.xz
/sscg-2.5.0.tar.xz
/sscg-2.5.1.tar.xz
/sscg-2.6.0.tar.xz
/sscg-2.6.1.tar.xz
/sscg-2.6.2.tar.xz
/sscg-3.0.0.tar.xz

View File

@ -1 +0,0 @@
81e3b33e118edff96583314ceb4bfde9a1e6b45c SOURCES/sscg-3.0.0.tar.xz

9
gating.yaml Normal file
View File

@ -0,0 +1,9 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier2.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier3.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (sscg-3.0.0.tar.xz) = d5bbd14c102bb11b387b6018dced09b23b053498c60befd916aa142ece8240f443e364d9a578b6b5aa15c68cb943725ed96ef44cce77eb01013e464a6d4dc0f1

14
test/help-usage/Makefile Normal file
View File

@ -0,0 +1,14 @@
.PHONY: all install download clean
BUILT_FILES=
FILES=runtest.sh Makefile
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
chmod a+x ./runtest.sh
clean:
rm -f *~ $(BUILT_FILES)

View File

@ -0,0 +1,13 @@
help-usage
==========
This is an example task for `Taskotron <https://fedoraproject.org/wiki/Taskotron>`_
that tests the basic functionality of 'sscg --help' to confirm it generates a usage message.
Standalone you can run it like this::
$ make run
Through taskotron runner you can run it like this::
$ runtask -i sscg-2.0.4-1.fc27 -t koji_build -a x86_64 runtask.yml

View File

@ -0,0 +1,29 @@
---
name: help-usage
desc: "Tests the basic functionality of 'sscg --help' to confirm it generates a usage message."
maintainer: sgallagh
input:
args:
- koji_build
- arch
environment:
rpm:
- make
actions:
- name: download the build
koji:
action: download
koji_build: ${koji_build}
arch: $arch
target_dir: ${workdir}/rpms
- name: install the build
shell:
- dnf install -y ${workdir}/rpms/*.rpm
- name: run test
shell:
- make run

13
test/help-usage/runtest.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
PACKAGE=sscg
# Assume the test will pass.
result=PASS
sscg --help | grep -q -i '^usage:'
if [ $? -ne 0 ]; then
result=FAIL
fi
echo $result