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

faas-cli publish with the --parallel flag not working in Github Actions #847

Open
utsavanand2 opened this issue Nov 26, 2020 · 1 comment

Comments

@utsavanand2
Copy link
Contributor

Expected Behaviour

The parallel flag in faas-cli publish should not give an error.

Current Behaviour

faas-cli publish --parallel gives out an error:
Screenshot 2020-11-26 at 5 38 01 PM

Possible Solution

PR in the works.

Steps to Reproduce (for bugs)

A live example of the CI workflow is at:
https://github.com/utsavanand2/openfaas-cloud/runs/1458552162?check_suite_focus=true#step:10:1351

@alexellis
Copy link
Member

Append this index to each builder

go func(index int) {

If in parallel, you may need to create the named builder within the go routine body

Around here

combinedBuildOptions := combineBuildOpts(function.BuildOptions, buildOptions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants