You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Ari Maniatis (Created) (JIRA)" <ji...@apache.org> on 2011/10/12 05:57:11 UTC

[jira] [Created] (INFRA-4023) Enable buildbot for Cayenne project

Enable buildbot for Cayenne project
-----------------------------------

                 Key: INFRA-4023
                 URL: https://issues.apache.org/jira/browse/INFRA-4023
             Project: Infrastructure
          Issue Type: Task
      Security Level: public (Regular issues)
          Components: Buildbot
            Reporter: Ari Maniatis


I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Ari Maniatis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276581#comment-13276581 ] 

Ari Maniatis commented on INFRA-4023:
-------------------------------------

As for the nightlies, could we make it even simpler? Just drop the output of maven into a folder:

   http://ci.apache.org/projects/cayenne/nightlies/

I don't think we even care about keeping history. Just the most recent nightly build would be perfect. Then we don't have another website template to keep in sync with the main site design, just a folder with some files in it.

Ah, and the docbook build should be right to go:

cd docs/docbook
mvn site:site


How do we get that (and the javadocs) synced up to our main website?

Thanks
Ari
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Gavin (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin reassigned INFRA-4023:
----------------------------

    Assignee: Gavin
    
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Ari Maniatis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285806#comment-13285806 ] 

Ari Maniatis commented on INFRA-4023:
-------------------------------------

I've tried to force maven3 without success. Gavin, could you please try switching this to the latest maven3 to see if this solves our build problem:

http://ci.apache.org/builders/cayenne-nightly/builds/233/steps/compile/logs/stdio

Thanks
Ari
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Gavin (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126424#comment-13126424 ] 

Gavin commented on INFRA-4023:
------------------------------

Yes you can commit a RAT excludes file., has to be in the trunk or branch being tested so it is pulled in as part of the build (well its easier that way at least).

see http://ci.apache.org/projects/rat-master-summary.html where you'll find links to working example RAT exclude files of other projects (near the bottom).
Once you have one committed just let me know where and I'll make sure the config finds it.

The path for nightlies I was thinking of would be something like ci.apache.org/projects/cayenne/nightlies/ which would be a download page styled to that of the  cayenne website and contain a table with links to the files in ci.apache.org/projects/cayenne/nightlies/$revnumber/* - does that sound ok? See [1] , [2] and [3] for project styled examples.

[1] - http://ci.apache.org/projects/subversion/nightlies/
[2] - http://ci.apache.org/projects/ofbiz/snapshots/
[3] - http://ci.apache.org/projects/xmlgraphics/fop/snapshots/index.html

Look forward also to building the docbook stuff.

No problem with repeating all of this on a per branch basis also - to prepare for that I may alter above mentioned and existing urls to show we are using /trunk/

                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Ari Maniatis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126402#comment-13126402 ] 

Ari Maniatis commented on INFRA-4023:
-------------------------------------

Brilliant. Can we commit a RAT excludes file in our project? Obviously we'll exclude pretty much anything inside an invisible folder which starts with a dot.

As for nightly builds, that's great. To be honest, we don't need much history so a week or two is fine. We've previously just had the latest one without history for people who wanted to test development features. Any way of having a path like ci.apache.org/projects/cayenne/latest-build/*

The final part is building our new docbook.

cd docs/docbook
mvn site:site

That's still a work in progress.


The final part, once all this is nicely working, is to duplicate the entire thing for some other branches. Would that be hard to do?
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Gavin (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126396#comment-13126396 ] 

Gavin commented on INFRA-4023:
------------------------------

I've made a start.

http://ci.apache.org/projects/cayenne/api/ and for good measure thrown in a RAT report of main/trunk too: http://ci.apache.org/projects/cayenne/rat-output.html (we can discuss an excludes file for that sometime.)

Now , did you want more apidocs per version or is the one above ok?

You mention nightly builds, what would you like to see published for the nightly builds, my guess is:

cayenne-client-3.1M4-SNAPSHOT-sources.jar 
cayenne-client-3.1M4-SNAPSHOT.jar 
cayenne-lifecycle-3.1M4-SNAPSHOT-sources.jar 
cayenne-lifecycle-3.1M4-SNAPSHOT.jar 
cayenne-server-3.1M4-SNAPSHOT-sources.jar 
cayenne-server-3.1M4-SNAPSHOT.jar 

You may want more or less than that.
Would you like them date ranged and 7|14|30 days worth kept?

Anything else I missed?
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Ari Maniatis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276576#comment-13276576 ] 

Ari Maniatis commented on INFRA-4023:
-------------------------------------

Please add the RAT file from http://svn.apache.org/repos/asf/cayenne/main/trunk/build-tools/rat-excludes
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Ari Maniatis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281454#comment-13281454 ] 

Ari Maniatis commented on INFRA-4023:
-------------------------------------

Odd maven problem we are trying to understand. I assume this is just a standard maven 3 install on Ubuntu with openjdk6?
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279954#comment-13279954 ] 

Gavin commented on INFRA-4023:
------------------------------

my bad, wrong working dir specified (needed to prequel with 'build')

New error now:

http://ci.apache.org/builders/cayenne-nightly/builds/224/steps/compile_1/logs/stdio


                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Ari Maniatis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456714#comment-13456714 ] 

Ari Maniatis commented on INFRA-4023:
-------------------------------------

Thanks Gavin, that's great. I think the last step now is publishing to our website. We'd like two things:

1. A URL for nightly builds. The load on this is going to be tiny, so no need to mirror it to the main site, just a URL to buildbot we can use that will always work for the most current build.

2. Pushing docbook builds of our documentation into the live site. This will have much more load, and we'd like nice URLs from the main cayenne.apache.org domain since we refer people to the docs all the time. We'll want multiple branches of the documentation, but we don't need to version each branch. That is, once we commit to the docs and buildbot does its thing, we'd like the results to be published immediately without any 'release process'.

Our resulting URL will be something like this:

   http://cayenne.apache.org/doc30/overview.html

How do others do this? Do we tie it into the svn subpub process?
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Ari Maniatis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279936#comment-13279936 ] 

Ari Maniatis commented on INFRA-4023:
-------------------------------------

Gavin, I'm confused about this error:

   http://ci.apache.org/builders/cayenne-nightly/builds/223/steps/compile_1/logs/stdio

It is showing that pom.xml does not exist, however it is there:

   http://svn.apache.org/repos/asf/cayenne/main/trunk/docs/docbook/


Is the svn checkout not working properly perhaps?
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455693#comment-13455693 ] 

Gavin commented on INFRA-4023:
------------------------------

ergh, sorry for the huge delay on this :( missed the update altogether.

Ok so now running on Maven 3 and glad to report that all tests pass.
We now also API and Docbook uploaded. And RAT reports

http://ci.apache.org/builders/cayenne-nightly/builds/340 
http://ci.apache.org/projects/cayenne/rat-output.html 
http://ci.apache.org/projects/cayenne/docbook// 
http://ci.apache.org/projects/cayenne/api/ 

Please let me know what else might need doing.
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (INFRA-4023) Enable buildbot for Cayenne project

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277568#comment-13277568 ] 

Gavin commented on INFRA-4023:
------------------------------

RAT excludes files added. Results at http://ci.apache.org/projects/cayenne/rat-output.html - down from 431 to 328 failed files. More tweaks needed to your rat-excludes file but now at least you can do this without intervention.

I had tested the docbook build previously and it failed, will try again now.
                
> Enable buildbot for Cayenne project
> -----------------------------------
>
>                 Key: INFRA-4023
>                 URL: https://issues.apache.org/jira/browse/INFRA-4023
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Ari Maniatis
>            Assignee: Gavin
>
> I assume I'll need to add some sort of build script to our project once you have set this up?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira