Hello everyone, I'm having trouble making act work on MacOS. I installed the latest version from brew, and tried to run a few command but they all come back blank, even listing workflows. I have a docker daemon running via Minikube. Any idea what could be the issue here ? I did not find error logs to provide even with -v so far
Christophe Lecointe
@christophelec
Ok, I have things happening by triggering the pull_request event, but I'm not sure why my workflows are not listed when doing a -l ?
Cat™
@CatTheHacker
@christophelecact by default works on workflows with push event
H i - I'm trying to run act with the ubuntu-18.04 environment, but it's ignoring the parameter and running within buster-slim. Any insight into the problem?
Cat™
@CatTheHacker
@andrewhall-premier check if workflow is using ubuntu-18.04
Andrew Hall
@andrewhall-premier
It uses ubuntu-latest, do I have to peg it to 18.04?
Cat™
@CatTheHacker
or use -P ubuntu-latest=[...]
Andrew Hall
@andrewhall-premier
ah
makes sense, thanks
That worked! Thanks for such a quick response! You've saved me hours!
Cat™
@CatTheHacker
:thumbsup:
Andrew Hall
@andrewhall-premier
IMO, it would be nice to receive a warning message if the specified override doesn't match run value in the workflows file. For a NOOB it was non-obvious
Cat™
@CatTheHacker
I'll see what I can do about it
Andrew Hall
@andrewhall-premier
:thumbsup:
Sven Assmann
@sassman
I wonder, if there was already someone finding or doing a web ui?
Cat™
@CatTheHacker
I'm not aware but that is absolutely worst idea
Sven Assmann
@sassman
How would you keep track of build logs etc? I mean if using act as a build pipeline runner..
Cat™
@CatTheHacker
I read them?
Not sure what you mean
thomascorthals
@thomascorthals
@sassman If you run the workflow on GitHub, you get a nice web UI with access to the build logs.
Cat™
@CatTheHacker
The goal of act is to make sure workflow works, once it works I just push it github and have GH Actions do stuff
from GH Actions you have separation per jobs, workflows, etc.
_
Sven Assmann
@sassman
Maybe my use case in mind is a bit different from yours. I'm talking about not using github for execution but an own ci - server. Like for example jenkins gives the UI and the runner infrastructure..
sure thing.. not suggesting that this is the act use case at all..
I'm quite confused on what are you trying to achieve
Sven Assmann
@sassman
Let me try it differently, let's say I have a github actions pipeline in my repo, but I do not use github, then that's pretty useless, right?
What I can do is use act to run it locally?
Cat™
@CatTheHacker
Technically yes
Sven Assmann
@sassman
cool, so imagine now a 3rd party self hostable thing, that acts as the CI server, get's notified by the repo (on push hook) and used act internally to execute the pipeline.
Cat™
@CatTheHacker
but why
Sven Assmann
@sassman
this thing I'm talking about would have some sort of UI (at least something that Github also shows - like build logs)
well there are a few good reasosn
Cat™
@CatTheHacker
there are so many better solutions already production-ready
Sven Assmann
@sassman
github actions are pretty well known to almost all meanwhile, no new DSL to learn not like Jenkinsfile or travis yml (the adoption rate is higher)
so this thing would have a market. Same as gitlab CI has or Bamboo or you name it
Cat™
@CatTheHacker
good luck trying to sell product that doesn't even work
Sven Assmann
@sassman
any solutions that support github actions pipelines?