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

[Error] Error: unknown flag: --home #25

Open
vietwow opened this issue Feb 28, 2020 · 2 comments
Open

[Error] Error: unknown flag: --home #25

vietwow opened this issue Feb 28, 2020 · 2 comments

Comments

@vietwow
Copy link

vietwow commented Feb 28, 2020

Hi all,

My Github Action was :

deployment:
    name: Deployment
    needs: build-and-push
    runs-on: 'ubuntu-latest'
    steps:
    - name: 'Checkout'  # Checkout the repository code.
      uses: 'actions/checkout@v1'

    - name: 'Deploy'
      uses: 'deliverybot/helm@master'
      with:
        helm: helm3
        release: my_service
        namespace: default
        chart: 'charts/app'
        version: '${{ github.sha }}'
        values: |
          env:
            ...
      env:
        KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'

Everything was working fine
Until today I got CI fail with below error (without change anything in workflow):

Deploy1s
##[error]The process 'helm3' failed with exit code 1
Run deliverybot/helm@master
/usr/bin/docker run --name e87b5235ad321ecd91481da0869798ec4f9210_734b6e --label e87b52 --workdir /github/workspace --rm -e KUBECONFIG_FILE -e INPUT_HELM -e INPUT_RELEASE -e INPUT_NAMESPACE -e INPUT_CHART -e INPUT_VERSION -e INPUT_VALUES -e INPUT_DRY-RUN -e INPUT_TOKEN -e INPUT_VALUE-FILES -e INPUT_SECRETS -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/my_service/my_service":"/github/workspace" e87b52:35ad321ecd91481da0869798ec4f9210
helm3 upgrade my_service charts/app --install --wait --atomic --namespace=default --home=/root/.helm/ --set=app.name=my_service --set=app.version=4ca54d0979e80bc99254313c0af495830519de8e --values=./values.yml
Error: unknown flag: --home
##[error]Error: The process 'helm3' failed with exit code 1
##[error]The process 'helm3' failed with exit code 1

I have tried to run CI pipeline again but still the same error.

Any help ? Thank you so much.

Best regards,
VietNC

@jerr0328
Copy link

It looks like the last commit added a parameter not available in helm3.

@colinjfw
Copy link
Collaborator

colinjfw commented Feb 28, 2020 via email

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

3 participants