From 55b212e7916359c3914beb81a906511235ccb340 Mon Sep 17 00:00:00 2001 From: Vicente Cheng Date: Tue, 8 Oct 2024 11:57:12 +0800 Subject: [PATCH] debug --- .github/workflows/basic-ci.yaml | 56 ++++++++++++++++----------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/basic-ci.yaml b/.github/workflows/basic-ci.yaml index 1f5a523c..7a783c17 100644 --- a/.github/workflows/basic-ci.yaml +++ b/.github/workflows/basic-ci.yaml @@ -143,31 +143,31 @@ jobs: cp ../ci/scripts/upgrade_ndm.sh ./upgrade_ndm.sh ./upgrade_ndm.sh popd - - name: "Run Basic Test" - id: basic-test - run: | - pushd ndm-upgrade-vagrant-k3s - vagrant ssh-config node1 > ../ssh-config - cp kubeconfig ../kubeconfig - popd - echo Running integration tests - NDM_HOME=`pwd` go test -v ./tests/... - - name: "Get NDM logs" - if: always() - run: | - if [ ${{ env.VM_DEPLOYED }} != 'true' ]; then - echo "VM is not deployed, skip getting logs" - exit 0 - fi - ./ci/scripts/get-debug-info.sh - - name: "Tear Down / Cleanup" - if: always() - run: | - if [ ${{ env.VM_DEPLOYED }} != 'true' ]; then - echo "VM is not deployed, skip VM destroy" - exit 0 - fi - rm -rf /tmp/hotplug_disks/ndm-upgrade-vagrant-k3s - pushd ndm-upgrade-vagrant-k3s - vagrant destroy -f --parallel - popd + #- name: "Run Basic Test" + # id: basic-test + # run: | + # pushd ndm-upgrade-vagrant-k3s + # vagrant ssh-config node1 > ../ssh-config + # cp kubeconfig ../kubeconfig + # popd + # echo Running integration tests + # NDM_HOME=`pwd` go test -v ./tests/... + #- name: "Get NDM logs" + # if: always() + # run: | + # if [ ${{ env.VM_DEPLOYED }} != 'true' ]; then + # echo "VM is not deployed, skip getting logs" + # exit 0 + # fi + # ./ci/scripts/get-debug-info.sh + #- name: "Tear Down / Cleanup" + # if: always() + # run: | + # if [ ${{ env.VM_DEPLOYED }} != 'true' ]; then + # echo "VM is not deployed, skip VM destroy" + # exit 0 + # fi + # rm -rf /tmp/hotplug_disks/ndm-upgrade-vagrant-k3s + # pushd ndm-upgrade-vagrant-k3s + # vagrant destroy -f --parallel + # popd