From Fedora Project Wiki

(Created page with '== Description == When the release has been fully tested and approved at the "Go/No-Go" meeting it is ready for release to the Fedora mirrors. == Action == == Verification == ...')
 
No edit summary
(One intermediate revision by one other user not shown)
Line 3: Line 3:


== Action ==
== Action ==
1. Sign the DVD/CD shasum files by starting from the compose host:


 
<pre>
== Verification ==
$ cd /srv/pungi/13.rc4/Fedora/; for arch in *; do cat \
* '''FIXME'''--anything to add here?
$arch/iso/*CHECKSUM > /tmp/sum && sigul sign-text -o /tmp/signed \
 
fedora-13 /tmp/sum && sudo mv /tmp/signed \
== Consider Before Running ==
* '''FIXME'''--anything to add here?
 
Sign the DVD/CD shasum files:
 
On compose host:
 
$ cd /srv/pungi/13.rc4/Fedora/; for arch in *; do cat
$arch/iso/*CHECKSUM > /tmp/sum && sigul sign-text -o /tmp/signed
fedora-13 /tmp/sum && sudo mv /tmp/signed
$arch/iso/Fedora-13-$arch-CHECKSUM; done
$arch/iso/Fedora-13-$arch-CHECKSUM; done
</pre>


Sign the spins:
2. While remaining on the compose host, sign the spins:
 
<pre>
on the compose host still:
$ cd /srv/pungi/live/13.rc4/; for dir in *; do pushd $dir; \
 
    echo "# The image checksum(s) are generated with sha256sum." > \
 
    $(basename `pwd`)-CHECKSUM && echo "# The PGP checksum uses sha1sum." >> \
$ cd /srv/pungi/live/13.rc4/; for dir in *; do pushd $dir; echo "# The
    $(basename `pwd`)-CHECKSUM && sha256sum -b $(basename `pwd`).iso >> \
image checksum(s) are generated with sha256sum." > $(basename
    $(basename `pwd`)-CHECKSUM && sigul sign-text -o $(basename `pwd`)-CHECKSUM \
`pwd`)-CHECKSUM && echo "# The PGP checksum uses sha1sum." >> $(basename
    fedora-13 $(basename `pwd`)-CHECKSUM && cat *-CHECKSUM && rm *CHECKSUM~; \
`pwd`)-CHECKSUM && sha256sum -b $(basename `pwd`).iso >> $(basename
    popd; done
`pwd`)-CHECKSUM && sigul sign-text -o $(basename `pwd`)-CHECKSUM
</pre>
fedora-13 $(basename `pwd`)-CHECKSUM && cat *-CHECKSUM && rm *CHECKSUM~;
popd; done


3. Prepare the master mirror by logging into releng2:
<pre>
$ ssh <fas-username>@gateway.fedoraproject.org
$ ssh releng2
</pre>


Prepare the master mirror:
<pre>
 
$ sudo -u ftpsync mkdir -p /pub/fedora/linux/releases/13/{Fedora,Everything,Live}  
on releng2:
 
$ sudo -u ftpsync mkdir -p
/pub/fedora/linux/releases/13/{Fedora,Everything,Live}
$ sudo -u ftpsync chmod 700 /pub/fedora/linux/releases/13/
$ sudo -u ftpsync chmod 700 /pub/fedora/linux/releases/13/
</pre>


4. Synchronize the ''Everything'' tree with the mirrors from releng2:
<pre>
$ sudo -u ftpsync rsync -rlptDHhv --progress --stats --exclude images/ - \
    --exclude EFI --exclude isolinux --exclude .treeinfo \
    --exclude .discinfo - --link-dest=/pub/fedora/linux/development/13/ \
    /mnt/koji/mash/branched-20100518/13/ \
    /pub/fedora/linux/releases/13/Everything/
</pre>


Sync the everything tree:
5. Synchronize the ''Fedora'' tree with the mirrors from releng2:
<pre>
$ sudo -u ftpsync rsync -rlptDHhv --progress --stats - \
    --link-dest=/pub/fedora/linux/development/13/ \
    jkeating@compose-x86-01:/srv/pungi/13.RC4/Fedora/ \
    /pub/fedora/linux/releases/13/Fedora/
</pre>


still on releng2:
6. Synchronize the Live images with the mirrors from releng2:
<pre>
$ sudo -u ftpsync rsync -rlptDHhv --progress --stats --exclude \*.log \
    jkeating@compose-x86-01:/srv/pungi/live/Fedora-13-i686-Live{,-KDE}/ \
    /pub/fedora/linux/releases/13/Live/i686/
</pre>


$ sudo -u ftpsync rsync -rlptDHhv --progress --stats --exclude images/
7.  Change file permissionsOpen for mirrors (also known as the ''mirror stage bit flip'') on releng2:
- --exclude EFI --exclude isolinux --exclude .treeinfo --exclude .discinfo
<pre>
- --link-dest=/pub/fedora/linux/development/13/
$ sudo -u ftpsync chmod 750 /pub/fedora/linux/releases/13
/mnt/koji/mash/branched-20100518/13/
</pre>
/pub/fedora/linux/releases/13/Everything/


Sync the Fedora tree:
== Verification ==
Verification is somewhat difficult as one cannot look at the content via the web server due to permissions.  Typically we ask somebody from the Infrastructure team to give the tree a second set of eyes.


$ sudo -u ftpsync rsync -rlptDHhv --progress --stats
== Consider Before Running ==
- --link-dest=/pub/fedora/linux/development/13/
Hope the release is good!
jkeating@compose-x86-01:/srv/pungi/13.RC4/Fedora/
/pub/fedora/linux/releases/13/Fedora/
 
Sync live images:
 
still on releng2:
 
$ sudo -u ftpsync rsync -rlptDHhv --progress --stats --exclude \*.log
jkeating@compose-x86-01:/srv/pungi/live/Fedora-13-i686-Live{,-KDE}/
/pub/fedora/linux/releases/13/Live/i686/
 
 
Open up perms for mirrors:
 
still on releng2:
 
$ sudo -u ftpsync chmod 750 /pub/fedora/linux/releases/13





Revision as of 20:15, 3 September 2010

Description

When the release has been fully tested and approved at the "Go/No-Go" meeting it is ready for release to the Fedora mirrors.

Action

1. Sign the DVD/CD shasum files by starting from the compose host:

$ cd /srv/pungi/13.rc4/Fedora/; for arch in *; do cat \ 
$arch/iso/*CHECKSUM > /tmp/sum && sigul sign-text -o /tmp/signed \
fedora-13 /tmp/sum && sudo mv /tmp/signed \
$arch/iso/Fedora-13-$arch-CHECKSUM; done

2. While remaining on the compose host, sign the spins:

$ cd /srv/pungi/live/13.rc4/; for dir in *; do pushd $dir; \ 
    echo "# The image checksum(s) are generated with sha256sum." > \
    $(basename `pwd`)-CHECKSUM && echo "# The PGP checksum uses sha1sum." >> \
    $(basename `pwd`)-CHECKSUM && sha256sum -b $(basename `pwd`).iso >> \
    $(basename `pwd`)-CHECKSUM && sigul sign-text -o $(basename `pwd`)-CHECKSUM \
    fedora-13 $(basename `pwd`)-CHECKSUM && cat *-CHECKSUM && rm *CHECKSUM~; \
    popd; done

3. Prepare the master mirror by logging into releng2:

$ ssh <fas-username>@gateway.fedoraproject.org
$ ssh releng2
$ sudo -u ftpsync mkdir -p /pub/fedora/linux/releases/13/{Fedora,Everything,Live} 
$ sudo -u ftpsync chmod 700 /pub/fedora/linux/releases/13/

4. Synchronize the Everything tree with the mirrors from releng2:

$ sudo -u ftpsync rsync -rlptDHhv --progress --stats --exclude images/ - \
    --exclude EFI --exclude isolinux --exclude .treeinfo \
    --exclude .discinfo - --link-dest=/pub/fedora/linux/development/13/ \
    /mnt/koji/mash/branched-20100518/13/ \
    /pub/fedora/linux/releases/13/Everything/

5. Synchronize the Fedora tree with the mirrors from releng2:

$ sudo -u ftpsync rsync -rlptDHhv --progress --stats - \
    --link-dest=/pub/fedora/linux/development/13/ \
    jkeating@compose-x86-01:/srv/pungi/13.RC4/Fedora/ \ 
    /pub/fedora/linux/releases/13/Fedora/

6. Synchronize the Live images with the mirrors from releng2:

$ sudo -u ftpsync rsync -rlptDHhv --progress --stats --exclude \*.log \
    jkeating@compose-x86-01:/srv/pungi/live/Fedora-13-i686-Live{,-KDE}/ \
    /pub/fedora/linux/releases/13/Live/i686/

7. Change file permissionsOpen for mirrors (also known as the mirror stage bit flip) on releng2:

$ sudo -u ftpsync chmod 750 /pub/fedora/linux/releases/13

Verification

Verification is somewhat difficult as one cannot look at the content via the web server due to permissions. Typically we ask somebody from the Infrastructure team to give the tree a second set of eyes.

Consider Before Running

Hope the release is good!