File: blivet.fmf

package info (click to toggle)
libblockdev 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,140 kB
  • sloc: ansic: 25,226; python: 11,877; makefile: 684; sh: 503; xml: 146
file content (35 lines) | stat: -rw-r--r-- 1,059 bytes parent folder | download
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
# reverse dependency test for blivet
enabled: false

adjust+:
  when: revdeps_blivet == yes
  enabled: true

prepare:
  - name: copr
    how: shell
    script:
      - sudo dnf install -y python3-libdnf5 'dnf-command(copr)'
      - sudo dnf copr enable -y @storage/udisks-daily
      # TF prioritizes Fedora tag repo over all others, in particular our daily COPR
      - for f in $(grep -l -r 'testing-farm-tag-repository' /etc/yum.repos.d); do sed -i '/priority/d' "$f" ;done
      - sudo dnf -y update

  - name: ansible
    how: shell
    script:
      - sudo dnf install -y curl ansible
      - curl -Ok https://raw.githubusercontent.com/storaged-project/blivet/main/misc/install-test-dependencies.yml
      - curl -Ok https://raw.githubusercontent.com/storaged-project/blivet/main/misc/blivet-tasks.yml
      - ansible-playbook -K -i "localhost," -c local install-test-dependencies.yml

discover:
    how: shell
    url: https://github.com/storaged-project/blivet
    ref: main
    tests:
      - name: all
        test: make test

execute:
    how: tmt