Skip to content

Commit d3ccaff

Browse files
authored
Merge pull request #110 from ravigurram8/topic-release-8
upload Pcluster files to bucket
2 parents 3d69a91 + 9c19082 commit d3ccaff

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

deploy.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,13 @@ rm -f nextflow-advanced.tar.gz
271271
tar -czf rstudio.tar.gz RStudio/*
272272
aws s3 cp ./rstudio.tar.gz s3://"$bucketname/"
273273
rm -f rstudio.tar.gz
274+
cp ./PCluster/machine-images/config/infra/files/pcluster/slurm-main.yaml ./PCluster/machine-images/config/infra/files/pcluster/slurm.yaml
275+
cp ./PCluster/machine-images/config/infra/files/pcluster/batch-main.yaml ./PCluster/machine-images/config/infra/files/pcluster/batch.yaml
276+
sed -i 's/tempbucket/$bucketname/g' ./PCluster/machine-images/config/infra/files/pcluster/slurm.yaml
277+
sed -i 's/tempbucket/$bucketname/g' ./PCluster/machine-images/config/infra/files/pcluster/batch.yaml
278+
tar -czf PCluster.tar.gz PCluster/*
279+
aws s3 cp ./PCluster.tar.gz s3://"$bucketname/"
280+
rm -f PCluster.tar.gz
274281

275282
echo "Copying Database seed-data files to new bucket"
276283
cd "$localhome" || exit

products/img-builder-config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@
88
"product": "RStudio",
99
"pipeline": "RL_RG_RStudio",
1010
"path": "/RL/RG/StandardCatalog/RStudio"
11+
},
12+
{
13+
"product": "PCluster",
14+
"pipeline": "RL_RG_PCluster",
15+
"path": "/RL/RG/StandardCatalog/ParallelCluster-linux-ami"
1116
}
1217
]

0 commit comments

Comments
 (0)