Skip to content

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

Open
@utsavanand2

Description

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

Activity

alexellis

alexellis commented on Dec 9, 2020

@alexellis
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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @alexellis@utsavanand2

      Issue actions

        faas-cli publish with the `--parallel` flag not working in Github Actions · Issue #847 · openfaas/faas-cli