Commit c75851d4 authored by Thong Kuah's avatar Thong Kuah
Browse files

Add test for deletion of chart

parent 268fbc9c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -298,3 +298,13 @@ test-create-application-secret:
    - auto-deploy create_application_secret "stable"
    - kubectl get secrets -n $KUBE_NAMESPACE
    - kubectl get secrets production-secret -n $KUBE_NAMESPACE

test-delete:
  extends: test-deploy
  script:
    - auto-deploy initialize_tiller
    - auto-deploy download_chart
    - auto-deploy deploy
    - helm get production
    - auto-deploy delete
    - helm get production && expected_error || failed_as_expected