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/09/22 21:24:08 UTC
[tvm] 01/01: git_init before Deploy to get retry.sh.
This is an automated email from the ASF dual-hosted git repository.
areusch pushed a commit to branch areusch/fix-retry-main
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit efbff7ad7fcc34d3af00857381511ce003939494
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Thu Sep 22 14:23:25 2022 -0700
git_init before Deploy to get retry.sh.
---
Jenkinsfile | 4 +++-
ci/jenkins/Deploy.groovy.j2 | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index a61ab1cd69..0f540e56b7 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-09-16T08:47:49.743918
+// Generated at 2022-09-22T14:23:18.544698
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
@@ -4262,6 +4262,7 @@ def deploy() {
returnStdout: true,
).trim()
def tag = "${date_Ymd_HMS}-${upstream_revision.substring(0, 8)}"
+ init_git()
update_docker(built_ci_arm, "tlcpackstaging/ci_arm:${tag}")
update_docker(built_ci_cortexm, "tlcpackstaging/ci_cortexm:${tag}")
update_docker(built_ci_cpu, "tlcpackstaging/ci_cpu:${tag}")
@@ -4299,6 +4300,7 @@ def deploy() {
script: 'echo $TLCPACK_TOKEN | docker login --username octomldriazati --password-stdin',
label: 'Log in to Docker Hub'
)
+ init_git()
if (ci_arm.contains("tlcpackstaging")) {
// Push image to tlcpack
def tag = ci_arm.split(":")[1]
diff --git a/ci/jenkins/Deploy.groovy.j2 b/ci/jenkins/Deploy.groovy.j2
index 9812e11135..3c32050a5f 100644
--- a/ci/jenkins/Deploy.groovy.j2
+++ b/ci/jenkins/Deploy.groovy.j2
@@ -115,6 +115,7 @@ def deploy() {
returnStdout: true,
).trim()
def tag = "${date_Ymd_HMS}-${upstream_revision.substring(0, 8)}"
+ init_git()
{% for image in images %}
update_docker(built_{{ image.name }}, "tlcpackstaging/{{ image.name }}:${tag}")
{% endfor %}
@@ -139,6 +140,7 @@ def deploy() {
script: 'echo $TLCPACK_TOKEN | docker login --username octomldriazati --password-stdin',
label: 'Log in to Docker Hub'
)
+ init_git()
{% for image in images %}
if ({{ image.name }}.contains("tlcpackstaging")) {
// Push image to tlcpack