Skip to content

helm plugin installs not working with helm v4 #36

@syphernl

Description

@syphernl

Running this plugin with Helm v4 results in:

[1:15:29 PM] [semantic-release] › ✘  An error occurred while running semantic-release: AggregateError: 
    Error: Could not install helm cm-push plugin.
        at Array.map (<anonymous>)
        at module.exports (/usr/local/lib/node_modules/semantic-release-helm3/lib/verifyConditions.js:88:15)
        at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
        at async verifyConditions (/usr/local/lib/node_modules/semantic-release-helm3/index.js:9:5)
        at async validator (file:///usr/local/lib/node_modules/semantic-release/lib/plugins/normalize.js:36:24)
        at async file:///usr/local/lib/node_modules/semantic-release/lib/plugins/pipeline.js:38:36
        at async Promise.all (index 0)
        at async next (file:///usr/local/lib/node_modules/semantic-release/node_modules/p-reduce/index.js:15:44)
    Error: Command failed with exit code 1: helm plugin install https://github.com/chartmuseum/helm-push --version 0.10.3
    Error: plugin source does not support verification. Use --verify=[secure] to skip verification
        at makeError (/usr/local/lib/node_modules/semantic-release-helm3/node_modules/execa/lib/error.js:60:11)
        at handlePromise (/usr/local/lib/node_modules/semantic-release-helm3/node_modules/execa/index.js:118:26)
        at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
        at async installHelmPlugin (/usr/local/lib/node_modules/semantic-release-helm3/lib/utils.js:25:9)
        at async installCMPushPlugin (/usr/local/lib/node_modules/semantic-release-helm3/lib/verifyConditions.js:123:5)
        at async module.exports (/usr/local/lib/node_modules/semantic-release-helm3/lib/verifyConditions.js:48:13)
        at async verifyConditions (/usr/local/lib/node_modules/semantic-release-helm3/index.js:9:5)
        at async validator (file:///usr/local/lib/node_modules/semantic-release/lib/plugins/normalize.js:36:24)
        at async file:///usr/local/lib/node_modules/semantic-release/lib/plugins/pipeline.js:38:36
        at async Promise.all (index 0)
    at module.exports (/usr/local/lib/node_modules/semantic-release-helm3/lib/verifyConditions.js:88:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async verifyConditions (/usr/local/lib/node_modules/semantic-release-helm3/index.js:9:5)
    at async validator (file:///usr/local/lib/node_modules/semantic-release/lib/plugins/normalize.js:36:24)
    at async file:///usr/local/lib/node_modules/semantic-release/lib/plugins/pipeline.js:38:36
    at async Promise.all (index 0)
    at async next (file:///usr/local/lib/node_modules/semantic-release/node_modules/p-reduce/index.js:15:44) {
  pluginName: 'semantic-release-helm3'
}

We already have this plugin installed in the container (albeit on v0.10.4) but this plugin seems to forcefully wants to downgrade to v0.10.3, but failing to do so with Helm v4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions