You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/05/13 21:03:47 UTC

[tvm] branch areusch/freeze-dependencies updated: Update jenkinsfile

This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/areusch/freeze-dependencies by this push:
     new 37bd70583f Update jenkinsfile
37bd70583f is described below

commit 37bd70583f9e72f17f59a35a97fd3b1ddd3627a9
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Fri May 13 14:03:35 2022 -0700

    Update jenkinsfile
---
 Jenkinsfile | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 6e7ab94515..f5dfc8f58a 100755
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,7 +45,7 @@
 // 'python3 jenkins/generate.py'
 // Note: This timestamp is here to ensure that updates to the Jenkinsfile are
 // always rebased on main before merging:
-// Generated at 2022-05-12T17:51:52.448991
+// Generated at 2022-05-13T14:03:32.731300
 
 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
 // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
@@ -323,18 +323,21 @@ stage('Lint') {
 // a method (so the code can't all be inlined)
 lint()
 
-def build_base_image(arch_name) {
+def freeze_python_deps() {
   hash = sh(
     returnStdout: true,
     script: 'git log -1 --format=\'%h\''
   ).trim()
   sh(
-    script: "docker/build-base-images.sh ${arch_name}",
-    label: "Build base image for ${arch_name}"
+    script: "docker/build.sh ci_py_deps",
+    label: "Build image for ci_py_deps"
+  )
+  sh(
+    script: "docker/python/freeze-dependencies.sh",
+    label: "Build image for ci_py_deps"
   )
   archiveArtifacts artifacts: "docker/build/base_${arch_name}/**", fingerprint: true
-  def files = findFiles(glob: "docker/build/base_${arch_name}/**")
-  pack_lib("${arch_name}-lockfiles", files.join(', '))
+  pack_lib("${arch_name}-lockfiles", "docker/python/build/**")
 }
 
 def build_image(arch_name, image_name) {