Difference between revisions of "Testing Servers"
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
(→Available Testing Servers) |
|||
Line 7: | Line 7: | ||
! style="color: rgb(255, 255, 255); background-color: grey;" | URL | ! style="color: rgb(255, 255, 255); background-color: grey;" | URL | ||
! style="color: rgb(255, 255, 255); background-color: grey;" | Database | ! style="color: rgb(255, 255, 255); background-color: grey;" | Database | ||
+ | ! style="color: rgb(255, 255, 255); background-color: grey;" | currently maintainde by | ||
! style="color: rgb(255, 255, 255); background-color: grey;" | Note | ! style="color: rgb(255, 255, 255); background-color: grey;" | Note | ||
|- | |- | ||
|http://asds2.adempiere.de:8080/webui/ | |http://asds2.adempiere.de:8080/webui/ | ||
|PostgreSQL-9.0.4 | |PostgreSQL-9.0.4 | ||
+ | |[[User:Tobi|Tobi]] | ||
| | | | ||
*Sponsored by ADeV | *Sponsored by ADeV | ||
*Latest integration build of http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/adempiere | *Latest integration build of http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/adempiere | ||
|} | |} | ||
− | |||
==Guildlines for setting up and maintaining an ADeV ADempiere testing instance (DRAFT)== | ==Guildlines for setting up and maintaining an ADeV ADempiere testing instance (DRAFT)== |
Revision as of 22:52, 31 May 2011
Contents
Available Testing Servers
URL | Database | currently maintainde by | Note |
---|---|---|---|
http://asds2.adempiere.de:8080/webui/ | PostgreSQL-9.0.4 | Tobi |
|
Guildlines for setting up and maintaining an ADeV ADempiere testing instance (DRAFT)
Reasons for this guidelines
Testing servers should be set up in a similar way in order to
- minimize maintenance cost
- allow different TT members to maintain a particular server, without first having to become an expert for it first
General Software
- The ADeV-Instances run with Debian-Squeeze.
- Apart from ADempiere inteself, all packages are installed using Debian's package manager (apt)
ADempiere
- There is a dedicated user "adempiere" with /home/adempiere as home directory
- The ADempiere-Server runs with the privileges of the user adempiere
- The ADempiere-Server is located in /home/adempiere/server, i.e. ADEMPIERE_HOME=/home/adempiere/server/Adempiere
- To start and stop the ADempiere-server, the init-script ADEMPIERE_HOME/utils/unix/adempiere_Debian.sh is adapted and installed to /etc/init.d/adempiere
Rollout and dump scripts
- To perform the db-reset, rollout, application of migration scripts, and creation of dump, the scripts located at http://adempiere.hg.sourceforge.net/hgweb/adempiere/contribution_adev_ci_rollout/ are used
- The repository is cloned to /home/adempiere and a softlink points from /home/adempiere/scripts to /home/adempiere/contribution_adev_ci_rollout
- The scripts are divided into general parts and a instance/database specific parts. The database specific parts are located in script files (libraries) named tools_<hostname>.sh
- ADeV provides those scripts, with empty function bodies (unless an implementation already exists). The maintainer of a testing instance is responsible for the actual implementation
- The AdempiereEnv.properties file to be used for a specific instance needs to be added to the repository with filename AdempiereEnv_<hostname>.properties. It is copied to ADEMPIERE_HOME by the rollout script (general part) during the rollout
ssh and sudo
- In order to allow the adempiere user to start and stop adempiere for rollout, the instance must have sudo installed. The instance's sudoers file needs to have these entries
adempiere ALL=(root)NOPASSWD: /etc/init.d/adempiere start adempiere ALL=(root)NOPASSWD: /etc/init.d/adempiere stop
- The following public key needs to be placed in the adempiere user's authorized_keys file to allow the jenkins user to log in as adempiere
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNvN11ztbigqSBTftkOvCKDyuoPG9EUVi72j4UZhU0hXcl2Kyve84bwhen1EkZ2u/HbAXwVXcFZ5kL6raH5yC+hxwAjJgs2Xh+LotgpaUMJxwtVHSdgXlSI9tAlr8W+rRrNnehpNdQp88XgY6M52xV8jUJg+i3nsetpFbywFWZFaliBKHNH3t1D/tabyWPQsLVlRLMhCcJYDSrGpjGmT7SZkFybyiXE4+Z/zhlgLabBn/1TAaDvktrpr4OakMee94wTp6ONbgBDuXxb9t0N0eYNL3FjT1ZRga2dft38it5KpYyR5nZbJmMvLyCXImuXtIR1c6XU8ul5GTcfI37p69b jenkins@asds1.adempiere.de