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: