re-import sources as agreed with the maintainer
This commit is contained in:
parent
1836227868
commit
4185bf18ae
11
.gitignore
vendored
11
.gitignore
vendored
@ -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
|
/liberation-fonts-2.00.3.tar.gz
|
||||||
|
2
tests/.gitignore
vendored
Normal file
2
tests/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
artifacts/
|
||||||
|
fonttest/
|
45
tests/fonttest_playbook.yml
Normal file
45
tests/fonttest_playbook.yml
Normal 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
1
tests/tests.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
- import_playbook: fonttest_playbook.yml
|
Loading…
Reference in New Issue
Block a user