Skip to content

ci: kernel flakes are now required to be in a GitHub repo - #562

Merged
danieldk merged 1 commit into
mainfrom
fix-e2e-git
May 18, 2026
Merged

danieldk merged 1 commit into
mainfrom
fix-e2e-git

Conversation

@danieldk

Copy link
Copy Markdown
Member

No description provided.

@danieldk
danieldk marked this pull request as ready for review May 18, 2026 11:34
run: |
cd /tmp/kernels-upload-test
git config --global user.email "bottie@mcbotface.hf.co"
git config --global user.name "Botty McBotface"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good username.

cd /tmp/kernels-upload-test
sed -i 's|github:huggingface/kernels|path:'"$GITHUB_WORKSPACE"'|' flake.nix

- name: Make flake a Git repo

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious why is it needed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We made it mandatory that a flake is a git repo and has at least one commit, so that we can always use a git shorthash that is used for the kernel identifier (and not completely random material).

@danieldk
danieldk merged commit 2aa0980 into main May 18, 2026
68 checks passed

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants