‘Automated test triggers’ configuration and associated code
Need an administrative user interface designed to support the configuration of jobs and testing on Drupal.org, for use by testing maintainers.
This user interface should give maintainers the ability to, through configuration, manage what jobs on the dispatcher are triggered with each event
Each Drupal.org testing action will have an associated uniquely named job entry on our Jenkins server.
The user interface should allow administrators to:
- list/create/edit/delete entries representing the jobs on the Jenkins server
- Associate/disassociate these job entries with defined Drupal.org events (e.g. patch posted, issue updated, etc.)
- Individually control (enable/disable) any particular job entry/event association
$conf['pift_ci_environments'] = array(
'php5.4_mysql5.5' => array(
'title' => 'PHP 5.4 & MySQL 5.5',
'api_versions' => array('6.x', '7.x', '8.x'),
'url' => 'https://dispatcher.drupalci.org/job/DCI_Run/buildWithParameters',
'query' => array(
'DCI_JobType' => 'simpletest',
'DCI_PHPVersion' => '5.4',
'DCI_DBVersion' => 'mysql-5.5',
),
),
'php5.5_mysql5.5' => array(
'title' => 'PHP 5.5 & MySQL 5.5',
'api_versions' => array('6.x', '7.x', '8.x'),
'url' => 'https://dispatcher.drupalci.org/job/DCI_Run/buildWithParameters',
'query' => array(
'DCI_JobType' => 'simpletest',
'DCI_PHPVersion' => '5.5',
'DCI_DBVersion' => 'mysql-5.5',
),
),
'php5.6_mysql5.5' => array(
'title' => 'PHP 5.6 & MySQL 5.5',
'api_versions' => array('6.x', '7.x', '8.x'),
'url' => 'https://dispatcher.drupalci.org/job/DCI_Run/buildWithParameters',
'query' => array(
'DCI_JobType' => 'simpletest',
'DCI_PHPVersion' => '5.6',
'DCI_DBVersion' => 'mysql-5.5',
),
),
'php7_mysql5.5' => array(
'title' => 'PHP 7 & MySQL 5.5',
'api_versions' => array('7.x', '8.x'),
'url' => 'https://dispatcher.drupalci.org/job/DCI_Run/buildWithParameters',
'query' => array(
'DCI_JobType' => 'simpletest',
'DCI_PHPVersion' => '7',
'DCI_DBVersion' => 'mysql-5.5',
),
),
'php5.4_sqlite3.6.8' => array(
'title' => 'PHP 5.4 & SQLite 3.6.8',
'api_versions' => array('6.x', '7.x', '8.x'),
'url' => 'https://dispatcher.drupalci.org/job/DCI_Run/buildWithParameters',
'query' => array(
'DCI_JobType' => 'simpletest',
'DCI_PHPVersion' => '5.4',
'DCI_DBVersion' => 'sqlite-3.8',
),
),
'php5.4_postgres8.3' => array(
'title' => 'PHP 5.4 & PostgreSQL 8.3',
'api_versions' => array('6.x', '7.x', '8.x'),
'url' => 'https://dispatcher.drupalci.org/job/DCI_Run/buildWithParameters',
'query' => array(
'DCI_JobType' => 'simpletest',
'DCI_PHPVersion' => '5.4',
'DCI_DBVersion' => 'pgsql-9.4',
),
),);
Comments
Comment #1
drummComment #2
drummThis will be in-code configuration only. Adding a stub example to the issue summary. Since what exactly we need will be adjusted as the API is defined and requirements set, we don't want to spend time on a UI right now. Having this configuration in-code, checked into Drupal.org's
settings.php, is good to do, we may never have a UI.Comment #3
drummComment #4
drummChanging the variable name from
pift_ci_job_typestopift_ci_environments.Comment #6
drummAdding
api_versionskey.Comment #7
drummComment #8
drummUpdating tests array to match Mixologic's dev site.
Comment #9
drummFilling out the array to match #2467925: [plan] Remove blockers to the "minimum viable" state of DrupalCI to ship Drupal 8 RC1.
Comment #10
drummRemoving support for Drupal 6 with PHP 7 & MySQL 5.5.
Comment #11
drummComment #12
drummComment #13
drummComment #14
drummThe current version is now in Drupal.org's Git, https://bitbucket.org/drupalorg-infrastructure/drupal.org/commits/624a7f...