Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c97370be
Unverified
Commit
c97370be
authored
Mar 22, 2023
by
Derek Nola
Committed by
GitHub
Mar 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean E2E VMs before testing (#7109)
* Cleanup VMs proper Signed-off-by:
Derek Nola
<
derek.nola@suse.com
>
parent
7c32f88f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
.drone.yml
.drone.yml
+10
-8
No files found.
.drone.yml
View file @
c97370be
...
...
@@ -705,6 +705,16 @@ steps:
-
mkdir -p dist/artifacts
-
cp /tmp/artifacts/* dist/artifacts/
-
docker stop registry && docker rm registry
# Cleanup any VMs running, happens if a previous test panics
-
|
VMS=$(virsh list --name | grep '_server-\|_agent-' || true)
if [ -n "$VMS" ]; then
for vm in $VMS
do
virsh destroy $vm
virsh undefine $vm --remove-all-storage
done
fi
-
docker run -d -p 5000:5000 -e REGISTRY_PROXY_REMOTEURL=https://registry-1.docker.io --name registry registry:2
-
cd tests/e2e/validatecluster
-
vagrant destroy -f
...
...
@@ -715,14 +725,6 @@ steps:
-
cd ../upgradecluster
-
E2E_RELEASE_CHANNEL="latest" go test -v -timeout=45m ./upgradecluster_test.go -ci -local
-
docker stop registry && docker rm registry
# Cleanup any VMs still running, happens if a test panics
-
VMS=$(virsh list --name | grep '_server-\|_agent-' ||
true
)
-
|
for vm in $VMS
do
virsh destroy $vm
virsh undefine $vm --remove-all-storage
done
volumes
:
-
name
:
libvirt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment