Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente-Cheng committed Oct 8, 2024
1 parent fa4393c commit 55b212e
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/basic-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 55b212e

Please sign in to comment.