Page MenuHomePhabricator

Migrate Jenkins job "Global-Dev Dashboard Data" to JJB and Zuul trigger
Closed, ResolvedPublic

Description

The Jenkins job Global-Dev Dashboard Data is not configured via Jenkins Job Builder while it should.

It polls the github repository https://github.com/wikimedia/analytics-global-dev-dashboard-data for new changes, we should trigger it from Zuul whenever a change is merged in the Gerrit repo analytics/global-dev/dashboard-data.

Event Timeline

hashar raised the priority of this task from to Low.
hashar updated the task description. (Show Details)
hashar added subscribers: hashar, Milimetric, QChris.

@QChris @Milimetric do you know whether that dev dashboard is still used? The Jenkin jobs curl http://gp.wmflabs.org/webhook/data-update which times out.

@QChris [...] do you know whether that dev dashboard is still used? The Jenkin jobs curl http://gp.wmflabs.org/webhook/data-update which times out.

Back when I was still in the analytics team, the repository was still in use (although not updated automatically), but the Jenkins job was not in use.
It was said that those dashboards would get migrated to some other system at some point in the future.
But I haven't been following what happened to this repo/dashboard after my leave.
Hence, leaving it to the analytics team to chime in with the current status.

@hashar, this fell off our radar without Christian around to help. Honestly, I don't see it becoming a priority again as we're trying to work on more generally useful infrastructure.

@Milimetric so should I just delete this job or is it worth me migrating it to Jenkins Job Builder ? :)

Not sure, @hashar, I leave that up to you and the people using the data. As far as our team is concerned, this is nor a priority.

Since the labs instance does not reply / exist. I have deleted the Job in Jenkins.

The XML configuration is archived at P843:

1<?xml version='1.0' encoding='UTF-8'?>
2<project>
3 <actions/>
4 <description>To be migrated to JJB &lt;a href=&quot;https://phabricator.wikimedia.org/T95675&quot;&gt;T95675&lt;/a&gt;</description>
5 <logRotator class="hudson.tasks.LogRotator">
6 <daysToKeep>90</daysToKeep>
7 <numToKeep>-1</numToKeep>
8 <artifactDaysToKeep>-1</artifactDaysToKeep>
9 <artifactNumToKeep>-1</artifactNumToKeep>
10 </logRotator>
11 <keepDependencies>false</keepDependencies>
12 <properties>
13 <org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty plugin="zmq-event-publisher@0.0.3">
14 <enabled>false</enabled>
15 </org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
16 <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.22">
17 <autoRebuild>false</autoRebuild>
18 </com.sonyericsson.rebuild.RebuildSettings>
19 <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@1.8.4">
20 <maxConcurrentPerNode>0</maxConcurrentPerNode>
21 <maxConcurrentTotal>0</maxConcurrentTotal>
22 <throttleEnabled>false</throttleEnabled>
23 <throttleOption>project</throttleOption>
24 </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
25 </properties>
26 <scm class="hudson.plugins.git.GitSCM" plugin="git@1.5.0">
27 <configVersion>2</configVersion>
28 <userRemoteConfigs>
29 <hudson.plugins.git.UserRemoteConfig>
30 <name>origin</name>
31 <refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
32 <url>https://gerrit.wikimedia.org/r/p/analytics/global-dev/dashboard-data.git</url>
33 </hudson.plugins.git.UserRemoteConfig>
34 </userRemoteConfigs>
35 <branches>
36 <hudson.plugins.git.BranchSpec>
37 <name>**</name>
38 </hudson.plugins.git.BranchSpec>
39 </branches>
40 <disableSubmodules>false</disableSubmodules>
41 <recursiveSubmodules>false</recursiveSubmodules>
42 <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
43 <authorOrCommitter>false</authorOrCommitter>
44 <clean>false</clean>
45 <wipeOutWorkspace>false</wipeOutWorkspace>
46 <pruneBranches>false</pruneBranches>
47 <remotePoll>false</remotePoll>
48 <ignoreNotifyCommit>false</ignoreNotifyCommit>
49 <useShallowClone>false</useShallowClone>
50 <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
51 <gitTool>Default</gitTool>
52 <submoduleCfg class="list"/>
53 <relativeTargetDir></relativeTargetDir>
54 <reference></reference>
55 <excludedRegions></excludedRegions>
56 <excludedUsers></excludedUsers>
57 <gitConfigName></gitConfigName>
58 <gitConfigEmail></gitConfigEmail>
59 <skipTag>false</skipTag>
60 <includedRegions></includedRegions>
61 <scmName></scmName>
62 </scm>
63 <canRoam>true</canRoam>
64 <disabled>false</disabled>
65 <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
66 <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
67 <jdk>(Default)</jdk>
68 <triggers>
69 <hudson.triggers.SCMTrigger>
70 <spec>*/5 * * * *</spec>
71 <ignorePostCommitHooks>false</ignorePostCommitHooks>
72 </hudson.triggers.SCMTrigger>
73 </triggers>
74 <concurrentBuild>false</concurrentBuild>
75 <builders>
76 <hudson.tasks.Shell>
77 <command>find . -name &apos;*.json&apos; | xargs -n1 python -m json.tool &gt;/dev/null &amp;&amp; \
78curl --silent --show-error --fail --user-agent &apos;curl/Global-Dev Dashboard Data (via Jenkins)&apos; --url &apos;http://gp.wmflabs.org/webhook/data-update&apos;</command>
79 </hudson.tasks.Shell>
80 </builders>
81 <publishers/>
82 <buildWrappers>
83 <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.6"/>
84 </buildWrappers>
85</project>
86

hashar claimed this task.

Resolved, the job has been deleted.