#857 Add Checksum URL for latest AH download media
Merged 5 years ago by sinnykumari. Opened 5 years ago by sinnykumari.
sinnykumari/fedora-websites master  into  master

@@ -191,6 +191,19 @@ 

                  # Figure out which of our vars we're going to set, and set it

                  iso_size_key = iso_size_prefix + mapping[key]

                  results['iso_size'][iso_size_key] = str(length)

+             results['release']['redir_map']['atomic_images_checksum_' + arch] = {}

+             results['release']['redir_map']['atomic_images_checksum_' + arch]['redirect']=\

+                 download_fpo + '/pub/alt/atomic/stable/Fedora-Atomic-' + idx + '-' + composedate +\

+                 '/AtomicHost/' + arch + '/images/Fedora-AtomicHost-' + idx + '-' + composedate + '-' + arch + '-CHECKSUM'

+             results['release']['redir_map']['atomic_images_checksum_' + arch]['filename'] = \

+                 'Fedora-AtomicHost-' + idx + '-' + composedate + '-' + arch + '-CHECKSUM'

+ 

+             results['release']['redir_map']['atomic_dvd_ostree_checksum_' + arch] = {}

+             results['release']['redir_map']['atomic_dvd_ostree_checksum_' + arch]['redirect'] = \

+                 download_fpo + '/pub/alt/atomic/stable/Fedora-Atomic-' + idx + '-' + composedate + \

+                 '/AtomicHost/' + arch + '/iso/Fedora-AtomicHost-' + idx + '-' + composedate + '-' + arch + '-CHECKSUM'

+             results['release']['redir_map']['atomic_dvd_ostree_checksum_' + arch]['filename'] = \

+                 'Fedora-AtomicHost-' + idx + '-' + composedate + '-' + arch + '-CHECKSUM'

  

      return results

  

Using latest checksum for AH media, user can verify
the downloaded images easily in their script

Related PR - https://pagure.io/atomic-wg/issue/467

Signed-off-by: Sinny Kumari sinny@redhat.com

this is a link to the CHECKSUM file which is also signed, right?

LGTM

Pull-Request has been merged by sinnykumari

5 years ago
Metadata