File: main.fmf

package info (click to toggle)
python-podman 5.4.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,140 kB
  • sloc: python: 7,532; makefile: 82; sh: 75
file content (65 lines) | stat: -rw-r--r-- 1,616 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
summary: Run Python Podman Tests

discover:
    how: fmf
execute:
    how: tmt
prepare:
  - name: pkg dependencies
    how: install
    package:
      - make
      - podman
      - python3-pip

  - name: pip dependencies
    how: shell
    script:
      - pip3 install .[test]

  - name: ssh configuration
    how: shell
    script:
        - ssh-keygen -t ecdsa -b 521 -f /root/.ssh/id_ecdsa -P ""
        - cp /root/.ssh/authorized_keys /root/.ssh/authorized_keys%
        - cat /root/.ssh/id_ecdsa.pub >>/root/.ssh/authorized_keys

/upstream:
    /sanity:
        summary: Run Sanity and Coverage checks on Python Podman
        discover+:
            # we want to change this to tag:stable once all the coverage tests are fixed
            filter: tag:lint

    /base:
        summary: Run Python Podman Tests on Upstream PRs for base Python
        discover+:
            filter: tag:base

    /all:
        summary: Run Python Podman Tests on Upstream PRs for all Python versions
        prepare+:
            - name: install all python versions
              how: install
              package:
                - python3.9
                - python3.10
                - python3.11
                - python3.12
                - python3.13
        discover+:
            filter: tag:matrix

    adjust+:
        enabled: false
        when: initiator is not defined or initiator != packit

/downstream:
    /all:
      summary: Run Python Podman Tests on bodhi / errata and dist-git PRs
      discover+:
          filter: tag:matrix

      adjust+:
          enabled: false
          when: initiator == packit