summaryrefslogtreecommitdiff
path: root/nodepool/virt_images/cloud-fedora-rawhide.yaml
blob: 48090a4bded707a215be641620714cfad95dba48 (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
67
---
- name: Build a fedora cloud image suitable for Zuul
  hosts: localhost
  vars:
    memsize: 1024
    # TODO: Remove permissive when fixed https://bugzilla.redhat.com/show_bug.cgi?id=1813388
    selinux_mode: permissive
    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: grub-mkconfig
      - import_role:
          name: base-customize
      - import_role:
          name: base-finalize
      always:
      - import_role:
          name: base-cleanup