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/06/14 00:29:09 UTC

[tvm] branch areusch/freeze-dependencies updated (2c31019ef5 -> 2153c84037)

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

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


 discard 2c31019ef5 fix escape
     new 2153c84037 fix escape

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (2c31019ef5)
            \
             N -- N -- N   refs/heads/areusch/freeze-dependencies (2153c84037)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Jenkinsfile                   | 4 ++--
 jenkins/DockerBuild.groovy.j2 | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


[tvm] 01/01: fix escape

Posted by ar...@apache.org.
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 2153c84037e9912e688d0668a5d71a609baa83f6
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Mon Jun 13 17:03:10 2022 -0700

    fix escape
---
 Jenkinsfile                   | 10 +++++-----
 jenkins/DockerBuild.groovy.j2 |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 69333c13e6..2eed94f6c5 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-06-13T16:39:11.598304
+// Generated at 2022-06-13T17:28:53.960037
 
 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
 // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
@@ -317,9 +317,9 @@ def ecr_push(full_name) {
       )
       sh(
         script: """
-          set -x
-          docker tag ${full_name} \$AWS_ECR_REPO/${full_name}
-          docker push \$AWS_ECR_REPO/${full_name}
+          set -eux
+          docker tag ${full_name} ${ecr_name}
+          docker push ${ecr_name}
         """,
         label: 'Upload image to ECR'
       )
@@ -387,7 +387,7 @@ def build_image(image_name) {
     script: "docker/sanitize-docker-image-name.sh ${env.BRANCH_NAME}-${hash}-${env.BUILD_NUMBER}",
     label: "Sanitize image name",
     returnStdout: true
-  )
+  ).trim()
   def full_name = "${image_name}:${image_rev}"
   sh(
     script: "${docker_build} ${image_name} --spec ${full_name}",
diff --git a/jenkins/DockerBuild.groovy.j2 b/jenkins/DockerBuild.groovy.j2
index 80ee66a6ae..7a77f15a98 100644
--- a/jenkins/DockerBuild.groovy.j2
+++ b/jenkins/DockerBuild.groovy.j2
@@ -20,9 +20,9 @@ def ecr_push(full_name) {
       )
       sh(
         script: """
-          set -x
-          docker tag ${full_name} \$AWS_ECR_REPO/${full_name}
-          docker push \$AWS_ECR_REPO/${full_name}
+          set -eux
+          docker tag ${full_name} ${ecr_name}
+          docker push ${ecr_name}
         """,
         label: 'Upload image to ECR'
       )
@@ -90,7 +90,7 @@ def build_image(image_name) {
     script: "docker/sanitize-docker-image-name.sh ${env.BRANCH_NAME}-${hash}-${env.BUILD_NUMBER}",
     label: "Sanitize image name",
     returnStdout: true
-  )
+  ).trim()
   def full_name = "${image_name}:${image_rev}"
   sh(
     script: "${docker_build} ${image_name} --spec ${full_name}",