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 c09dc0a06b freeze py deps
c09dc0a06b is described below
commit c09dc0a06b3d4b850d0fa312552a1fd56fa058ef
Author: Andrew Reusch <[email protected]>
AuthorDate: Fri May 13 14:05:49 2022 -0700
freeze py deps
---
Jenkinsfile | 38 ++++++++++----------------------------
jenkins/Jenkinsfile.j2 | 22 +++++++++-------------
2 files changed, 19 insertions(+), 41 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index f5dfc8f58a..9d3a4c35bd 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-13T14:03:32.731300
+// Generated at 2022-05-13T14:05:46.407588
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// NOTE: these lines are scanned by docker/dev_common.sh. Please update the
regex as needed. -->
@@ -397,36 +397,18 @@ def build_image(arch_name, image_name) {
}
if (rebuild_docker_images) {
+ stage('Freeze Python Dependencies') {
+ node('CPU') {
+ timeout(time: max_time, unit: 'MINUTES') {
+ init_git()
+ freeze_python_deps()
+ }
+ }
+ }
+
stage('Docker Image Build') {
// TODO in a follow up PR: Find ecr tag and use in subsequent builds
- parallel(
- 'aarch64': {
- node('ARM') {
- timeout(time: max_time, unit: 'MINUTES') {
- init_git()
- build_base_image('aarch64')
- }
- }
- },
- 'x86': {
- node('CPU') {
- timeout(time: max_time, unit: 'MINUTES') {
- init_git()
- build_base_image('x86')
- }
- }
- },
- 'x86_64': {
- node('CPU') {
- timeout(time: max_time, unit: 'MINUTES') {
- init_git()
- build_base_image('x86_64')
- }
- }
- },
- )
-
parallel(
'ci_arm': {
node('ARM') {
diff --git a/jenkins/Jenkinsfile.j2 b/jenkins/Jenkinsfile.j2
index 7c6de843f1..d7284eaa2f 100644
--- a/jenkins/Jenkinsfile.j2
+++ b/jenkins/Jenkinsfile.j2
@@ -314,22 +314,18 @@ def build_image(arch_name, image_name) {
}
if (rebuild_docker_images) {
+ stage('Freeze Python Dependencies') {
+ node('CPU') {
+ timeout(time: max_time, unit: 'MINUTES') {
+ init_git()
+ freeze_python_deps()
+ }
+ }
+ }
+
stage('Docker Image Build') {
// TODO in a follow up PR: Find ecr tag and use in subsequent builds
- parallel(
- {% for arch, img in nodes_by_arch(images) %}
- {{ ' ' }}'{{ arch }}': {
- node('{{ img.platform }}') {
- timeout(time: max_time, unit: 'MINUTES') {
- init_git()
- build_base_image('{{ arch }}')
- }
- }
- },
- {% endfor %}
- )
-
parallel(
{% for image in images %}
'{{ image.name }}': {