Skip to content
Snippets Groups Projects
Commit 4c0f369f authored by Michael Boniface's avatar Michael Boniface
Browse files

Merge branch 'ci-test' into 'integration'

Ci test

See merge request FLAME/flame-clmc!25
parents 69722316 d4b1b76c
No related branches found
No related tags found
No related merge requests found
...@@ -29,9 +29,5 @@ test:all: ...@@ -29,9 +29,5 @@ test:all:
clean: clean:
stage: clean stage: clean
script: script:
- echo "Clean VMs" - scripts/build/deleteallvms.sh
after_script:
- vagrant --fixture=inputs -- destroy --force
- vagrant --fixture=monitoring -- destroy --force
- vagrant --fixture=scripts -- destroy --force
when: always when: always
\ No newline at end of file
#!/bin/bash
vboxmanage list vms | awk ' {print $1} ' | awk -F',' '{gsub(/"/, "", $1); print $1}' > runningvms
while read vm_id; do
echo $vm_id
vboxmanage controlvm $vm_id poweroff
vboxmanage unregistervm $vm_id --delete
done <runningvms
rm runningvms
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment