Maxamillion (talk | contribs) No edit summary |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{admon/important|This page is deprecated| All Fedora Release Engineering Documentation has moved [https://docs.pagure.org/releng/ here] with source hosted along side the code in the [https://pagure.io/releng releng pagure repository]}} | |||
== Description == | == Description == | ||
When Quality Engineering requests a TC or RC they do so by filing or reopening a ticket in Release Engineering trac. There is one trac ticket per milestone. | When Quality Engineering requests a TC or RC they do so by filing or reopening a ticket in Release Engineering trac. There is one trac ticket per milestone. | ||
Line 6: | Line 8: | ||
=== Composing the Tree === | === Composing the Tree === | ||
1) Log into a compose system: <code>compose-x86- | 1) Log into a compose system: <code>compose-x86-01</code> or <code>arm01-releng00.arm.fedoraproject.org</code> | ||
<pre> | <pre> | ||
$ ssh -A compose-x86- | $ ssh -A compose-x86-01.phx2.fedoraproject.org | ||
</pre> | </pre> | ||
ssh agent forwarding is needed to enable sshing to boxes for composing the different arch trees. | ssh agent forwarding is needed to enable sshing to boxes for composing the different arch trees. | ||
Line 19: | Line 21: | ||
or | or | ||
<pre> | <pre> | ||
$ git clone | $ git clone https://git.fedorahosted.org/git/releng | ||
</pre> | </pre> | ||
Line 29: | Line 31: | ||
<pre> | <pre> | ||
$ cd releng/scripts | $ cd releng/scripts | ||
$ NSS_HASH_ALG_SUPPORT=+MD5 ./sigulsign_unsigned.py fedora- | $ NSS_HASH_ALG_SUPPORT=+MD5 ./sigulsign_unsigned.py fedora-22 -v --write-all <build nvrs> | ||
</pre> | </pre> | ||
4) update the bleed repo on <code>compose-x86- | 4) update the bleed repo on <code>compose-x86-01</code>: | ||
<pre> | <pre> | ||
$ ~/releng/scripts/makebleed <build nvrs> | $ ~/releng/scripts/makebleed <build nvrs> | ||
</pre> | </pre> | ||
5) kick off compose on a compose system: <code>compose-x86- | 5) kick off compose on a compose system: <code>compose-x86-01</code> or <code>arm03-releng00.arm.fedoraproject.org</code> | ||
for a TC | |||
<pre> | |||
$ cd ~/releng/scripts | |||
$ ./run-pungi 22_Beta_TC9 "" 20150409 | |||
</pre> | |||
for a RC | |||
<pre> | <pre> | ||
$ cd ~/releng/scripts | $ cd ~/releng/scripts | ||
$ ./run-pungi | $ ./run-pungi 22_Beta _RC2 20150413 | ||
</pre> | </pre> | ||
Line 73: | Line 80: | ||
Some of these tasks take a long time to finish, so it is highly recommended that you run these tasks in a screen session. | Some of these tasks take a long time to finish, so it is highly recommended that you run these tasks in a screen session. | ||
[[Category:Release Engineering SOPs]] | [[Category:Release Engineering SOPs]] |
Latest revision as of 17:51, 3 November 2015
Description
When Quality Engineering requests a TC or RC they do so by filing or reopening a ticket in Release Engineering trac. There is one trac ticket per milestone.
Action
create the full product tree.
Composing the Tree
1) Log into a compose system: compose-x86-01
or arm01-releng00.arm.fedoraproject.org
$ ssh -A compose-x86-01.phx2.fedoraproject.org
ssh agent forwarding is needed to enable sshing to boxes for composing the different arch trees.
2) update or checkout the git repo
$ cd releng/ $ git pull --rebase
or
$ git clone https://git.fedorahosted.org/git/releng
3) Sign rpms for bleed repo
ssh releng04.phx2.fedoraproject.org
repeat step 2 on signing box.
$ cd releng/scripts $ NSS_HASH_ALG_SUPPORT=+MD5 ./sigulsign_unsigned.py fedora-22 -v --write-all <build nvrs>
4) update the bleed repo on compose-x86-01
:
$ ~/releng/scripts/makebleed <build nvrs>
5) kick off compose on a compose system: compose-x86-01
or arm03-releng00.arm.fedoraproject.org
for a TC
$ cd ~/releng/scripts $ ./run-pungi 22_Beta_TC9 "" 20150409
for a RC
$ cd ~/releng/scripts $ ./run-pungi 22_Beta _RC2 20150413
6) check the compose
check the tree under /mnt/fedora_koji/compose/<Compose>/<Release>/ for completeness
7) open up the tree:
sg releng "chmod 755 /pub/alt/stage/<Compose>/"
8) Close the ticket: Copy the ooutput pasted at teh end of run-pungi and paste into the ticket and close it.
Update the ticket
The ticket should be closed when the compose has been opened up pasting in the output from run-pungi
Verification
Verification can be done as the task steps are being performed.
Image Creation
When pungi exits, you can verify that the development/<arch>/os/images/
directory exists and has content. That path is relative to the destination directory you provide pungi.
Updating the Ticket
One can click the link provided in the ticket update and ensure the path is correct. Verifying that the ticket is closed should be pretty self evident.
Consider Before Running
Many things can hinder a compose, broken deps in the chroot set, broken deps in the compose set, bugs in the compose software, etc... If any problem is ran into along the way, it is best to alert QA via a ticket update, and then work with the appropriate party to clear the obstruction.
Some of these tasks take a long time to finish, so it is highly recommended that you run these tasks in a screen session.