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

Feature request: specify matrix on command line #114

Closed
dobesv opened this issue Feb 28, 2020 · 9 comments · Fixed by #1675
Closed

Feature request: specify matrix on command line #114

dobesv opened this issue Feb 28, 2020 · 9 comments · Fixed by #1675
Labels
area/cli Relating to the cli kind/feature-request New feature or request needs-work Extra attention is needed stale-exempt Exempt from stale
Projects

Comments

@dobesv
Copy link

dobesv commented Feb 28, 2020

For matrix builds, it would be nice if I could limit the build to a subset (or just one) matrix option value for a build.

e.g.

act --job build --matrix java:13

my current workaround is to just edit the workflows file to remove the other matrix options before running act, which works fine but isn't ideal.

@cplee cplee added area/cli Relating to the cli kind/feature-request New feature or request labels Feb 28, 2020
@cplee cplee added this to To do in Roadmap Apr 16, 2020
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the stale label Apr 29, 2020
@cplee cplee removed the stale label Apr 29, 2020
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the stale label Jun 29, 2020
@cplee cplee removed the stale label Jun 29, 2020
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the stale label Aug 29, 2020
@github-actions github-actions bot closed this as completed Sep 5, 2020
Roadmap automation moved this from To do to Done Sep 5, 2020
@Julian
Copy link

Julian commented Mar 31, 2021

Is this actually done? I can't seem to find how to do it.

@catthehacker
Copy link
Member

@Julian it wasn't implemented

@Julian
Copy link

Julian commented Mar 31, 2021

Got it, thanks for the confirmation I wasn't missing it.

@catthehacker catthehacker reopened this Mar 31, 2021
Roadmap automation moved this from Done to In progress Mar 31, 2021
@catthehacker catthehacker added stale-exempt Exempt from stale needs-work Extra attention is needed and removed stale labels Mar 31, 2021
ChristopherHX added a commit to ChristopherHX/runner.server that referenced this issue Apr 11, 2021
for workflow files
Add --list to list jobs
Add --secret(-file) to specifiy secrets from cli
Add --env(-file) to specifiy env vars from cli
--matrix is implemented like proposed for act:
nektos/act#114
@codeandcats
Copy link

This would be a handy feature.

My workflow as matrix of 5 node versions to test against and when running locally act seems to spin them all up in parallel and my system drops to a crawl.

Being able to specify matrix items to run or at least how many containers at most to spin up at the same time would make this useable again.

@catthehacker catthehacker moved this from In progress to To do in Roadmap Aug 9, 2021
@m-mcgowan

This comment was marked as spam.

@johnboiles
Copy link

just edit the workflows file to remove the other matrix options before running act

Handy workaround at least!

Roadmap automation moved this from To do to Done Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Relating to the cli kind/feature-request New feature or request needs-work Extra attention is needed stale-exempt Exempt from stale
Projects
Roadmap
  
Done
Development

Successfully merging a pull request may close this issue.

7 participants