From fb610306eea46a06db66c49d07b18ef532c9e837 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 8 Oct 2024 14:14:13 +0200 Subject: [PATCH] feat(workflows/eval): Add krz01 to the CI --- .forgejo/workflows/eval.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.forgejo/workflows/eval.yaml b/.forgejo/workflows/eval.yaml index 863c1f2..0fb3231 100644 --- a/.forgejo/workflows/eval.yaml +++ b/.forgejo/workflows/eval.yaml @@ -9,6 +9,16 @@ on: - main jobs: + build_krz01: + runs-on: nix + steps: + - uses: actions/checkout@v3 + + - name: Build krz01 + run: | + # Enter the shell + nix-shell --run 'colmena build --on krz01' + build_compute01: runs-on: nix steps: @@ -99,6 +109,27 @@ jobs: # Enter the shell nix-shell --run 'colmena build --on bridge01' + push_to_cache_krz01: + runs-on: nix + needs: + - build_krz01 + steps: + - uses: actions/checkout@v3 + + - name: Push to cache + run: nix-shell --run push-to-nix-cache + env: + STORE_ENDPOINT: "https://tvix-store.dgnum.eu/infra-signing/" + STORE_USER: "admin" + STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} + NODES: '[ "krz01" ]' + + - uses: actions/upload-artifact@v3 + if: always() + with: + name: outputs_krz01 + path: uploaded.txt + push_to_cache_compute01: runs-on: nix needs: