From 9a44b3e7b9111a0f757d25981b847f5ed9c9043c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Thu, 14 Aug 2025 09:02:09 +0000 Subject: [PATCH] Disable Cachix pushes This is not safe until we have sandboxed builds. For TGI alone this might not be a huge issue, but with Cachix caching disabled in hf-nix, TGI CI would build all the packages and push it to our cache. --- .github/workflows/nix_build.yaml | 2 +- .github/workflows/nix_cache.yaml | 2 +- .github/workflows/nix_tests.yaml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nix_build.yaml b/.github/workflows/nix_build.yaml index e0076af6..b8a10f65 100644 --- a/.github/workflows/nix_build.yaml +++ b/.github/workflows/nix_build.yaml @@ -23,7 +23,7 @@ jobs: with: name: huggingface # If you chose signing key for write access - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + # authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' env: USER: github_runner - name: Build diff --git a/.github/workflows/nix_cache.yaml b/.github/workflows/nix_cache.yaml index 7c73e584..9a76e7c1 100644 --- a/.github/workflows/nix_cache.yaml +++ b/.github/workflows/nix_cache.yaml @@ -22,7 +22,7 @@ jobs: with: name: huggingface # If you chose signing key for write access - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + #authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" env: USER: github_runner - name: Build impure devshell diff --git a/.github/workflows/nix_tests.yaml b/.github/workflows/nix_tests.yaml index 4f68ff60..72d75f53 100644 --- a/.github/workflows/nix_tests.yaml +++ b/.github/workflows/nix_tests.yaml @@ -27,9 +27,11 @@ jobs: with: name: huggingface # If you chose signing key for write access - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + #authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' env: USER: github_runner + - name: Nix info + run: nix-shell -p nix-info --run "nix-info -m" - name: Build run: nix develop .#test --command echo "Ok" - name: Pre-commit tests.