Skip to content

Commit

Permalink
LLVM commit watch (#1592)
Browse files Browse the repository at this point in the history
* - Add a Jenkins job xml for LLVM-Watch-Docker-Build and
  related HTML report file.

  This job is triggered periodically. It's used to build the
  ONNX-MLIR main branch against the LLVM main branch to search
  for the earliest LLVM commit that breaks ONNX-MLIR. The
  commit immediately before is the LLVM commit we can update to
  without breaking ONNX-MLIR. This makes updating LLVM for
  ONNX-MLIR a bit easier.

  Search result is at https://www.onnxmlir.xyz/jenkins/job/LLVM-Watch-Docker-Build/LLVM_20Watch_20Report/

- Fix RunONNXModelZoo.py bug missing "<body>" tag when generating
  HTML report.

Signed-off-by: Gong Su <[email protected]>

* Check existence of failed and succeeded build

Signed-off-by: Gong Su <[email protected]>
  • Loading branch information
gongsu832 authored Aug 10, 2022
1 parent bb72e26 commit 83b0e47
Show file tree
Hide file tree
Showing 4 changed files with 1,137 additions and 0 deletions.
95 changes: 95 additions & 0 deletions .buildbot/LLVM-Watch-Docker-Build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>This job is triggered periodically. It&apos;s used to build the ONNX-MLIR main branch against the LLVM main branch from time to time to check if updates in LLVM break ONNX-MLIR. This catches the breakage early and makes updating LLVM for ONNX-MLIR easier.</description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.plugins.jira.JiraProjectProperty plugin="[email protected]"/>
<com.coravy.hudson.plugins.github.GithubProjectProperty plugin="[email protected]">
<projectUrl>https://github.com/onnx/onnx-mlir/</projectUrl>
<displayName></displayName>
</com.coravy.hudson.plugins.github.GithubProjectProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://github.com/onnx/onnx-mlir.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/main</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="empty-list"/>
<extensions>
<hudson.plugins.git.extensions.impl.SubmoduleOption>
<disableSubmodules>false</disableSubmodules>
<recursiveSubmodules>true</recursiveSubmodules>
<trackingSubmodules>false</trackingSubmodules>
<reference></reference>
<parentCredentials>false</parentCredentials>
<shallow>false</shallow>
<depth>1</depth>
</hudson.plugins.git.extensions.impl.SubmoduleOption>
</extensions>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers>
<hudson.triggers.TimerTrigger>
<spec>@hourly</spec>
</hudson.triggers.TimerTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<builders>
<org.jenkinsci.plugins.pipeline.BuildDescriptionStep plugin="[email protected]">
<descriptionTemplate>watch llvm-project commits</descriptionTemplate>
</org.jenkinsci.plugins.pipeline.BuildDescriptionStep>
<hudson.tasks.Shell>
<command>${WORKSPACE}/.buildbot/jenkins-watch-llvm-project.py</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
</builders>
<publishers>
<htmlpublisher.HtmlPublisher plugin="[email protected]">
<reportTargets>
<htmlpublisher.HtmlPublisherTarget>
<reportName>LLVM Watch Report</reportName>
<reportDir>watch_report</reportDir>
<reportFiles>watch-llvm.html</reportFiles>
<alwaysLinkToLastBuild>true</alwaysLinkToLastBuild>
<reportTitles></reportTitles>
<keepAll>false</keepAll>
<allowMissing>true</allowMissing>
<includes>**/*</includes>
<escapeUnderscores>true</escapeUnderscores>
</htmlpublisher.HtmlPublisherTarget>
</reportTargets>
</htmlpublisher.HtmlPublisher>
</publishers>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="[email protected]">
<deleteDirs>false</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
<disableDeferredWipeout>false</disableDeferredWipeout>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
<org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper plugin="[email protected]_4b_122e6">
<bindings>
<org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
<credentialsId>jenkins-buildbot-access-token</credentialsId>
<variable>GITHUB_REPO_ACCESS_TOKEN</variable>
</org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
<org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
<credentialsId>Jenkins-REST-API-Token</credentialsId>
<variable>JENKINS_REST_API_TOKEN</variable>
</org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
</bindings>
</org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper>
</buildWrappers>
</project>
Loading

0 comments on commit 83b0e47

Please sign in to comment.