Skip to content

Action fails if no release present #12

Description

@ks2211

We created a new EKS cluster, set up this Github actions in our pipeline.

It was able to assume our EKS role. When it ran the helm upgrade command, we got this error below

Error: UPGRADE FAILED: "release-name" has no deployed releases

It seems like because there is no releases, it fails. I forked the repo and added a --force flag to the shell script and it was able to bypass that error and launch our helm chart.
On subsequent runs, it seems to be fine.

Any thoughts?

I'd ideally like to delete my fork/action and use this (I can submit a PR but would like to know what the best possible option here is).

  • Could include a force option in the with list and pass that flag if that is set
  • google/stackoverflow/GH issues recommends running helm uninstall <release_name> or helm delete <release_name> before running the upgrade command as a possible solution (however running these locally didnt seem to have any affect/builds kept failing until I added the --force option)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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

      Issue actions