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

Enhancement: Running act on HPC/without admin rights #1125

Closed
ma7dev opened this issue Apr 14, 2022 · 5 comments
Closed

Enhancement: Running act on HPC/without admin rights #1125

ma7dev opened this issue Apr 14, 2022 · 5 comments
Labels
kind/feature-request New feature or request

Comments

@ma7dev
Copy link

ma7dev commented Apr 14, 2022

Describe feature

I am developing on an HPC server where I don't have admin rights to install go and docker. Although I might be able to ask the sysadmin to install go, we can't install docker on the HPC server due to security reasons. However, the HPC server has a replacement for docker, which is singularity.

I was wondering whether is enable act to work with singularity as it will enable researchers and engineers who are developing on HPC servers to run GitHub Actions on the HPC server.

If there is a replacement to act that does this, please let me know as I have been doing a lot of research and couldn't find something as powerful as act or even something that does the running of GitHub Actions on HPC servers.

@ma7dev ma7dev added the kind/feature-request New feature or request label Apr 14, 2022
@catthehacker
Copy link
Member

you can specify socket with DOCKER_HOST environment variable and point it to singularity socket

@KevinSayers
Copy link

I just was pointed to Act and I am interested in the exact same application (so great timing!) of testing on an HPC system. Perhaps I am missing something but does the Singularity socket solution mentioned by @catthehacker require Singularity-CRI to be installed first?

@Linux-cpp-lisp
Copy link

Linux-cpp-lisp commented Sep 20, 2022

Can someone elaborate on how one would set up DOCKER_HOST with singularity? I am also on an academic cluster that will not support docker for security reasons but has singularity (https://docs.rc.fas.harvard.edu/kb/singularity-on-the-cluster/) and would like to be able to run CI workflows on that hardware.

@magland
Copy link

magland commented Nov 11, 2022

I would also love to use act with singularity, but I don't understand the solution from @catthehacker . Could someone elaborate a bit on how this would be done?

@ChristopherHX
Copy link
Contributor

ChristopherHX commented Nov 11, 2022

I have absolutly no idea if "singularity socket" even exists, at least I cannot find any references for a docker compatible singularity daemon.
As long you don't need containers, you can test this change #1293. It allows you to manually start a container and execute act inside of it, without act trying to create child containers ( requires a cli flag mentioned in the PR ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants