fix: installer checks containers only; the panel reads signed manifests from the registry when it has none; unsigned-updater nodes are labeled from the panel's manifests; sign node release images; release 0.3.0 [CI]
This commit is contained in:
1 parent
4a1e48db20
commit
879d1c8593
15 files changed
+372
-18
No files matched your search
@@ -64,7 +64,7 @@ YOrtO3Vso/QNdSMmepQlx1Q3v+KkN7ro3AY3I6DT2Q2txJu5pS7qzutSQA==
|
||||
|
||||
$container = "moshiro-$role"
|
||||
$volume = "moshiro-$role-config"
|
||||
docker inspect $container *> $null
|
||||
docker container inspect $container *> $null
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
docker start $container | Out-Null
|
||||
Write-Host "$container is already installed and running."
|
||||
@@ -134,7 +134,7 @@ YOrtO3Vso/QNdSMmepQlx1Q3v+KkN7ro3AY3I6DT2Q2txJu5pS7qzutSQA==
|
||||
|
||||
# 等注册完成:第一次启动会用上面的令牌注册,成功之后才算装好
|
||||
for ($i = 0; $i -lt 30; $i++) {
|
||||
$running = docker inspect -f '{{.State.Running}}' $container 2>$null
|
||||
$running = docker container inspect -f '{{.State.Running}}' $container 2>$null
|
||||
$logs = (docker logs $container 2>&1) -join "`n"
|
||||
if ($logs -match 'link up') {
|
||||
Write-Host "done: $role '$name' is online. It shows up in the panel now."
|
||||
|
||||
Reference in new issue
Block a user