aboutsummaryrefslogtreecommitdiff
path: root/ci/install.ps1
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-06-05 19:55:39 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-06-05 19:55:39 -0400
commit3c228b3cc5172fae398af8de72b64bd780ace20c (patch)
tree8bddd62c934a669578575313fe9f631587db7dc0 /ci/install.ps1
parent21d2719701f851d4a555c363b141f289f14a5192 (diff)
ci: Update packages and add container build
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..3c2a2f4 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 1000 -Maximum 2000
+Start-Sleep -Milliseconds $randomDelay
+
$_src = "$BaseUrl/$ModuleName/$Version/$ProjectName/$FileName"
#download the latest version