summaryrefslogtreecommitdiff
path: root/nodepool/virt_images/cloud-fedora-31.yaml
blob: 778a10615b82d29b5a0693e026f22be2206ef039 (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
---
- name: Build a fedora cloud image suitable for Zuul
  hosts: localhost
  vars:
    image_url: https://download.fedoraproject.org/pub/fedora/linux/releases/31/Cloud/x86_64/images/Fedora-Cloud-Base-31-1.9.x86_64.qcow2
    image_checksum: "sha256:e3c1b309d9203604922d6e255c2c5d098a309c2d46215d8fc026954f3c5c27a0"
    image: Fedora-Cloud-Base-31-1.9.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
      - python2-devel
      - python3-devel
      - readline-devel
      - ruby-devel
      - systemd-devel
      - zlib-devel
      # Python
      - python3-pyyaml
      # For add-build-sshkey
      - python3-libselinux
  tasks:
    - block:
      - 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