Action intended to be called from cleanup bad deploys to do a helm-uninstall.
Namespace used by the repo and required for the helm uninstall command.
The GitHub repository used for optional alerting.
The GitHub run id used for optional alerting to show run.
The Slack token used to authenticate on optional alerting.
Destination for messaging, comma separated list. Valid options: committer, #channel-name, [email protected]. Default is #alerts-devops.
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 }}