Skip to content

Commit

Permalink
add clean up script to ensure deletion of crds
Browse files Browse the repository at this point in the history
Signed-off-by: hanenMizouni <[email protected]>
  • Loading branch information
outscale-hmi committed Nov 20, 2024
1 parent 42e485e commit be69a65
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/unit-func-e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ jobs:
env:
KUBECONFIG: rke-cluster-for-cluster-api/rke/kube_config_cluster.yml
CAPO_NAMESPACE: cluster-api-provider-outscale-system
- name: Run Cleanup Script
run: |
chmod +x .github/scripts/cleanup_k8s_crds.sh
.github/scripts/cleanup_k8s_crds.sh
shell: bash
env:
KUBECONFIG: ${{ github.workspace }}/rke-cluster-for-cluster-api/rke/kube_config_cluster.yml
- name: Destroy cluster
uses: ./rke-cluster-for-cluster-api/github_actions/destroy_cluster/
if: ${{ always() }}
Expand Down

0 comments on commit be69a65

Please sign in to comment.