Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/bm_maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,14 @@ jobs:
with:
persist-credentials: false
- uses: nicknovitski/nix-develop@9be7cfb4b10451d3390a75dc18ad0465bed4932a # v1.2.1
- name: Update storageclass
run: |
nix build .#csi-driver-host-path
kubectl apply -k result
- name: Update sync fifo for GPU platform
if: ${{ matrix.platform.name == 'Metal-QEMU-SNP-GPU' || matrix.platform.name == 'Metal-QEMU-TDX-GPU' }}
run: |
kubectl apply -f https://raw.githubusercontent.com/katexochen/sync/9567164967b5832fb4992088af89dbbd94184043/server/deployment.yml
kubectl patch statefulset sync --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/nodeSelector", "value": {"ci.contrast.edgeless.systems/main-runner": "true"}}]'
kubectl rollout restart statefulset/sync
kubectl apply -k tools/bm-maintenance/sync-fifo
kubectl rollout status statefulset/sync --timeout=5m
kubectl wait --for=jsonpath='{.status.loadBalancer.ingress[0].ip}' --timeout=5m svc/sync
nix run .#scripts.renew-sync-fifo
Expand All @@ -119,10 +121,6 @@ jobs:
OPTS+=(--blackwell)
fi
nix run .#scripts.upgrade-gpu-operator -- "${OPTS[@]}"
- name: Update storageclass
run: |
nix build .#csi-driver-host-path
kubectl apply -k result
- name: Report success
id: report
run: |
Expand Down
15 changes: 15 additions & 0 deletions tools/bm-maintenance/sync-fifo/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: default

resources:
- https://raw.githubusercontent.com/katexochen/sync/9567164967b5832fb4992088af89dbbd94184043/server/deployment.yml

patches:
- patch: |-
- op: replace
path: /spec/template/spec/nodeSelector
value: {"ci.contrast.edgeless.systems/main-runner": "true"}
target:
kind: StatefulSet
Loading