-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Remove all tools #222
Comments
Sounds like you want a clean Docker container and do your things in there. So get a Dockerfile like (all code below is untested/from the top of my head, but just for illustation):
And then just build and run that from the runner:
Should allow you to do just what you want in an empty environment. |
What about MacOS and Windows? They cannot run in docker.
… Le 3 janv. 2020 à 11:32, oldskool ***@***.***> a écrit :
Sounds like you want a clean Docker container and do your things in there.
So get a Dockerfile like (all code below is untested/from the top of my head, but just for illustation):
FROM ubuntu:18.04
COPY your-install-script.sh /
ENTRYPOINT /your-install-script.sh
And then just build and run that from the runner:
- name: Build empty container
run: docker build -t my-installer-test .
- name: Run it
run: docker run --rm my-installer-test
Should allow you to do just what you want in an empty environment.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@RomainFallet we don't support that and there aren't any plans for something like that at this time. You can always self-host your runner. I know it's not as simple as the hosted runners but since you don't need anything preinstalled, it should be fairly straightforward to set up. |
This is also a pain point simply because of how heavyweight the runners are. I frequently find myself debugging jobs that failed due disk space issues. There are even folks building sorta workarounds for this: https://github.com/easimon/maximize-build-space. Is there any way we could just get a "minimal" runner? Something with only the bare essentials? |
Tool information
Area for Triage:
Question, Bug, or Feature?: Question
Virtual environments affected
Hello,
I would like to have fresh virtual machines instead of preinstalled ones in order to test installation scripts with Github Actions.
Is it possible to have an uninstall/cleanup script that does the exact opposite of all pre-installation things which I could run before my tests?
Thanks!
The text was updated successfully, but these errors were encountered: