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/18 00:00:26 UTC
[tvm] 27/36: 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
commit 9605549d2e834477b815a3f9de3b100fe6afc88b
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 47f7eb90b4..7faeba3994 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-13T17:18:01.320189
+// Generated at 2022-05-13T17:18:06.158241
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) {