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
d2756a76
Unverified
Commit
d2756a76
authored
Oct 25, 2019
by
Erik Wilson
Committed by
GitHub
Oct 25, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #954 from erikwilson/enable-arm-tests
Enable tests for arm
parents
0966cea4
e0211b3f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
.drone.yml
.drone.yml
+8
-0
sonobuoy
scripts/sonobuoy
+5
-0
sonobuoy-e2e-tests
scripts/sonobuoy-e2e-tests
+23
-0
No files found.
.drone.yml
View file @
d2756a76
...
...
@@ -212,6 +212,14 @@ steps:
event
:
-
tag
-
name
:
sonobuoy-e2e-tests
image
:
rancher/dapper:v0.4.2
commands
:
-
dapper -f Dockerfile.sonobuoy.dapper
volumes
:
-
name
:
docker
path
:
/var/run/docker.sock
volumes
:
-
name
:
docker
host
:
...
...
scripts/sonobuoy
View file @
d2756a76
...
...
@@ -195,5 +195,10 @@ echo "Started ${K3S_AGENT}"
timeout
--foreground
1m bash
-c
wait-for-nodes
timeout
--foreground
1m bash
-c
wait-for-services
if
[
"
$ARCH
"
=
"arm"
]
;
then
echo
"Aborting sonobuoy tests, images not available for
$ARCH
"
exit
0
fi
echo
"Starting sonobuoy tests"
sonobuoy-test
"
${
@
}
"
scripts/sonobuoy-e2e-tests
View file @
d2756a76
...
...
@@ -17,6 +17,28 @@ mkdir -p ${OUTPUT}
pids
=()
output
=()
show-logs
()
{
for
pid
in
"
${
pids
[@]
}
"
;
do
logdir
=
$(
pwd
)
/logs/
${
pid
}
if
[
!
-d
$logdir
]
;
then
continue
fi
echo
echo
"#- Begin: logs for sonobuoy run pid
${
pid
}
"
for
log
in
$(
pwd
)
/logs/
${
pid
}
/
*
;
do
if
[
-f
${
log
}
]
;
then
echo
echo
"#- Start:
${
log
}
"
cat
${
log
}
echo
"#- End:
${
log
}
"
echo
fi
done
echo
"#- Finish: logs for sonobuoy run pid
${
pid
}
"
echo
done
}
cleanup
()
{
exit_status
=
$?
set
+e
...
...
@@ -29,6 +51,7 @@ cleanup() {
echo
"passed"
else
echo
"failed"
show-logs
fi
exit
${
exit_status
}
}
...
...
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