summaryrefslogtreecommitdiffstats
path: root/nodepool/elements/virt-customize/fedora-rawhide-cloud.yaml
blob: fbcb63b1edf10af380236b10ae1157bcb0ef278f (plain)
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
66
---
- name: Build a fedora cloud image suitable for Zuul
  hosts: localhost
  vars:
    # Both url and checksum are going to be discovered thanks to the discover_rawhide role
    # image_url:
    # image_checksum:
    image: Fedora-Cloud-Base-Rawhide.x86_64.qcow2
    extra_packages:
      # Extra system tools
      - pigz
      - bridge-utils
      - wget
      - unzip
      # Basic CI tools
      - make
      - gcc
      - patch
      # RPM building tools
      - redhat-lsb-core
      - redhat-rpm-config
      - rpm-build
      - rpm-sign
      - rpmlint
      - createrepo
      - gnupg2
      - expect
      # Devel libraries
      - libffi-devel
      - libpcap-devel
      - libseccomp-devel
      - libxml2-devel
      - libxslt-devel
      - mariadb-devel
      - openldap-devel
      - openssl-devel
      - python-devel
      - readline-devel
      - ruby-devel
      - systemd-devel
      - zlib-devel
      # Python
      - python3-pyyaml
      # For add-build-sshkey
      - python3-libselinux
  tasks:
    - block:
      - import_role:
          name: discover-rawhide
      - import_role:
          name: base
      - import_role:
          name: sshd-config
      - import_role:
          name: network-config
      - import_role:
          name: zuul-user
      - import_role:
          name: base-install-packages
      - import_role:
          name: base-customize
      - import_role:
          name: base-finalize
      always:
      - import_role:
          name: base-cleanup