You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/06/27 17:13:25 UTC

[GitHub] [tvm] areusch commented on a diff in pull request #11886: [ci][docker] Regenerate Jenkinsfile on each run

areusch commented on code in PR #11886:
URL: https://github.com/apache/tvm/pull/11886#discussion_r907614204


##########
.github/workflows/nightly_docker_update.yml:
##########
@@ -23,6 +23,10 @@ jobs:
     runs-on: ubuntu-20.04
     steps:
       - uses: actions/checkout@v2
+      - name: Install dependencies
+        run: |
+          set -eux
+          pip install -r jenkins/requirements.txt

Review Comment:
   this doesn't run jinja right? is this needed?



##########
tests/scripts/open_docker_update_pr.py:
##########
@@ -147,6 +152,21 @@ def latest_tlcpackstaging_image(source: str) -> Optional[str]:
         with open(JENKINSFILE, "w") as f:
             f.write("".join(new_content))
 
+    # Re-generate the Jenkinsfile
+    logging.info(f"Editing {GENERATED_JENKINSFILE}")
+    print(replacements)

Review Comment:
   needed?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org