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

jevans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-ci.git


The following commit(s) were added to refs/heads/master by this push:
     new 35c75e2  Update nvidia key, check for proper none value. (#44)
35c75e2 is described below

commit 35c75e2d71ad67f4506297d877cc2357c3838be3
Author: Joe Evans <[email protected]>
AuthorDate: Wed Jun 1 18:31:37 2022 -0700

    Update nvidia key, check for proper none value. (#44)
    
    * Update nvidia key, check for proper none value.
    
    * Update to java 11 on the agents.
---
 tools/ami-creator/create_ami.py                           | 2 +-
 tools/ami-creator/userdata/mxnetlinux_cpu_ubuntu_2004.txt | 2 +-
 tools/ami-creator/userdata/mxnetlinux_gpu_ubuntu_2004.txt | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/ami-creator/create_ami.py b/tools/ami-creator/create_ami.py
index 71f8218..5b1b023 100755
--- a/tools/ami-creator/create_ami.py
+++ b/tools/ami-creator/create_ami.py
@@ -79,7 +79,7 @@ def wait_for_instance(instance, private_key):
         if current_state['Code'] != i.state['Code']:
             current_state = i.state
             logging.info("Instance state changed to: %s", 
current_state['Name'])
-        if current_state['Name'] == "running" and i.public_ip_address != 
"none":
+        if current_state['Name'] == "running" and i.public_ip_address != None:
             if i.platform == "windows":
                 if windows_password == None:
                     logging.debug("Attempting to get password info for 
instance")
diff --git a/tools/ami-creator/userdata/mxnetlinux_cpu_ubuntu_2004.txt 
b/tools/ami-creator/userdata/mxnetlinux_cpu_ubuntu_2004.txt
index 67a5954..8aa518a 100644
--- a/tools/ami-creator/userdata/mxnetlinux_cpu_ubuntu_2004.txt
+++ b/tools/ami-creator/userdata/mxnetlinux_cpu_ubuntu_2004.txt
@@ -7,7 +7,7 @@ package_upgrade: true
 packages:
   - htop
   - wget
-  - openjdk-8-jre
+  - openjdk-11-jre-headless
   - git
   - python3
   - python3-pip
diff --git a/tools/ami-creator/userdata/mxnetlinux_gpu_ubuntu_2004.txt 
b/tools/ami-creator/userdata/mxnetlinux_gpu_ubuntu_2004.txt
index a7560a3..eacdf73 100644
--- a/tools/ami-creator/userdata/mxnetlinux_gpu_ubuntu_2004.txt
+++ b/tools/ami-creator/userdata/mxnetlinux_gpu_ubuntu_2004.txt
@@ -8,7 +8,7 @@ apt:
     nvidia-cuda-drivers.list:
       source: |
         deb 
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 /
-      keyid: 7FA2AF80
+      keyid: A4B469963BF863CC
     docker.list:
       source: deb [arch=amd64] https://download.docker.com/linux/ubuntu 
$RELEASE stable
       keyid: 0EBFCD88
@@ -24,7 +24,7 @@ apt_get_command: ["apt-get", 
"--option=Dpkg::Options::=--force-confold", "--opti
 packages:
   - wget
   - curl
-  - openjdk-8-jre
+  - openjdk-11-jre-headless
   - git
   - python3
   - python3-pip

Reply via email to