diff --git a/messung/farm/abend-0512/nacht-kette-stufe.ps1 b/messung/farm/abend-0512/nacht-kette-stufe.ps1 new file mode 100644 index 00000000..613c70fa --- /dev/null +++ b/messung/farm/abend-0512/nacht-kette-stufe.ps1 @@ -0,0 +1,13 @@ +# Nacht 05./06.12.: Stufe 1 = nach Tor 8 b263403f und GPU-Vergleich die Bibliothek tx frei; Stufe 2 = nach allen 7 Bibliotheksteilen das tiefe Duplikat frei +param([int]$Stufe) +$Q = 'D:\Projects\pf-batterie\messung\farm\schlange'; $log = Get-Content "$Q\starter.log" +function Frei([string]$id) { $h = "$Q\auftraege\$id.json.halten"; if (Test-Path $h) { Rename-Item $h "$id.json"; "FREI $id" } } +if ($Stufe -eq 1) { + $tor8 = $log | Select-String 'fertig temperatur-tor8-b263403f' + $gpu = @(Get-ChildItem "$Q\auftraege\gpukern-tempvergleich*.json", "$Q\laufend\gpukern-tempvergleich*.json" -EA 0).Count + if ($tor8 -and $gpu -eq 0) { Frei 'mehrweg-bibtx-bau'; 0..6 | % { Frei "mehrweg-bibtx-$_" } } +} +if ($Stufe -eq 2) { + $fertig = @(0..6 | ? { $log | Select-String "fertig mehrweg-bibtx-$_ " }).Count + if ($fertig -eq 7) { if (Test-Path 'C:\pf-arbeit\abend\nacht-kandidat.txt') { Frei 'farm-nacht-duplikat-6000' } else { 'WARTE AUF KANDIDAT' } } +} diff --git a/messung/farm/schlange/kritischer-pfad-0512.ps1 b/messung/farm/schlange/kritischer-pfad-0512.ps1 index ca13c68e..53f989f1 100644 --- a/messung/farm/schlange/kritischer-pfad-0512.ps1 +++ b/messung/farm/schlange/kritischer-pfad-0512.ps1 @@ -1,8 +1,8 @@ # 05.12. main/Owner: Farm nur fuer den kritischen Pfad der Live-Fassung. Alles andere manuell anhalten bzw. halten (fortsetzbar, nichts beendet). $Q = 'D:\Projects\pf-batterie\messung\farm\schlange' $grund = 'manuell farm 05.12. ' + (Get-Date -Format 'HH:mm') + ': Owner - Farm nur kritischer Pfad (exakt-Bau 3e88ab53/Flop-Fenster, jamprobe-allein, temperatur, sim-gekauft); fortsetzen durch farm nach Freigabe' -function Erlaubt([string]$id) { $id -match '^(flop-fenster-.*|innovation-jamprobe-allein.*|innovation-vorflopselbst-bitgleich|innovation-vorflopselbst-streng|gpukern-(?!straddlebeleg|vorflopexakt).*|motor-pi-aus-pruefung|richterlock-.*|temperatur-.*|sim-?gekauft.*|simpool.*)$' } -$rang = @{ 'temperatur' = -12; 'temperatur-tore' = -11; 'flop-fenster' = -8; 'motor-pi' = -8; 'gpu-kern' = -8; 'richter-lock' = -8; 'innovation' = -5; 'sim-gekauft' = -5; 'sim-fassung-pool' = -5 } +function Erlaubt([string]$id) { $id -match '^(flop-fenster-.*|innovation-jamprobe-allein.*|innovation-vorflopselbst-bitgleich|innovation-vorflopselbst-streng|gpukern-(?!straddlebeleg|vorflopexakt).*|motor-pi-aus-pruefung|richterlock-.*|mehrweg-bibtx-.*|farm-nacht-.*|temperatur-.*|sim-?gekauft.*|simpool.*)$' } +$rang = @{ 'temperatur' = -12; 'temperatur-tore' = -11; 'flop-fenster' = -8; 'motor-pi' = -8; 'gpu-kern' = -8; 'richter-lock' = -8; 'mehrweg-flop' = 1; 'farm-nacht' = 2; 'innovation' = -5; 'sim-gekauft' = -5; 'sim-fassung-pool' = -5 } foreach ($f in Get-ChildItem "$Q\laufend" -Filter *.json) { $id = $f.BaseName if (Erlaubt $id) { continue }