Difference between revisions of "ART-DECOR building and testing"

(Building ART-DECOR)
Line 6: Line 6:
 
===Environment===
 
===Environment===
 
The build will be deployed on a server with:
 
The build will be deployed on a server with:
- Java development environment (JDK)
+
* Java development environment (JDK)
- NGINX reverse proxy
+
* NGINX reverse proxy
 
===eXist-db===
 
===eXist-db===
====Committing code====
+
====Commit code====
 
Code is committed in a software repository and 2 logs are created:
 
Code is committed in a software repository and 2 logs are created:
 
* Development: [[http://art-decor.org/ADAR-dev/svnlog.html]]
 
* Development: [[http://art-decor.org/ADAR-dev/svnlog.html]]
 
* Stable: [[http://art-decor.org/ADAR/svnlog.html]]
 
* Stable: [[http://art-decor.org/ADAR/svnlog.html]]
====Building XAR packages code====
+
====Build .xar packages====
 
During this step code from the code repository is converted into .xar packages.
 
During this step code from the code repository is converted into .xar packages.
+
 
 
Documentation on how to run the script for updating the repository can be found here: TODO
 
Documentation on how to run the script for updating the repository can be found here: TODO
  

Revision as of 12:36, 25 October 2018

Tools.svg This article or section is in the middle of an expansion or major restructuring and is not yet ready for use. You are welcome to assist in its construction by editing it as well.

This page will document how to build and test ART-DECOR in a automated process.

Building ART-DECOR

The following steps are taken during an ART-DECOR build

Environment

The build will be deployed on a server with:

  • Java development environment (JDK)
  • NGINX reverse proxy

eXist-db

Commit code

Code is committed in a software repository and 2 logs are created:

  • Development: [[1]]
  • Stable: [[2]]

Build .xar packages

During this step code from the code repository is converted into .xar packages.

Documentation on how to run the script for updating the repository can be found here: TODO

The result repositories are viewable here: Download#Repository

Installing .xars into a ART-DECOR instance

There is a docker script that will deploy a running instance of ART-DECOR with the latest .xar packages installed. Documentation on how to run the script for installing ART-DECOR can be found here: TODO

Orbeon

Creating a Orbeon war file

Steps to create the art-decor.war package are documented here: ART_developers_manual#Creating_a_new_art-decor.war_package

Installing a Orbeon war file into a ART-DECOR instance

Documentation on how to run the script for installing ART-DECOR can be found here: TODO

Restoring data

Test instances or production instances of ART-DECOR might need data restored into their database.

Testing ART-DECOR

Tests that can be run against a ART-DECOR instance are documented at: ART_developers_manual#ART-DECOR_testscenarios