Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nativelink remote execution to github actions #736

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adam-singer
Copy link
Contributor

Enabling testing of remote execution on github actions

  • Create github action that generates .buckconfig.local using NATIVELINK_HEADER_RW_KEY from gha secrets.
  • Set container-image used for remote execution specific to setup of buck2.
  • Update .gitignore to include .buckconfig.local.

cc: @JakobDegen

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 7, 2024
@adam-singer adam-singer force-pushed the adams/re-nativelink-gh-action branch from bfbc7fb to d81981e Compare August 7, 2024 20:14
@facebook-github-bot
Copy link
Contributor

@KapJI has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

1 similar comment
@facebook-github-bot
Copy link
Contributor

@KapJI has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@iguridi
Copy link
Contributor

iguridi commented Aug 24, 2024

This fails CI, is that to be expected?

@adam-singer
Copy link
Contributor Author

@iguridi it shouldn't fail, says unauthorized, have the secrets been applied to this repo?

@adam-singer
Copy link
Contributor Author

Sorry, I see the error, let me fix that real quick.

* Create github action that generates .buckconfig.local
  using `NATIVELINK_HEADER_RW_KEY` from gha secrets.
* Set `container-image` used for remote execution specific
  to setup of buck2.
* Update .gitignore to include .buckconfig.local.
@adam-singer
Copy link
Contributor Author

@KapJI @iguridi have you had a chance to apply the secrets?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants