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
d6f3afc0
Commit
d6f3afc0
authored
Dec 15, 2015
by
Jeff Lowdermilk
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #18715 from spxtr/find
Ignore console-log.txt when checking for empty workspace in e2e.sh
parents
e7e350dc
9bb83ce7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
e2e.sh
hack/jenkins/e2e.sh
+7
-2
No files found.
hack/jenkins/e2e.sh
View file @
d6f3afc0
...
...
@@ -1145,8 +1145,13 @@ if [[ "${E2E_UP,,}" == "true" || "${JENKINS_FORCE_GET_TARS:-}" =~ ^[yY]$ ]]; the
# Otherwise, we want a completely empty directory.
if
[[
"
${
JENKINS_FORCE_GET_TARS
:-}
"
=
~ ^[yY]
$
]]
;
then
rm
-rf
kubernetes
*
elif
[[
$(
find
.
-not
-path
'./.config*'
|
wc
-l
)
!=
1
]]
;
then
echo
$PWD
not empty, bailing!
# .config and its children are created by the gcloud call that we use to
# get the GCE service account.
# console-log.txt is created by Jenkins, but is usually not flushed out
# this early in the script.
elif
[[
$(
find
.
-not
-path
"./.config*"
-not
-name
"console-log.txt"
\
|
wc
-l
)
!=
1
]]
;
then
echo
"
${
PWD
}
not empty, bailing!"
find
.
exit
1
fi
...
...
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