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 Tue, 10 Feb 2015 06:55:36 GMT

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

ASF GitHub Bot commented on INFRA-8588:
---------------------------------------

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

    https://github.com/apache/cordova-medic/pull/29#discussion_r24392359
  
    --- Diff: src/build/makers/ios.js ---
    @@ -15,63 +15,44 @@ module.exports = function(output,lib_location,test_dir, sha, devices,
entry_poin
         function log(msg) {
             console.log('[IOS] ' + msg + ' (sha: ' + sha + ')');
         }
    -    if (keychain_location.length === 0 || keychain_password.length === 0) {
    -        log('No keychain information. Fill that out in config.json if you want to build
for iOS.');
    +    log('starting iOS prepare');
    +    try {
    +        var projectWww = path.join(output, 'www');
    +        // add the medic configuration (sha,host) to destination folder
    +        var medic_config='{"sha":"'+sha+'","couchdb":"'+couchdb_cfg.host+'","couchdbext":"'+couchdb_cfg.exthost+'"}';
    +        fs.writeFileSync(path.join(output, 'www','autotest','pages', 'medic.json'),medic_config,'utf-8');
    --- End diff --
    
    I thought that `plugin-test-framework` searches for medic.json at `www` folder (https://github.com/apache/cordova-medic/blob/master/src/build/makers/windows.js#L84-L86)


> Setup buildbot for Cordova project
> ----------------------------------
>
>                 Key: INFRA-8588
>                 URL: https://issues.apache.org/jira/browse/INFRA-8588
>             Project: Infrastructure
>          Issue Type: Wish
>          Components: Buildbot
>            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
(v6.3.4#6332)

Mime
View raw message