Bug 599468 - [RFE] workflow-simple: all architectures if --arch no specified
Summary: [RFE] workflow-simple: all architectures if --arch no specified
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-03 10:08 UTC by Ales Zelinka
Modified: 2010-07-07 18:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-07 18:01:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Ales Zelinka 2010-06-03 10:08:07 UTC
I'm used to not omitting architectures in jobs, letting RHTS create recipes for all archs available for selected distro. But bkr's workflow-simple doesn't allow such usage:

$ bkr  workflow-simple --distro=RHEL6.0-20100602.n.0 --variant=Server --task=/CoreOS/samba/Sanity/autofs-cifs 
No arches specified, you must specify at least one

I had to use this:
$ bkr  workflow-simple --distro=RHEL6.0-20100602.n.0 --variant=Server --task=/CoreOS/samba/Sanity/autofs-cifs --arch=i386 --arch=x86_64 --arch=ppc64 --arch=s390x

It is considerably longer and I might miss an arch or two, especially when scheduling similar jobs for different major rhel releases. 


Can you please implement the old behaviour (no "--arch" = all archs)? Or create an alias like --arch=all...

 Thanks

Comment 1 Bill Peck 2010-07-02 19:39:04 UTC
I've updated the workflow-simple to use a new get_arch call, depending on the distro or family passed in it will return the correct arches.


Note You need to log in before you can comment on or make changes to this bug.