Page MenuHomePhabricator

Migrate Jenkins job "operations-puppet-catalog-compiler" to Jenkins Job Builder
Closed, ResolvedPublic

Description

The Jenkins job operations-puppet-catalog-compiler is used to test puppet catalogs and runs on a dedicated instance.

@Joe created the job via the web interface since it is much easier to bootstrap a job. Now that is being fairly stable, we should port it to our Jenkins Job Builder yaml files in integration/config.git . This way we can track / review / tweak the job.

Event Timeline

hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar added subscribers: hashar, Joe.
hashar renamed this task from Jenkins job operations-puppet-catalog-compiler should be defined in Jenkins Job Builder to Migrate Jenkins job "operations-puppet-catalog-compiler" to Jenkins Job Builder .Apr 29 2015, 9:36 AM
hashar set Security to None.
hashar triaged this task as Medium priority.Apr 29 2015, 9:51 AM
hashar lowered the priority of this task from Medium to Low.Oct 6 2015, 11:11 AM

Should we also create a new pipeline and whitelist for this? Or do we just want a new pipeline with a command like check catalog or something similar and all current white listed users will then be able to run it?

I am not sure how doable it is really. Potentially we could use the parameter function in Zuul, it is passed the change queue item as first parameter, maybe it has the event and the patchset comment. Have to dig in the zuul/model.py and find out whether the comment is actually included.

Change 315994 had a related patch set uploaded (by Paladox):
[operations-puppet-catalog-compiler] Adding it to jenkins job builder

https://gerrit.wikimedia.org/r/315994

How is the test set out?

We could try and create a patch and see how we can get for example check <node(s)> and add it to an export?

Job pasted on P4561 Note @elukey from operations has done a few changes to the operations-puppet-compiler Jenkins job.

Change 325064 had a related patch set uploaded (by Paladox):
Create operations-puppet-catalog-compiler job in jjb

https://gerrit.wikimedia.org/r/325064

Change 315994 abandoned by Paladox:
[operations-puppet-catalog-compiler] Adding it to jenkins job builder

https://gerrit.wikimedia.org/r/315994

Change 325064 merged by jenkins-bot:
[integration/config@master] Create operations-puppet-catalog-compiler job in jjb

https://gerrit.wikimedia.org/r/325064

This is nearly done, it's just blocked on replacing the old PCC job (T192532#4715031).

Change 594479 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] jjb: import operations-puppet-catalog-compiler

https://gerrit.wikimedia.org/r/594479

hashar claimed this task.

The job is now defined in jjb.

Change 594479 merged by jenkins-bot:
[integration/config@master] jjb: import operations-puppet-catalog-compiler

https://gerrit.wikimedia.org/r/594479

Change 594511 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] jjb: puppet compiler requires a COMPILER_MODE

https://gerrit.wikimedia.org/r/594511

Change 594511 merged by jenkins-bot:
[integration/config@master] jjb: puppet compiler requires a COMPILER_MODE

https://gerrit.wikimedia.org/r/594511