aboutsummaryrefslogtreecommitdiff
path: root/ci/install.ps1
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-05-14 21:52:03 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-05-14 21:52:03 -0400
commit1b7270b40b65ef089bf40a14065227f742b8507e (patch)
treeafc119861fcbdd097fcb138f4e682fa8df545cb0 /ci/install.ps1
parent2deda50a167286bc93fd3871a1fd6dbf9f43c81f (diff)
chore: make container slightly easier to setup
Diffstat (limited to 'ci/install.ps1')
-rw-r--r--ci/install.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/install.ps1 b/ci/install.ps1
index 7a5c455..b15dfc2 100644
--- a/ci/install.ps1
+++ b/ci/install.ps1
@@ -1,5 +1,9 @@
param([String] $BaseUrl, [String] $ModuleName, [String] $ProjectName, [String]$FileName, [String]$Version)
+#random delays to space out the downloads
+$randomDelay = Get-Random -Minimum 300 -Maximum 1000
+Start-Sleep -Milliseconds $randomDelay
+
$_src = "$BaseUrl/$ModuleName/$Version/$ProjectName/$FileName"
#download the latest version