From 75c8f51d4e884b8156a442912f72635f6f9daa5e Mon Sep 17 00:00:00 2001 From: Helena Greebe Date: Wed, 11 Sep 2024 13:53:56 -0400 Subject: [PATCH] Change pyxis download url to s3 url --- .../resources/enroot/partial/_enroot_common.rb | 1 - .../aws-parallelcluster-slurm/recipes/install/install_pyxis.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_common.rb b/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_common.rb index b9729d75e..54a71a03d 100644 --- a/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_common.rb +++ b/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_common.rb @@ -40,7 +40,6 @@ ENROOT_CONFIG_RELEASE=pyxis SHARED_DIR=#{node['cluster']['shared_dir']} NONROOT_USER=#{node['cluster']['cluster_user']} - # wget -O /tmp/enroot.template.conf https://raw.githubusercontent.com/aws-samples/aws-parallelcluster-post-install-scripts/${ENROOT_CONFIG_RELEASE}/pyxis/enroot.template.conf mkdir -p ${SHARED_DIR}/enroot chown ${NONROOT_USER} ${SHARED_DIR}/enroot ENROOT_CACHE_PATH=${SHARED_DIR}/enroot envsubst < /tmp/enroot.template.conf > /tmp/enroot.conf diff --git a/cookbooks/aws-parallelcluster-slurm/recipes/install/install_pyxis.rb b/cookbooks/aws-parallelcluster-slurm/recipes/install/install_pyxis.rb index 36c685a5a..42785b11a 100644 --- a/cookbooks/aws-parallelcluster-slurm/recipes/install/install_pyxis.rb +++ b/cookbooks/aws-parallelcluster-slurm/recipes/install/install_pyxis.rb @@ -18,7 +18,7 @@ return unless nvidia_enabled? pyxis_version = node['cluster']['pyxis']['version'] -pyxis_url = "https://github.com/NVIDIA/pyxis/archive/refs/tags/v#{pyxis_version}.tar.gz" +pyxis_url = "#{node['cluster']['artifacts_s3_url']}/dependencies/pyxis/v#{pyxis_version}.tar.gz" pyxis_tarball = "#{node['cluster']['sources_dir']}/pyxis-#{pyxis_version}.tar.gz" remote_file pyxis_tarball do