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

Action doesn't seem to work on self-hosted agents #23

Closed
RTodorov opened this issue Mar 25, 2021 · 1 comment
Closed

Action doesn't seem to work on self-hosted agents #23

RTodorov opened this issue Mar 25, 2021 · 1 comment

Comments

@RTodorov
Copy link

RTodorov commented Mar 25, 2021

Hi there,

I have this action in two different jobs on my pipeline. One runs on ubuntu-latest, the other runs on self-hosted.

    - name: Set up Helm
      uses: azure/setup-helm@v1
      with:
        version: 'v3.4.0'

When running on ubuntu-latest, it works perfectly fine but when running on self-hosted, I get this:

Error: Error: Parameter 'commandLine' cannot be null or empty.

I've enabled debug logging and this is the full output of that step:

##[debug]Evaluating condition for step: 'Set up Helm'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Set up Helm
##[debug]Loading inputs
##[debug]Loading env
Run azure/setup-helm@v1
  with:
    version: v3.4.0
  env:
    HELM_EXPERIMENTAL_OCI: 1
    KUBECONFIG: /home/user/actions-runner/_work/_temp/kubeconfig_1616684639908
##[debug]isExplicit: 3.4.0
##[debug]explicit? true
##[debug]checking cache: /home/user/actions-runner/_work/_tool/helm/3.4.0/x64
##[debug]not found
##[debug]Downloading https://get.helm.sh/helm-v3.4.0-linux-amd64.zip
##[debug]Downloading /home/user/actions-runner/_work/_temp/f2c38490-7ffa-45cd-bd44-e414c0256038
##[debug]download complete
Error: Error: Parameter 'commandLine' cannot be null or empty.
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Set up Helm

My host is also ubuntu-latest by the way. Any idea on what could be causing the problem with the self-hosted agent?

Thank you

@RTodorov
Copy link
Author

Nevermind, just found #10 :)

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

1 participant