removing job on test start

This commit is contained in:
Gleb Boushev
2020-12-10 21:34:37 +03:00
parent de17fa6578
commit cf9de540f2

View File

@@ -106,6 +106,7 @@ jobs:
run: |
today=$(date +"%d-%m-%Y")
aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
kubectl delete job nightly-ci-$today --wait=true
cat <<EOF | kubectl apply -f -
apiVersion: batch/v1
kind: Job