Index: openacs-4/packages/acs-automated-testing/www/doc/usage.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-automated-testing/www/doc/usage.adp,v diff -u -r1.4.2.2 -r1.4.2.3 --- openacs-4/packages/acs-automated-testing/www/doc/usage.adp 21 Apr 2023 10:42:55 -0000 1.4.2.2 +++ openacs-4/packages/acs-automated-testing/www/doc/usage.adp 13 Jul 2023 12:49:25 -0000 1.4.2.3 @@ -13,14 +13,11 @@ Aufrecht

OpenACS docs are written by the named authors, and may be edited by -OpenACS documentation staff. - -

This documentation refers to the setup of the OpenACS test-servers -of 2003. This setup was active probably around 5 years, and is -obsolete. Use regression testing of your local instance and Refer to a -CI/CD pipeline as presented at the OpenACS conference in 2022.

- -

Here's the entire chain of code used to set up +OpenACS documentation staff.

This documentation refers to the setup of the OpenACS +test-servers of 2003. This setup was active probably around 5 +years, and is obsolete. Use regression testing of your local +instance and Refer to a CI/CD pipeline as presented at the OpenACS +conference in 2022.

Here's the entire chain of code used to set up auto-rebuilding servers on test.openacs.org

  • To enable the 'rebuild server' link, edit the file -/usr/local/bin/rebuild-server.sh:

    #!/bin/sh
    +/usr/local/bin/rebuild-server.sh:

    +#!/bin/sh
     # script to trigger a server rebuild
     
     # hard-coding the valid server names here for some minimal security
    @@ -68,9 +71,12 @@
             exit;;
     esac
     
    -sudo /home/$1/install/install.sh 2>&1

    and allow the master user to +sudo /home/$1/install/install.sh 2>&1 +

    and allow the master user to execute this file as root (this is a limitation of the automatic -install script, which must be root). In /etc/sudoers, include a line:

    master ALL = NOPASSWD: /usr/local/bin/rebuild-server.sh
    +install script, which must be root). In /etc/sudoers, include a line:

    +master ALL = NOPASSWD: /usr/local/bin/rebuild-server.sh
    +