faas-cli icon indicating copy to clipboard operation
faas-cli copied to clipboard

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

Open utsavanand2 opened this issue 5 years ago • 1 comments

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

utsavanand2 avatar Nov 26 '20 12:11 utsavanand2

Append this index to each builder

https://github.com/openfaas/faas-cli/blob/c9d284d0c5bd90415baf9130fdce55af8e5a506b/commands/publish.go#L179

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

Around here

https://github.com/openfaas/faas-cli/blob/c9d284d0c5bd90415baf9130fdce55af8e5a506b/commands/publish.go#L187

alexellis avatar Dec 09 '20 16:12 alexellis