Packaging Android host utilities: Difference between revisions

Jump to navigation Jump to search
Fixed numbered lists, moved elfhack reference near the file operations section
(expanded on explanation of steps as I have been assigned task https://bugzilla.mozilla.org/show_bug.cgi?id=1433279.)
(Fixed numbered lists, moved elfhack reference near the file operations section)
Line 11: Line 11:
Follow these steps to locate and download the necessary files.
Follow these steps to locate and download the necessary files.


1. From the selected treeherder build, identify "Linux opt" and "Linux x64 opt".  
# From the selected treeherder build, identify "Linux opt" and "Linux x64 opt".  
2. Click on the B icon, which will bring up a pane below.  
# Click on the B icon, which will bring up a pane below.  
3. Identify and click on the hash on the left hand pane called "Task".
# Identify and click on the hash on the left hand pane called "Task".
4. In the newly opened TaskCluster tab, click on tab named "Run Artifacts".
# In the newly opened TaskCluster tab, click on tab named "Run Artifacts".
5. Download target.common.tests.tar.gz & target.tar.bz2.
# Download target.common.tests.tar.gz & target.tar.bz2.
6. Follow the contents of the script below:
# Follow the contents of the script below:


<pre>
<pre>
tar xvf target.tar.bz2
tar xvf target.tar.bz2
unzip target.common.tests.zip "bin/*"
tar xvf target.common.tests.tar.gz "bin/*"
rm firefox/firefox*
rm firefox/firefox*
rm -r firefox/browser
rm -r firefox/browser
Line 27: Line 27:
mv firefox host-utils-60.0a1.en-US.linux-x86_64
mv firefox host-utils-60.0a1.en-US.linux-x86_64
</pre>
</pre>
''(elfhack is required to get proper xpcshell crash reports. It is readily available in most local builds, and should perhaps be added to the common-tests zip to avoid the extra step above.)''


==== Uploading to ToolTool ====
==== Uploading to ToolTool ====


Prepare new archive for upload:
1. Prepare new archive for upload:


<pre>
<pre>
Line 39: Line 41:
''replace the version numbers as appropriate.''
''replace the version numbers as appropriate.''


Ensure uploading user has a valid token at [https://mozilla-releng.net/tokens/ Mozilla Releng].
2. Ensure uploading user has a valid token at [https://mozilla-releng.net/tokens/ Mozilla Releng].


Upload the archive:
3. Upload the archive:


<pre>
<pre>
Line 47: Line 49:
</pre>
</pre>


Update the manifest in testing/config/tooltool-manifests/linux64/hostutils.manifest.
4. Update the manifest in testing/config/tooltool-manifests/linux64/hostutils.manifest.
 
Repeat, using "Linux opt" archives, for 32 bit.


(elfhack is required to get proper xpcshell crash reports. It is readily available in most local builds, and should perhaps be added to the common-tests zip to avoid the extra step above.)
5. Repeat, using "Linux opt" archives, for 32 bit.


=== Mac OS X ===
=== Mac OS X ===
74

edits

Navigation menu