Skip to content

Commented delete namespace #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ jobs:
sed -i "s/<<NAMESPACE>>/${{ github.run_number }}/g" test/conf/env.sh
sed -i "s/<<OP_VERSION>>/${{ steps.tags.outputs.VERSION }}/g" test/conf/env.sh
make feature
- name: Cleanup tests
if: failure() && steps.feature_test.outcome == 'failure'
shell: bash
run: |
set -e
kubectl delete ns ${{ github.run_number }}
# - name: Cleanup tests
# if: failure() && steps.feature_test.outcome == 'failure'
# shell: bash
# run: |
# set -e
# kubectl delete ns ${{ github.run_number }}
- run: mkdir -p ${{ github.workspace }}/artifact
- run: echo ${{ steps.tags.outputs.VERSION }} > ${{ github.workspace }}/artifact/version.txt
- name: Upload Artifact
Expand Down
7 changes: 4 additions & 3 deletions test/bats/controlplane.bats
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
testCreateControlplane
}

@test "Delete k8s namespace" {
testDeleteNamespace
}
#
#@test "Delete k8s namespace" {
# testDeleteNamespace
#}