TC tool should help to avoid new failures introduction into master and provide ways of its early detection.
Major use cases are the following:
This tool is available on https://mtcga.gridgain.com/ - requires apache CI credentials.
Locally code can be set up using IntelliJ idea and gradle project import. Locally it can be run using org.apache.ignite.ci.web.Launcher.main() method. The bot will create necessary configs in ~/.ignite-teamcity-helper - it is bot Home directory. In can be changed with TcBotSystemProperties.TEAMCITY_HELPER_HOME system property.
Examples of configs can be found in conf directory. Main config file is conf/branches.json. This file needs to be placed to work directory, (under user home by default). Extra setup is required using security-sensitive information using PasswordEncoder. No TeamCity credentials are required because TC bot asks users to enter creds.
Code style is inherited from Apache Ignite. Please install following components for development using IntelliJ IDEA
A build can be done using following commands
It is recommended to use Java 8 for development.
It may be required to install Java Cryptography Extension JCE Unlimited Strength Jurisdiction Policy Files 8 Download because the Bot uses strong AES cryptography, but default java distribution may limit AES256 usage.
Resulting distribution can be found in projectRoot\jetty-launcher\build\distributions. Distribution will contain start script in \bin folder.
Apache Ignite TC Bot interacts with several data sources to find out current state and details of contribution.
TeamCity Bot Components and its interactions
Static content is placed in webapp.
TC Bot services can be found in tcbot-engine
TC Bot integrations are placed in corresponding submodules
|Data Source||Pure Integration||Persistence-enabled|