Closed
Bug 873273
Opened 12 years ago
Closed 8 years ago
mozharness action groups
Categories
(Release Engineering :: Applications: MozharnessCore, defect, P5)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mozilla, Unassigned)
Details
(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3286] [mozharness])
For the beagle script, I'm considering creating a meta-action, --update-loop, which will call the actions --update-stage-mirror --update-work-mirror --push --upload --notify.
I can do this by adding update-loop as a non-default action, and defining it as a method that calls the other action methods, possibly with self.info()s that describe what I'm doing.
However, this will show up in the action list the same as the other actions, and it's quite possible to run all actions, which would run this loop twice (once by the individual actions, once by this meta action).
I could also do away with the individual actions entirely, and clump it all together in a single action/method. But this gets rid of some granular testing/troubleshooting niceness.
To allow for meta-actions, I could change the actions list to allow for a list of dictionaries. That way I could add meta-data, e.g. --help information or |"meta_action": True|, which might behave differently.
Eventually we could even list which actions are collected under this meta-action, and have default behavior without forcing you to define a new method (self.update_loop() in this example).
This could make various scripts a lot nicer, e.g. |script --setup| then |script --run-tests|, where setup is a meta-action. I imagine |script --setup --no-clobber| would still have to work.
| Assignee | ||
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•11 years ago
|
Component: General Automation → Mozharness
Updated•11 years ago
|
Whiteboard: [mozharness] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3276] [mozharness]
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3276] [mozharness] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3281] [mozharness]
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3281] [mozharness] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3286] [mozharness]
| Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•