Skip to content
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
#}