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
b57387b3
Unverified
Commit
b57387b3
authored
Apr 22, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76767 from SataQiu/fix-shellcheck-20190418
Fix shellcheck failures of hack/verify-openapi-spec.sh
parents
716344fd
b4bc5cb4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
.shellcheck_failures
hack/.shellcheck_failures
+0
-1
verify-openapi-spec.sh
hack/verify-openapi-spec.sh
+5
-5
No files found.
hack/.shellcheck_failures
View file @
b57387b3
...
...
@@ -42,7 +42,6 @@
./hack/verify-codegen.sh
./hack/verify-golint.sh
./hack/verify-no-vendor-cycles.sh
./hack/verify-openapi-spec.sh
./hack/verify-test-featuregates.sh
./test/cmd/apply.sh
./test/cmd/apps.sh
...
...
hack/verify-openapi-spec.sh
View file @
b57387b3
...
...
@@ -18,7 +18,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
source
"
${
KUBE_ROOT
}
/hack/lib/init.sh"
kube::golang::setup_env
...
...
@@ -32,10 +32,10 @@ _tmp="${KUBE_ROOT}/_tmp"
mkdir
-p
"
${
_tmp
}
"
cp
-a
"
${
SPECROOT
}
"
"
${
TMP_SPECROOT
}
"
trap
"cp -a
${
TMP_SPECROOT
}
${
SPECROOT
}
/..; rm -rf
${
_tmp
}
"
EXIT SIGINT
rm
${
SPECROOT
}
/
*
cp
${
TMP_SPECROOT
}
/BUILD
${
SPECROOT
}
/BUILD
cp
${
TMP_SPECROOT
}
/README.md
${
SPECROOT
}
/README.md
trap
'cp -a "${TMP_SPECROOT}" "${SPECROOT}"/..; rm -rf "${_tmp}"'
EXIT SIGINT
rm
"
${
SPECROOT
}
"
/
*
cp
"
${
TMP_SPECROOT
}
/BUILD"
"
${
SPECROOT
}
/BUILD"
cp
"
${
TMP_SPECROOT
}
/README.md"
"
${
SPECROOT
}
/README.md"
"
${
KUBE_ROOT
}
/hack/update-openapi-spec.sh"
echo
"diffing
${
SPECROOT
}
against freshly generated openapi spec"
...
...
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