‘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

drumm’s picture

Project: DrupalCI: Drupal.org Integration (Modernizing Testbot Initiative) » Project issue file test
Version: » 7.x-3.x-dev
Assigned: Unassigned » drumm
drumm’s picture

Title: Modernizing Testbot: Drupal.org Testing Configuration » DrupalCI: Testing Configuration
Assigned: drumm » Unassigned
Issue summary: View changes

This 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.

drumm’s picture

Title: DrupalCI: Testing Configuration » DrupalCI: Sitewide job configuration
drumm’s picture

Issue summary: View changes

Changing the variable name from pift_ci_job_types to pift_ci_environments.

  • drumm committed 5919a94 on 7.x-3.x
    Issue #2463185: DrupalCI Project UI: Keep up with #2373451
    
drumm’s picture

Issue summary: View changes

Adding api_versions key.

drumm’s picture

Issue summary: View changes
drumm’s picture

Issue summary: View changes

Updating tests array to match Mixologic's dev site.

drumm’s picture

drumm’s picture

Issue summary: View changes

Removing support for Drupal 6 with PHP 7 & MySQL 5.5.

drumm’s picture

drumm’s picture

Status: Active » Needs review
drumm’s picture

Issue summary: View changes
drumm’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.