Jira (PUP-6962) Create Jenkins jobs for running puppet test tiers

2017-01-18 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte commented on  PUP-6962 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Create Jenkins jobs for running puppet test tiers  
 
 
 
 
 
 
 
 
 
 
Combining tagged tests with new/modified tests regardless of tag will be a challenge. Beaker tagging does not restrict the array of tests in the options hash. Beaker tagging skips tests in the options hash that do not match the desired tag set. So, although we can easily get a list of the new/modified tests in the current merge unless they contain the desired tag; unless they contain the desired tag, they will be skipped. 
In the Jenkins shell script, we can use git to create a comma separated list of new/modified tests in the current merge with something like the following: 
 
 
 
 
 
 
function changed-tests () { 
 
 
 
 
  previous_merge_sha=$(git show -s HEAD^ --format="%H") 
 
 
 
 
  changed_files=$(git diff --name-only $previous_merge_sha) 
 
 
 
 
  changed_tests='' 
 
 
 
 
  while read -r line; do 
 
 
 
 
if [[ $line = acceptance\/tests* ]] 
 
 
 
 
  then 
 
 
 
 
  line=$(echo $line | cut -c 12-) 
 
 
 
 
  changed_tests=$changed_tests,$line 
 

Jira (PUP-6962) Create Jenkins jobs for running puppet test tiers

2016-12-28 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte commented on  PUP-6962 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Create Jenkins jobs for running puppet test tiers  
 
 
 
 
 
 
 
 
 
 
Branan Riley, I was told that you might have some insight into how we could add new and modified tests to the per commit component run. Please let me know if you have any suggestions. Thanks. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6962) Create Jenkins jobs for running puppet test tiers

2016-12-07 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6962 
 
 
 
  Create Jenkins jobs for running puppet test tiers  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 AP Grooming 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6962) Create Jenkins jobs for running puppet test tiers

2016-12-02 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6962 
 
 
 
  Create Jenkins jobs for running puppet test tiers  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 AP Grooming 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6962) Create Jenkins jobs for running puppet test tiers

2016-12-01 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte assigned an issue to John Duarte 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6962 
 
 
 
  Create Jenkins jobs for running puppet test tiers  
 
 
 
 
 
 
 
 
 

Change By:
 
 John Duarte 
 
 
 

Assignee:
 
 John Duarte 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6962) Create Jenkins jobs for running puppet test tiers

2016-12-01 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6962 
 
 
 
  Create Jenkins jobs for running puppet test tiers  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Task 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/12/01 10:08 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 John Duarte 
 
 
 
 
 
 
 
 
 
 
Create Jenkins jobs to execute puppet acceptance test suite in a tiered fashion based on risk tags. 
Tags should be mapped to job execution in the following manner: 
 

tag 'risk:high' should be run on a per commit basis
 

tag 'risk:medium' should be run on a nightly basis
 

tag 'risk:low' should be run on a weekly basis
 
 
The JJB definition for these jobs should include the appropriate line to execute tests based on beaker tag. This line looks like the following: 
 
 
 
 
 
 
- project: 
 
 
 
 
<<: