Deployment

The contents of this repository are deployed to the following VM: https://whimsy.apache.org/.

The new VM is based on Ubuntu 14.04 (the current Whimsy is based on Ubuntu 12.04), and is more completely managed by Puppet. The puppet definition is contained in the following files:

Instructions:

Workflow:

Manual Steps

The following additional steps are required to get the Whimsy VM up and running:

  • Configuring /whimsysvn/.subversion/config and /whimsysvn/.subversion/servers to store auth-creds.

  • Add the following cron job to apmail@hermes:

    • 11 4,10,16,22 * * * for list in /home/apmail/lists/incubator.apache.org/*; do echo; echo $list/mod; ezmlm-list $list mod; done | ssh whimsy-vm2.apache.org 'cat > /srv/subscriptions/incubator-mods'
    • 16 * * * * ezmlm-list /home/apmail/lists/apache.org/board/ . | ssh whimsy-vm2.apache.org 'cat > /srv/subscriptions/board'
    • 46 * * * * ezmlm-list /home/apmail/lists/apache.org/members/ . | ssh whimsy-vm2.apache.org 'cat > /srv/subscriptions/members'
  • Add the following mail subscriptions:

    • Subscribe svnupdate@whimsy-vm2.apache.org to board@apache.org. Alternately, add it to the board-cvs alias.
    • Subscribe svnupdate@whimsy-vm2.apache.org to committers-cvs@apache.org.
    • Subscribe board@whimsy-vm2.apache.org to board@apache.org.
    • Subscribe members@whimsy-vm2.apache.org to members@apache.org.
    • Add secretary@whimsy-vm2.apache.org to the secretary@apache.org alias.

The following additional steps are required for now, but will hopefully go away once the transition away from the secretary workbench is complete:

  • Configuring /var/www/.subversion/config and /var/www/.subversion/servers to store auth-creds and to use the whimsysvn user.

  • Using the www-data user, check out the following repositories:

    • svn co https://svn.apache.org/repos/private/foundation /srv/secretary/workbench/foundation
    • svn co https://svn.apache.org/repos/private/documents /srv/secretary/workbench/documents
    • svn co https://svn.apache.org/repos/infra/infrastructure/trunk/subreq /srv/secretary/workbench/subreq
    • svn co https://svn.apache.org/repos/infra/infrastructure/trunk/tlpreq/input /srv/secretary/tlpreq
  • Copy www/secretary/workbench/secmail.rb to /srv/secretary/workbench/secmail.rb