Project

General

Profile

Feature #6196

Build all active branches

Added by bertagaz over 6 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Elevated
Assignee:
-
Category:
Continuous Integration
Target version:
Start date:
08/07/2013
Due date:
07/15/2015
% Done:

100%

Feature Branch:
Type of work:
Sysadmin
Blueprint:
Starter:
No
Affected tool:

Description

It sounds possible to bind our Build_Tails_Iso_* jobs depending on the activity of a branch.

A possible scenario would be :

  • If a branch has a new commit, it is automatically assigned a new job if any
  • If a branch hasn't been updated since 2 months, its job (if any) are removed

This would greatly help to save sysadmin work.

Implementation

The addition of a job to build feature/wheezy (#5601) should be a useful proof-of-concept that can now be generalized. We can't use job templates unfortunately (see commit 3720983f in the jenkins-jobs repo for details). However, we obviously won't want to manually duplicate all this job configuration by hand, so a simple script could take as input a set of branch names, compute job name etc. from that and output jobs.yaml.

Further possible improvements

It might also help in having new contributors to enjoy our Jenkins facility, but that would require them to have access to our tails repo...
A more probable implementation for that goal would be to have another job definition in our jenkins-job-builder designed to watch other contributors repo's tags or branches.


Subtasks

Feature #8482: Survey usual committers about dropping the collective pseudonym for signing commitsResolved

Feature #8654: Have topic branches built using the packages from their base branch's APT repoResolved

Feature #8655: Lead the discussion to specify what kind of branch needs to be automatically built, and whenResolved

Feature #8656: Write code that generates a set of Jenkins jobs for all branches we want to automatically buildResolved

Feature #8657: Write library code that implements the branch to build parameters mappingResolved

Feature #8658: Deploy the "build all active branches" systemResolved

Feature #8636: Deploy our Puppet recipes for Jenkins from scratchResolved

Bug #8692: Fix double-triggered build post Git pushResolved

Bug #8912: Nightly built artifacts for disabled jobs are not removedResolved

Feature #9350: Jenkins workspaces for disabled jobs are not removed from ISO buildersResolved

Feature #6216: Email notification on failed Jenkins buildResolved

Feature #9601: Add a merge step to our Jenkins ISO build processRejected

Feature #9599: Create an alias for the Tails release managerResolved

Feature #9600: Give push access to our jenkins-jobs repo to jenkins@jenkins.lizardResolved

Bug #9660: Jenkins notifications doesn't cut our needsResolved

Feature #6132: Automated tests using cucumberResolved

Bug #9682: Upstream our changes in puppet-jenkinsResolved

Feature #9683: Check if we still need to patch the Jenkins puppet service definitionResolved

Feature #9684: Upstream our changes to the puppet-archive moduleResolved


Related issues

Blocked by Tails - Feature #7221: Write a script that deletes old merged Git branches Resolved
Blocked by Tails - Feature #6439: Fix cleanup of nightly built ISO images Resolved 11/25/2013 07/15/2015
Blocked by Tails - Feature #8072: Set up a second Jenkins slave to build ISO images Resolved 10/11/2014
Blocked by Tails - Bug #8913: Jobs removed in the jenkins-jobs repository are not (always?) deleted from Jenkins Resolved 02/17/2015

History

#1 Updated by intrigeri over 5 years ago

  • Blocked by Feature #7221: Write a script that deletes old merged Git branches added

#2 Updated by intrigeri about 5 years ago

  • Blocked by Feature #6439: Fix cleanup of nightly built ISO images added

#3 Updated by intrigeri almost 5 years ago

  • Blocked by Feature #8072: Set up a second Jenkins slave to build ISO images added

#4 Updated by intrigeri almost 5 years ago

  • Target version changed from Sustainability_M1 to Tails_1.4

#6 Updated by intrigeri over 4 years ago

  • Blocked by Bug #8913: Jobs removed in the jenkins-jobs repository are not (always?) deleted from Jenkins added

#7 Updated by intrigeri over 4 years ago

  • Target version changed from Tails_1.4 to Tails_1.4.1

Postponing.

#9 Updated by intrigeri over 4 years ago

  • Status changed from Confirmed to In Progress

#10 Updated by bertagaz over 4 years ago

  • Target version changed from Tails_1.4.1 to Tails_1.5

#11 Updated by bertagaz over 4 years ago

  • Status changed from In Progress to Resolved
  • Assignee deleted (bertagaz)

Autobuilds are deployed,yay!

Also available in: Atom PDF