HiIn continuation to the query https://groups.google.com/a/chromium.org/forum/#!topic/chromium-os-discuss/hpMb0ajMy7kI want to add a custom board to Cbuildbot and build Chromium OS for that board using Cbuildbot with below configurations.
a. Without any changes (scheduler based)b. With local changes (user triggered)
c. With one gerrit CL (gerrit-flag triggered (similar to PreCQ))
d. With multiple gerrit CLs (scheduler based)
e. Trigger autotest tests
Could you please provide if any documentation available which guides on how to add a custom board to Cbuildbot to build that board.I am referring to Cbuildbot code @ https://chromium.googlesource.com/chromiumos/chromite/+/master/cbuildbot/Thanks,Bhasker
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
On Tue, Jan 3, 2017 at 2:41 AM, K Bhasker <kbhask...@gmail.com> wrote:HiIn continuation to the query https://groups.google.com/a/chromium.org/forum/#!topic/chromium-os-discuss/hpMb0ajMy7kI want to add a custom board to Cbuildbot and build Chromium OS for that board using Cbuildbot with below configurations.To add a board to cbuildbot, you would want to edit chromite/cbuildbot/chromeos_config.py. That's where all the config creating code happens. There are a lot of examples to follow from there. Is there an overlay that corresponds to the board that you want configs for?
Thanks for sharing the details. Yes, we have a private overlay for our board.
a. Without any changes (scheduler based)b. With local changes (user triggered)There are both a question of buildbot config, not cbuildbot. We have a buildbot instance for configuration of type a and b here, but they are both only accessible internally. Are you running your own buildbot instance?
c. With one gerrit CL (gerrit-flag triggered (similar to PreCQ))d. With multiple gerrit CLs (scheduler based)Gerrit CLs to what repo? If you're talking about repo-specific pre-cq configuration, you can see https://www.chromium.org/chromium-os/build/bypassing-tests-on-a-per-project-basis
e. Trigger autotest testsAre you talking about VMTests, or HWTests against actual devices? If the latter, that would require having these devices deployed to our lab.
Comments inline.
On Wednesday, January 4, 2017 at 3:33:46 AM UTC+5:30, Aviv Keshet wrote:On Tue, Jan 3, 2017 at 2:41 AM, K Bhasker <kbhask...@gmail.com> wrote:HiIn continuation to the query https://groups.google.com/a/chromium.org/forum/#!topic/chromium-os-discuss/hpMb0ajMy7kI want to add a custom board to Cbuildbot and build Chromium OS for that board using Cbuildbot with below configurations.To add a board to cbuildbot, you would want to edit chromite/cbuildbot/chromeos_config.py. That's where all the config creating code happens. There are a lot of examples to follow from there. Is there an overlay that corresponds to the board that you want configs for?Thanks for sharing the details. Yes, we have a private overlay for our board.a. Without any changes (scheduler based)b. With local changes (user triggered)There are both a question of buildbot config, not cbuildbot. We have a buildbot instance for configuration of type a and b here, but they are both only accessible internally. Are you running your own buildbot instance?I agree, and i am aware that type a and b buildbot setup is present internally. And i want to replicate/setup similar buildbot at my end. Yes, i am running my own buildbot instance.c. With one gerrit CL (gerrit-flag triggered (similar to PreCQ))d. With multiple gerrit CLs (scheduler based)Gerrit CLs to what repo? If you're talking about repo-specific pre-cq configuration, you can see https://www.chromium.org/chromium-os/build/bypassing-tests-on-a-per-project-basisGerrit CL's for various repo's which are may be public or not, and we want to use our own pre-CQ configuration.
e. Trigger autotest testsAre you talking about VMTests, or HWTests against actual devices? If the latter, that would require having these devices deployed to our lab.No not about VMTests, HWTests against actual devices, and we want to perform testing in our own lab.