re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-28 14:32:45 +02:00
parent 1836227868
commit 4185bf18ae
5 changed files with 58 additions and 2 deletions

11
.gitignore vendored
View File

@ -1,2 +1,11 @@
SOURCES/liberation-fonts-2.00.3.tar.gz
liberation-fonts-ttf-1.05.3.20100510.tar.gz
liberation-fonts-ttf-1.06.0.20100721.tar.gz
/liberation-fonts-1.06.0.20100721.tar.gz
/liberation-fonts-1.07.0.tar.gz
/liberation-fonts-1.07.1.tar.gz
/liberation-fonts-1.07.2.tar.gz
/liberation-fonts-2.00.0.tar.gz
/liberation-fonts-2.00.1.tar.gz
/liberation-fonts-1.07.3.tar.gz
/liberation-fonts-1.07.4.tar.gz
/liberation-fonts-2.00.3.tar.gz

1
EMPTY
View File

@ -1 +0,0 @@

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: liberation
lang: ["en","az-az","de","el","he"]
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