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

Reuse process-compose if available #1999

Open
diegobernardes opened this issue Apr 15, 2024 · 1 comment
Open

Reuse process-compose if available #1999

diegobernardes opened this issue Apr 15, 2024 · 1 comment
Labels
feature New feature or request triage Issue needs triage

Comments

@diegobernardes
Copy link

What problem are you trying to solve?

I'm installing Devbox on GitHub Actions using the following snippet:

- name: Install devbox
  uses: jetify-com/devbox-install-action@v0.9.0
  with:
    enable-cache: true

It works alright and everything is installed and cached, the run after the cache is quite fast, 40 seconds or so to install everything and restore the cache. But not everything is cached and the issue happens when I try to spin up the dependencies to run my tests. Every time it installs process-compose and that process takes quite some time because there is no cache. I tried to add process-compose to my list of packages on Devbox, but it did not worked, even listed there, Devbox tries to download it every time.

What solution would you like?

If process-compose is at the packages list of Devbox it should be reused.

Alternatives you've considered

No response

@diegobernardes diegobernardes added feature New feature or request triage Issue needs triage labels Apr 15, 2024
@jay-aye-see-kay
Copy link
Contributor

jay-aye-see-kay commented Apr 16, 2024

I just ran into this issue today too, would be fantastic to have an option like this that pre-installed and cached process-compose in CI jobs where it was used.

- name: Install devbox
  uses: jetify-com/devbox-install-action@v0.9.0
  with:
    enable-cache: true
    install-process-compose: true

Note: Installing process-compose is ~25% the run time of this particular github action. Not the end of the world, but feels like it could be an easy win.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request triage Issue needs triage
Development

No branches or pull requests

2 participants