Feature #6196
Build all active branches
100%
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 (Feature #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 commits | Resolved | 100 |
|||
| Feature #8654: Have topic branches built using the packages from their base branch's APT repo | Resolved | 100 |
|||
| Feature #8655: Lead the discussion to specify what kind of branch needs to be automatically built, and when | Resolved | 100 |
|||
| Feature #8656: Write code that generates a set of Jenkins jobs for all branches we want to automatically build | Resolved | 100 |
|||
| Feature #8657: Write library code that implements the branch to build parameters mapping | Resolved | 100 |
|||
| Feature #8658: Deploy the "build all active branches" system | Resolved | 100 |
|||
| Feature #8636: Deploy our Puppet recipes for Jenkins from scratch | Resolved | 100 |
|||
| Bug #8692: Fix double-triggered build post Git push | Resolved | 100 |
|||
| Bug #8912: Nightly built artifacts for disabled jobs are not removed | Resolved | 100 |
|||
| Feature #9350: Jenkins workspaces for disabled jobs are not removed from ISO builders | Resolved | 100 |
|||
| Feature #6216: Email notification on failed Jenkins build | Resolved | 100 |
|||
| Feature #9601: Add a merge step to our Jenkins ISO build process | Rejected | 0 |
|||
| Feature #9599: Create an alias for the Tails release manager | Resolved | 100 |
|||
| Feature #9600: Give push access to our jenkins-jobs repo to jenkins@jenkins.lizard | Resolved | 100 |
|||
| Bug #9660: Jenkins notifications doesn't cut our needs | Resolved | 100 |
|||
| Bug #9682: Upstream our changes in puppet-jenkins | Resolved | 100 |
Related issues
|
Blocked by Tails - |
Resolved | ||
|
Blocked by Tails - |
Resolved | 2013-11-25 | 2015-07-15 |
|
Blocked by Tails - |
Resolved | 2014-10-11 | |
|
Blocked by Tails - |
Resolved | 2015-02-17 |
History
#1 Updated by intrigeri 2014-05-12 01:11:10
- blocked by
Feature #7221: Write a script that deletes old merged Git branches added
#2 Updated by intrigeri 2014-08-17 00:35:42
- blocked by
Feature #6439: Fix cleanup of nightly built ISO images added
#3 Updated by intrigeri 2014-12-06 10:31:31
- blocked by
Feature #8072: Set up a second Jenkins slave to build ISO images added
#4 Updated by intrigeri 2015-01-09 17:34:28
- Target version changed from Sustainability_M1 to Tails_1.4
#6 Updated by intrigeri 2015-02-19 22:22:20
- blocked by
Bug #8913: Jobs removed in the jenkins-jobs repository are not (always?) deleted from Jenkins added
#7 Updated by intrigeri 2015-05-09 02:03:54
- Target version changed from Tails_1.4 to Tails_1.4.1
Postponing.
#8 Updated by intrigeri 2015-05-29 11:34:38
- blocks #8668 added
#9 Updated by intrigeri 2015-06-19 01:48:59
- Status changed from Confirmed to In Progress
#10 Updated by bertagaz 2015-06-28 09:08:17
- Target version changed from Tails_1.4.1 to Tails_1.5
#11 Updated by bertagaz 2015-07-15 10:34:50
- Status changed from In Progress to Resolved
- Assignee deleted (
bertagaz)
Autobuilds are deployed,yay!
#12 Updated by intrigeri 2015-08-26 06:07:24
- Deliverable for set to 266