Download & Extend

Add the ability to test a patch in an auto-generated environment

Project:PIFR Demo
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:boombatower
Status:closed (fixed)

Issue Summary

Testers could goto testing.drupal.org press a button and have a test drupal site setup with the patch they want to test.

The instance would only be accessible to the user who created it to prevent XSS attacks. Once the user leaves or after timeout of inactivity the site would be destroyed.

I made an initial stab at this some time ago and stopped after finding: #329548: Clean up testing.drupal.org server

AttachmentSize
pifr_environment.patch5.03 KB

Comments

#1

Version:6.x-1.x-dev» 6.x-2.x-dev

Waiting for 2.x.

#2

Talk to sun (tha_sun) about using demo module.

#3

Status:postponed» active

Workflow:

Drupal.org
* file patch
* patch is queued and has test ID assigned
* "try now" link is visible

link -> qa.drupal.org (redirect) -> dedicated demo client

demo client
* start batch process
* request test information
* perform setup routines
* auto-login
* schedule site for deletion after one hour

What is needed:

* minimal module on qa.drupal.org
  * perform redirect
  * provide test information (simple wrapper around pifr API)
* minimal module on client
  * instead of requesting tests on cron run it will provide a page to trigger
  * wrap pifr client runner with batch API
  * setup demo module
  * auto login

possible module name: pifr_usability

#4

Project:Project Issue File Review» PIFR Demo
Version:6.x-2.x-dev» <none>

#5

Version:<none>» 6.x-1.x-dev
Assigned to:Anonymous» boombatower
Status:active» needs review

#6

Virtually done, just need auto-login.

AttachmentSize
342509-environment-generate.png 76.15 KB

#7

Status:needs review» fixed

Complete.

#8

Status:fixed» closed (fixed)

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

nobody click here