Compare commits

..

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

8 changed files with 69 additions and 3 deletions

11
.gitignore vendored
View File

@ -1 +1,10 @@
SOURCES/lohit-tamil-2.91.3.tar.gz
lohit-tamil-2.4.3.tar.gz
lohit-tamil-2.4.4.tar.gz
lohit-tamil-2.4.5.tar.gz
/lohit-tamil-2.5.0.tar.gz
/lohit-tamil-2.5.1.tar.gz
/lohit-tamil-2.5.3.tar.gz
/lohit-tamil-2.91.0.tar.gz
/lohit-tamil-2.91.1.tar.gz
/lohit-tamil-2.91.2.tar.gz
/lohit-tamil-2.91.3.tar.gz

View File

@ -1 +0,0 @@
0a5f1cdae5ddb92717591e8c76a4c525a388e12a SOURCES/lohit-tamil-2.91.3.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}

View File

@ -4,7 +4,7 @@
Name: %{fontname}-fonts
Version: 2.91.3
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Free truetype font for Tamil language
Group: User Interface/X
@ -53,6 +53,9 @@ install -Dm 0644 -p %{metainfo}.xml \
%{_datadir}/metainfo/%{metainfo}.xml
%changelog
* Fri Nov 29 2019 Vishal Vijayraghavan <vvijayra@redhat.com> - 2.91.3-4
- Resolves: #1682195 - Added CI tests
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.91.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (lohit-tamil-2.91.3.tar.gz) = 856b690951c33ff4be2d75a71e77db09300594d9df3ea200ba94a9b111b111a41b9d6e15a5c80a95e2cd5532efd89725bd040f096ce99e3ece02742423dc30a6

2
tests/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
artifacts/
fonttest/

View File

@ -0,0 +1,45 @@
- hosts: localhost
vars:
config:
fontname: lohit-tamil
lang: ["ta"]
testgiturl: https://pagure.io/font_ci_testing.git
testgitclonepath: fonttest
testfilename: fonttest.py
testfilepath: /usr/local/bin
logfilepath: /tmp/test.log
artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
tasks:
- name: Install required package
dnf:
name:
- git
- "{{ config.fontname }}-fonts"
- python3
- fontconfig
- name: git clone the tests
git:
repo: "{{ config.testgiturl }}"
dest: "{{ config.testgitclonepath }}"
force: yes
- name: Test Execution
block:
- name: Execute the tests
command: python3 {{ config.testgitclonepath }}/tests/{{ config.testfilename }} "{{ config }}"
always:
- name: Pull out the artifacts
fetch:
dest: "{{ config.artifacts }}/"
src: "{{ item }}"
flat: yes
with_items:
- "{{ config.logfilepath }}"

1
tests/tests.yml Normal file
View File

@ -0,0 +1 @@
- import_playbook: fonttest_playbook.yml