Infrastructure
  1. Infrastructure
  2. INFRA-4408

Switch CXF website to svnpubsub via a buildbot build

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: Initial Clearing
    • Component/s: Buildbot
    • Labels:
      None

      Description


      CXF has not been using the confluence autoexport plugin for over a year now and we're pretty much ready to switch the building of the site from a crontab entry from dkulp's cron on p.a.o to a real "buildbot" run build. The process is also able to commit to SVN and track the adds/deletes and such and thus provides the opportunity to switch to an svnpubsub model instead of the current (crappy) rsync method.

      SVN Location:

      https://svn.apache.org/repos/asf/cxf/web/
      (the generated site ends up in the contents sub-directory)

      The build requires a few things:
      1) Java
      2) Maven 2.2.1 or 3.x
      3) svn executable that can be called to commit the changes
      4) A Maven settings.xml with a valid confluence user creds. (You can use the one from people.apache.org:/home/dkulp/.m2/settings.xml for a very limited user)


      You can setup the build to just run the "bin/update-site" shell script in the web dir but pass a "--global-settings /path/to/settings.xml" flag. Otherwise, you could also look at the command in there (3 of them) to setup the mvn calls directly. The "svn" profile on the commands triggers the program to call out to svn to run "svn add" and "svn rm" commands and then ends with an "svn commit". If any of that needs changing (for example to trigger the svn commit from the buildbot script instead of from with the program itself), please let me know. I'm more than happy to make any modifications.

      The build should run hourly if possible. The program grabs the RSS feed from the space and will return quickly if the RSS feed shows no activity since the last build.

      Once the build is running, we'd like to test it a bit before switching the live site to svnpubsub model.

      Thanks!
      Dan Kulp


        Issue Links

          Activity

          Hide
          Daniel Kulp added a comment -

          Worked with Joe this afternoon on this. With the new scripts and such that he had been developing with the Maven folks, this process became significantly easier. A simple script to launch maven and a couple flags from Joe and it's up and running.

          Major thanks to Joe for the help getting this setup.
          Show
          Daniel Kulp added a comment - Worked with Joe this afternoon on this. With the new scripts and such that he had been developing with the Maven folks, this process became significantly easier. A simple script to launch maven and a couple flags from Joe and it's up and running. Major thanks to Joe for the help getting this setup.

            People

            • Assignee:
              Joe Schaefer
              Reporter:
              Daniel Kulp
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development