From f0827be39fded968d412d85e56336f58b2b75e20 Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Tue, 12 Dec 2023 13:45:44 +0100 Subject: [PATCH] BC-6013 - remove not used file --- .github/workflows/clean_workflow_dev.yml | 36 ------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/clean_workflow_dev.yml diff --git a/.github/workflows/clean_workflow_dev.yml b/.github/workflows/clean_workflow_dev.yml deleted file mode 100644 index d6965b080..000000000 --- a/.github/workflows/clean_workflow_dev.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: deploy dev - -on: - workflow_call: - inputs: - namespace: - required: true - type: string - secrets: - KUBECONFIG: - required: true - -permissions: - contents: read - -jobs: - delete_namespaces_dbc: - runs-on: ubuntu-latest - if: needs.examine_branch_existence.outputs.are_all_branches_deleted == 'true' - needs: - - examine_branch_existence - - create_branch_identifier - steps: - - run: | - mkdir files - echo "${{ secrets.KUBECONFIG }}" > files/config - - name: delete custom resources and namespaces - run: | - kubectl --kubeconfig=files/config --namespace ${{ inputs.namespace }} delete --ignore-not-found=true --all=true ScaledObject - kubectl --kubeconfig=files/config --namespace ${{ inputs.namespace }} delete --ignore-not-found=true --all=true TriggerAuthentication - kubectl --kubeconfig=files/config --namespace ${{ inputs.namespace }} delete --ignore-not-found=true --all=true OnePasswordItem - kubectl --kubeconfig=files/config delete --ignore-not-found=true ns ${{ inputs.namespace }} - - name: remove kubeconfig - run: | - rm -rf /config