Bug 599468

Summary: [RFE] workflow-simple: all architectures if --arch no specified
Product: [Retired] Beaker Reporter: Ales Zelinka <azelinka>
Component: command lineAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: bpeck, kbaker, mcsontos, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-07 18:01:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.