#891 [f33] cloud: backports VMDK drop and GCP image creation
Merged 3 years ago by mohanboddu. Opened 3 years ago by dustymabe.
dustymabe/pungi-fedora dusty-f33-backports  into  f33

file modified
+20 -1
@@ -342,7 +342,7 @@ 

      '^Cloud$': [

          {

              'image-build': {

-                     'format': [('qcow2','qcow2'), ('raw-xz','raw.xz'), ('vmdk','vmdk')],

+                     'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],

                      'name': 'Fedora-Cloud-Base',

                      'kickstart': 'fedora-cloud-base.ks',

                      'distro': 'Fedora-22',
@@ -356,6 +356,25 @@ 

          },

          {

              'image-build': {

+                     'format': [('tar-gz', 'tar.gz')],

+                     'name': 'Fedora-Cloud-Base-GCP',

+                     'kickstart': 'fedora-cloud-base-gcp.ks',

+                     # Use `Fedora-30` profile here because we need it

+                     # to be a UEFI image and currently OZ does that if

+                     # we use the `Fedora-30` profile.

+                     'distro': 'Fedora-30',

+                     # GCP engineers have told me the disk images have bad

+                     # performance if they are anything less than 10G

+                     'disk_size': 10,

+                     'arches': ['x86_64'],

+                     'repo': 'Everything',

+                     'install_tree_from': 'Everything',

+                     'subvariant': 'Cloud_Base',

+                     'failable': ['x86_64'],

+                      }

+         },

+         {

+             'image-build': {

                      'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')],

                      'name': 'Fedora-Cloud-Base-Vagrant',

                      'kickstart': 'fedora-cloud-base-vagrant.ks',

commit 238e9dff9d9289e248b9022d43e07bc83625f2e5
Author: Dusty Mabe <dusty@dustymabe.com>
Date:   Mon Sep 21 14:12:07 2020 -0400

    cloud: switch imagebuild for GCP image to tar-gz format

    It turns out koji doesn't know about `gce` even though ImageFactory
    does. Really all we need is the output disk image to be a tar.gz so
    let's try with the `tar-gz` format in koji, which looks like it was
    intended for use with GCP.

    Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
    (cherry picked from commit 4a664ab4f91bdd226212e106957202ca45b20fa7)

commit dbf0c18243fcbdc24d0b5b401f0d282f2b9c2be0
Author: Dusty Mabe <dusty@dustymabe.com>
Date:   Wed Sep 16 23:31:33 2020 -0400

    cloud: drop VMDK output image for cloud

    We added this so we could eventually use the VMDK to optimize our
    uploads to AWS but it turns out the VMDK created by imagefactory
    isn't in the right format anyway.

    ```
    SNAPSHOTTASKDETAIL      0.0     VMDK    deleted ClientError: Disk validation failed [Unsupported VMDK File Format]
    ```

    Let's drop them for now.

    Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
    (cherry picked from commit b4b0781b789edd4ec7d1a5a70a42776fc2b46304)

commit 2257a6e997cc23b46376f97bd39bc401133781ad
Author: Dusty Mabe <dusty@dustymabe.com>
Date:   Wed Sep 16 23:58:40 2020 -0400

    cloud: add image build for GCP

    Depends on the kickstart for GCP getting merged:
    https://pagure.io/fedora-kickstarts/pull-request/690#

    Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
    (cherry picked from commit 783f489ad7188374843ce122ffd28eab236bd2c0)

rebased onto b2ff2c4

3 years ago

Pull-Request has been merged by mohanboddu

3 years ago