From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case tests whether pushing builds to [http://koji.fedorapackager.org Koji] works as expected. Tests include SRPM-based scratch builds and sc...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case tests whether pushing builds to [http://koji. | |description=This test case tests whether pushing builds to [http://koji.fedoraproject.org Koji] works as expected. Tests include SRPM-based scratch builds and scratch builds. If you have a package which you'd need to push an actual Koji build for, you may test that as well. | ||
|setup= | |setup= | ||
# Boot into the machine/VM you wish to test | # Boot into the machine/VM you wish to test |
Revision as of 18:06, 7 September 2011
Description
This test case tests whether pushing builds to Koji works as expected. Tests include SRPM-based scratch builds and scratch builds. If you have a package which you'd need to push an actual Koji build for, you may test that as well.
Setup
- Boot into the machine/VM you wish to test
- Ensure the
eclipse-fedorapackager-0.2.1-1.fc16
package IS installed. Install it viayum install eclipse-fedorapackager-0.2.1-1.fc16
. - Make sure that file
~/.fedora.cert
exists and your FAS SSH key is properly set up in Eclipse and the public key properly uploaded to the FAS account system.
How to test
- Open Eclipse and use a new workspace.
eclipse -data test_day_20111013_fpe_koji_builds
- Press
CTRL+ALT+F I
to open the import wizard. Alternatively pressCTRL+3
and start typing "Projects from Fedora Git", then press return. - Enter the package name of a package you maintain or use package
eclipse-fedorapackager
. If you use packageeclipse-fedorapackager
make sure to clone anonymously by selecting the appropriate checkbox and click "Finish". - The package you've just cloned should show up in your workspace
- Expand the project you've cloned into your workspace and double-click the .spec file in it. The .spec file should open in the editor.
- Right-click in the .spec file and select "Fedora Packager" => "Perform Scratch Build", alternatively press
CTRL+ALT+F X
with the .spec file open in the Eclipse editor view. This will check if there are un-pushed changes on the current local branch (i.e. may prompt for SSH passphrase) and will push a scratch build to Koji. - SRPM-based scratch builds:
Expected Results