From 53fe784b5ac0b7dd595b9a70e84303e13d7e5c46 Mon Sep 17 00:00:00 2001 From: sinavir Date: Sun, 4 Aug 2024 16:19:43 +0200 Subject: [PATCH] feat(CI): build bridge01 --- .forgejo/workflows/eval.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.forgejo/workflows/eval.yaml b/.forgejo/workflows/eval.yaml index 9bca986..0a196e4 100644 --- a/.forgejo/workflows/eval.yaml +++ b/.forgejo/workflows/eval.yaml @@ -89,6 +89,16 @@ jobs: # Enter the shell nix-shell --run 'colmena build --on geo02' + build_bridge01: + runs-on: nix + steps: + - uses: actions/checkout@v3 + + - name: Build bridge01 + run: | + # Enter the shell + nix-shell --run 'colmena build --on bridge01' + push_to_cache_compute01: runs-on: nix needs: @@ -235,3 +245,24 @@ jobs: with: name: outputs_web02 path: uploaded.txt + + push_to_cache_bridge01: + runs-on: nix + needs: + - build_bridge01 + 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: '[ "bridge01" ]' + + - uses: actions/upload-artifact@v3 + if: always() + with: + name: outputs_web02 + path: uploaded.txt