Skip to content

patriotsoftware/helm-cleanup-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 

Repository files navigation

helm-cleanup-action

Action intended to be called from cleanup bad deploys to do a helm-uninstall.

Parameters

'namespace' required)

Namespace used by the repo and required for the helm uninstall command.

'github-repo' (optional)

The GitHub repository used for optional alerting.

'github-run-id' (optional)

The GitHub run id used for optional alerting to show run.

'slack-token' (optional)

The Slack token used to authenticate on optional alerting.

'destination' (optional)

Destination for messaging, comma separated list. Valid options: committer, #channel-name, [email protected]. Default is #alerts-devops.

Sample Use

helm-cleanup:
  name: "Helm Cleanup"
  runs-on: psidev-linux
  steps:
  - uses: patriotsoftware/helm-cleanup-action@v1
    with:
      namespace: payrollcorepayschedulesapi
      slack-token: ${{ secrets.SLACK_TOKEN }}
      destination: "#alerts-devops"
      github-repo: ${{ github.repository }} 
      github-run-id: ${{ github.run_id }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •