ci/cd - fix wrong quotes in delete-infra workflow

This commit is contained in:
bunkerity 2023-03-03 11:31:48 +01:00
parent b24cbf73da
commit e826c619f8
1 changed files with 2 additions and 2 deletions

View File

@ -26,10 +26,10 @@ jobs:
path: /tmp
- run: tar xvf /tmp/terraform.tar -C / && mkdir ~/.ssh && touch ~/.ssh/id_rsa.pub
- uses: azure/setup-kubectl@v3
if: inputs.TYPE == "k8s"
if: inputs.TYPE == 'k8s'
# Remove infra
- run: kubectl delete daemonsets,replicasets,services,deployments,pods,rc,ingress,statefulsets --all --all-namespaces --timeout=60s ; kubectl delete pvc --all --timeout=60s ; kubectl delete pv --all --timeout=60s
if: inputs.TYPE == "k8s"
if: inputs.TYPE == 'k8s'
continue-on-error: true
env:
KUBECONFIG: /tmp/k8s/kubeconfig