summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Boucher <fboucher@redhat.com>2019-10-17 11:45:54 +0200
committerFabien Boucher <fboucher@redhat.com>2019-10-18 10:10:11 +0000
commit3bf8b0afcd90d4d3ed6c15b4cecf34b379c79c70 (patch)
treedcd00a333fc64e5a27e136c758bf4678c231c063
parent85489fed1b53540d5f677245946fb355987560fd (diff)
Add fedora-31-cloud to Nodepool
Change-Id: I1da595b54ce9eccc77e193a28d73ae6a81acec7c
-rw-r--r--nodepool/elements/virt-customize/fedora-31-cloud.yaml63
-rw-r--r--nodepool/rdo-cloud.yaml18
2 files changed, 81 insertions, 0 deletions
diff --git a/nodepool/elements/virt-customize/fedora-31-cloud.yaml b/nodepool/elements/virt-customize/fedora-31-cloud.yaml
new file mode 100644
index 00000000..845fdaaa
--- /dev/null
+++ b/nodepool/elements/virt-customize/fedora-31-cloud.yaml
@@ -0,0 +1,63 @@
+---
+- name: Build a fedora cloud image suitable for Zuul
+ hosts: localhost
+ vars:
+ image_url: https://download.fedoraproject.org/pub/fedora/linux/releases/test/31_Beta/Cloud/x86_64/images/Fedora-Cloud-Base-31_Beta-1.1.x86_64.qcow2
+ image_checksum: "sha256:a25d5f7a834722408fc8f765cc378f50fe8b53c9628d916200dbe4ebed6c21aa"
+ image: Fedora-Cloud-Base-31_Beta-1.1.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: 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
diff --git a/nodepool/rdo-cloud.yaml b/nodepool/rdo-cloud.yaml
index f2479e4f..0d5f31d7 100644
--- a/nodepool/rdo-cloud.yaml
+++ b/nodepool/rdo-cloud.yaml
@@ -47,6 +47,17 @@ diskimages:
formats:
- raw
+ - name: cloud-fedora-31
+ username: zuul-worker
+ elements:
+ # This is a fake element to reference the playbook
+ - fedora-31-cloud
+ python-path: /usr/bin/python3
+ env-vars:
+ PATH: /etc/nodepool/elements/virt-customize:/bin:/sbin:/usr/bin:/usr/sbin
+ formats:
+ - raw
+
- name: cloud-fedora-rawhide
username: zuul-worker
elements:
@@ -247,6 +258,7 @@ labels:
- name: cloud-fedora-30
- name: cloud-fedora-29-small
- name: cloud-fedora-30-small
+ - name: cloud-fedora-31-small
- name: cloud-fedora-rawhide-small
# NOTE(pabelanger): rdoproject tenant
@@ -297,6 +309,8 @@ providers:
config-drive: true
- name: cloud-fedora-rawhide
config-drive: true
+ - name: cloud-fedora-31
+ config-drive: true
- name: cloud-fedora-30
config-drive: true
- name: cloud-fedora-29
@@ -343,6 +357,10 @@ providers:
min-ram: 8000
flavor-name: rdo.m1.large
diskimage: dib-dci-centos-7
+ - name: cloud-fedora-31-small
+ min-ram: 2000
+ flavor-name: rdo.m1.small
+ diskimage: cloud-fedora-31
- name: cloud-fedora-30-small
min-ram: 2000
flavor-name: rdo.m1.small