很多修改

This commit is contained in:
zeaslity
2024-12-08 12:07:11 +08:00
parent e1149ecfd0
commit 433885c886
19 changed files with 11508 additions and 18 deletions

View File

@@ -0,0 +1,17 @@
# 指定文件路径
$filePath = "D:\CmiiDeployOffline\ZheJiangErJiPingTai\all-gzip-image-list.txt"
# 指定下载的目标目录
$destinationFolder = "D:\CmiiDeployOffline\ZheJiangErJiPingTai"
# 创建目标目录(如果不存在)
if (-not (Test-Path $destinationFolder)) {
New-Item -ItemType Directory -Path $destinationFolder
}
# 读取文件并下载每一行的 URL
Get-Content $filePath | ForEach-Object {
$url = $_
Write-Output $url
# $fileName = Join-Path $destinationFolder (Split-Path $url -Leaf)
# Invoke-WebRequest -Uri $url -OutFile $fileName
}

View File

@@ -1,7 +1,7 @@
#!/bin/bash
harbor_host=10.40.51.5:8033
namespace=ynejpt
namespace=zygazww
app_name=""
new_tag=""