www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-8588) Setup buildbot for Cordova project
Date Mon, 26 Jan 2015 19:20:35 GMT

    [ https://issues.apache.org/jira/browse/INFRA-8588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14292268#comment-14292268

ASF GitHub Bot commented on INFRA-8588:

Github user vladimir-kotikov commented on a diff in the pull request:

    --- Diff: cordova.conf ---
    @@ -110,6 +108,13 @@ from buildbot.config import BuilderConfig
     from buildbot.process.factory import BuildFactory
     from buildbot.steps.transfer import FileDownload
    +def RMCommand(path, **kwargs):
    +    js_script = "var s = require('shelljs'); console.log('removing {path}'); s.rm('-rf',
    +    return ShellCommand(command=['node', '-e', js_script], **kwargs)
    +def InstallShellJS():
    --- End diff --
    Another way is to note shelljs as a prerequisite for build slave (like the grunt-cli (https://github.com/apache/cordova-medic#install-prerequisites))

> Setup buildbot for Cordova project
> ----------------------------------
>                 Key: INFRA-8588
>                 URL: https://issues.apache.org/jira/browse/INFRA-8588
>             Project: Infrastructure
>          Issue Type: Wish
>            Reporter: Vladimir Kotikov
>            Assignee: Gavin
>              Labels: Cordova
>         Attachments: config.json, master.cfg, repos.json
> We'd like to setup a buildbot build for Cordova. 
> I assume it would be good to have buildbot master inside Apache infra and ability to
add slaves from external network. This way we would get single point for CI without big load
on Apache infra. Cordova slaves need some special set up and programs on board. So it’s
hardly possible to use existing slave machines.
> Please confirm that this is valid approach.
> Also Cordova testing environment uses CouchDB to store test run results. Can we have
CouchDB server inside Apache infrastructure?
> We already have buildbot configuration in terms of medic project https://github.com/apache/cordova-medic.
There are:
> master.cfg – buildbot configuration file
> repos.json, config.json – special configuration files used in master.cfg (now should
be level upper than master.cfg)
> Please let me know your thoughts about it.

This message was sent by Atlassian JIRA

View raw message