Skip to content

Commit 750f3f7

Browse files
Add .fmf and setup testing-farm
Signed-off-by: Frantisek Lachman <[email protected]>
1 parent 13af688 commit 750f3f7

File tree

5 files changed

+33
-1
lines changed

5 files changed

+33
-1
lines changed

.fmf/version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

.packit.yaml

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ jobs:
2828
trigger: pull_request
2929
metadata:
3030
targets:
31-
- fedora-29-x86_64
31+
- fedora-30-x86_64
32+
- fedora-31-x86_64
3233
- fedora-rawhide-x86_64
34+
- job: tests
35+
trigger: pull_request
36+
metadata:
37+
targets:
3338
- fedora-30-x86_64
39+
- fedora-31-x86_64
40+
- fedora-rawhide-x86_64

ci.fmf

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/test/build:
2+
/smoke:
3+
execute:
4+
how: shell
5+
script:
6+
- python3 -c "import ogr"
7+
/full:
8+
prepare:
9+
how: ansible
10+
playbooks:
11+
- files/packit-testing-farm-prepare.yaml
12+
execute:
13+
how: shell
14+
script:
15+
- pwd; cd ~/git-source && pwd && make check
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
- name: This is a recipe for preparing the environment when running tests inside testing-farm
3+
hosts: all
4+
tasks:
5+
- include_tasks: tasks/generic-dnf-requirements.yaml
6+
- include_tasks: tasks/python-compile-deps.yaml
7+
- include_tasks: tasks/rpm-test-deps.yaml

files/tasks/install-ogr.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
- name: Print the current working directory
3+
command: pwd
24
- name: Install ogr from {{ project_dir }}
35
pip:
46
name: '{{ project_dir }}'

0 commit comments

Comments
 (0)