mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 03:14:53 +00:00
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.
This commit is contained in:
parent
8801ba12cf
commit
9a44b3e7b9
2
.github/workflows/nix_build.yaml
vendored
2
.github/workflows/nix_build.yaml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: huggingface
|
name: huggingface
|
||||||
# If you chose signing key for write access
|
# If you chose signing key for write access
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
env:
|
env:
|
||||||
USER: github_runner
|
USER: github_runner
|
||||||
- name: Build
|
- name: Build
|
||||||
|
2
.github/workflows/nix_cache.yaml
vendored
2
.github/workflows/nix_cache.yaml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: huggingface
|
name: huggingface
|
||||||
# If you chose signing key for write access
|
# If you chose signing key for write access
|
||||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
#authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
env:
|
env:
|
||||||
USER: github_runner
|
USER: github_runner
|
||||||
- name: Build impure devshell
|
- name: Build impure devshell
|
||||||
|
4
.github/workflows/nix_tests.yaml
vendored
4
.github/workflows/nix_tests.yaml
vendored
@ -27,9 +27,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: huggingface
|
name: huggingface
|
||||||
# If you chose signing key for write access
|
# If you chose signing key for write access
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
#authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
env:
|
env:
|
||||||
USER: github_runner
|
USER: github_runner
|
||||||
|
- name: Nix info
|
||||||
|
run: nix-shell -p nix-info --run "nix-info -m"
|
||||||
- name: Build
|
- name: Build
|
||||||
run: nix develop .#test --command echo "Ok"
|
run: nix develop .#test --command echo "Ok"
|
||||||
- name: Pre-commit tests.
|
- name: Pre-commit tests.
|
||||||
|
Loading…
Reference in New Issue
Block a user