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

In nektos/act, disable sandboxing and set OPAMROOTISOK #737

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

Conversation

smorimoto
Copy link
Member

Ref: #672

using the act tool from https://github.com/nektos/act:
- Fix opam to run in act containers which have no /dev/pts for bubblewrap
  These containers act have no /dev/pts for bubblewrap == no sandboxing
- For act, set OPAMROOTISOK as act containers simulate a root user

Signed-off-by: Sora Morimoto <sora@morimoto.io>
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
Co-authored-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
@smorimoto smorimoto force-pushed the more-fixes-for-running-in-nektos-act branch from 5d0366b to 7b1f269 Compare December 7, 2023 15:55
@smorimoto
Copy link
Member Author

@Alizter Does this work for you?

@smorimoto smorimoto added the bug Something isn't working label Dec 7, 2023
@Alizter
Copy link

Alizter commented Dec 7, 2023

It gets further but gets stuck on:

 ❓  ::group::Retrieve the opam cache
[Build time benchmarks/Build]   ❗  ::error::Parameter token or opts.auth is required
[Build time benchmarks/Build]  

I'm running the build job in the dune ci.

@smorimoto
Copy link
Member Author

Can't you fix it by setting a token for GitHub?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants