Closed Bug 915164 Opened 11 years ago Closed 11 years ago

Create a web app for generating on-demand update test config files for mozmill-ci

Categories

(Mozilla QA Graveyard :: Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davehunt, Unassigned)

References

()

Details

In order to reduce the chance of human error, we should create a simple tool to generate the configuration files used by the Mozmill CI on-demand jobs.

The configuration files are currently .ini format as seen here: https://github.com/mozilla/mozmill-ci/blob/bda6011a82d594f599025888905111214759cff9/config/ondemand/functional-all.ini

We should consider changing this to a more convenient format if we're not expecting them to be edited by hand. I would suggest JSON. We could potentially even use this to trigger the on-demand jobs directly instead of having to save and upload the configuration file.
Dave, I don't think that fits into the automation component. It's more related to the CI and should most likely get an issue there. If you disagree, we have to file an automation issue on github. The bugzilla component is nearly dead and we should finally move over or fix still open bugs. So lets get this bug closed. Thanks.
Yeah, I battled in my mind with this one.. I guess it's most related to mozmill-ci but I feel there's not great exposure to those issues. I can move it if you think that makes most sense.
Lets move to infrastructure then, given that it will most likely be a web page. Dave, I did a quick search for jenkins plugins which might support a custom configuration view but haven't found something. As it looks like we have to get this implemented separately.
Component: Mozmill Automation → Infrastructure
QA Contact: hskupin
FYI this will be one of our goals for Q4.
Summary: Create a tool for generating on-demand Mozmill test config files → Create a web app for generating on-demand update test config files for mozmill-ci
During MozFest I hacked together an AngularJS app for specifying the testrun and builds. It's far from complete but if someone wants to take this approach, please feel free to build on my work:

https://github.com/davehunt/mciconf
http://davehunt.github.io/mciconf/app/
Thanks Dave. That looks like a great start. I will CC Jarek, Johannes, and Jonathan, who might have interests in helping us here.
Hi, as we talked on irc:I would gladly help. It would be good to create some features-list for easier split of responsibilities between contributors and for me to focus on things important from QA view.
I've seen that Cosmin already started working on implementing new features - I would join if Cosmin/anybody wouldn't mind.
However I keep in mind what Dave said on channel about size of this tool - we should think about split it into parts or leave this to one developer to avoid conflicts (in merges).
As Henrik suggested, i'm flagging Anthony for discussion about ideas for extensions.
Flags: needinfo?(cosmin.malutan)
Flags: needinfo?(anthony.s.hughes)
Hi Jarek, I don't mind, you can start whenever you want, I did't know that there was a bug filed for this app.
If you want to split this bug that would be great.
Flags: needinfo?(cosmin.malutan)
I don't know about "extensions". All we need is a web interface to generate config files like the following 100% error free:
https://wiki.mozilla.org/QA/Desktop_Firefox/Releases/Configs/Fx26b1
Flags: needinfo?(anthony.s.hughes)
(In reply to Dave Hunt (:davehunt) from comment #5)
> During MozFest I hacked together an AngularJS app for specifying the testrun
> and builds. It's far from complete but if someone wants to take this
> approach, please feel free to build on my work:
> 
> https://github.com/davehunt/mciconf
> http://davehunt.github.io/mciconf/app/

Dave's work looks super nice.

If it needed to be supported on devices other than just desktop, we might consider a responsive grid for the main page, perhaps. This is a lightweight one I've played with before.
https://github.com/ThisIsDallas/Simple-Grid
Hi, I continued to work on this project, the first version of application is almost done, here is the link from the wiki page.
https://wiki.mozilla.org/Auto-tools/Automation_Development/Projects/Mozmill_Automation/Mozmill_CI_Configuration_Generato
If anyone wants to help please fork from here:
https://github.com/cosmin-malutan/mciconf

What's still needed to be done:
Bug 938115 - application needs an notification API for displaying error and success messages
Bug 938118 - application should be able to save jobs and load them back (localStorage). 
Bug 938121 - application should be able to load and check external files.
The above URL has been wrongly pasted. I have put the updated one into the URL field where it belongs to. Please remind that in the future.
This is now done. Thanks Cosmin!

Repo: https://github.com/mozilla/mciconf
App: http://mozilla.github.io/mciconf/app/
Issues: https://github.com/mozilla/mciconf/issues
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.