Closed gedw99 closed 2 months ago
direct and forked does work though.
Might want to add this to the README.md, that ssh git clone is needed, so there can play along and help..
not a fork:
git clone --recurse-submodules -j8 git@github.com-gedw99:go-orb/workspace.git
a fork:
git clone --recurse-submodules -j8 git@github.com-gedw99:gedw99/workspace.git
alias nproc for Mac:
sysctl -n hw.physicalcpu
12
I think task can switch based on OS ?
When I swap sh: nproc
for sh: sysctl -n hw.physicalcpu
, things work:
version: '3'
env:
PROCS:
sh: sysctl -n hw.physicalcpu
GOMAXPROCS: 1
# GOSUMDB: off
# GOPROXY: direct
Thanks for testing!
Do you have homebrew? Could you try to install coreutils?
brew install coreutils
Hey @jochumdev
No worries.
I installed coreutils, but nproc is still not found.
Maybe these work for you instead. They run many processes and shut down them too.
https://github.com/F1bonacc1/process-compose
https://github.com/cirello-io/runner
Both are cross platform. Windows also I believe.
process-compose is used a lot and very stable
runner is even better and allows me to run clusters, like nats clusters from a single config. Its has Erlang like Supervision trees. Fancy :). Its all golang ...
I moved the "nproc" env into the cmd of runall, this should fix the issue for now.
A nice thing would be to replace all Taskfile.yaml and ./plugins/scripts/test.sh usage with https://dagger.io/
Not sure when I get the time to do so.
Hey @jochumdev
go-orb sure has some amazing features.
thanks for this and the example.
I am a Mac user and hit the following when trying to give this a try.
I need my GITHUB_TOKEN I guess or use ssh style of git clone...
Task looks like its using a linux only tool also.