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
9b790dab
Commit
9b790dab
authored
Aug 31, 2018
by
Katharine Berry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address shell-related comments.
parent
13d1961d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
.gitignore
.gitignore
+1
-0
golang.sh
hack/lib/golang.sh
+4
-3
No files found.
.gitignore
View file @
9b790dab
...
...
@@ -111,6 +111,7 @@ kubernetes.tar.gz
# TODO(thockin): uncomment this when we stop committing the generated files.
#zz_generated.*
zz_generated.openapi.go
zz_generated_*_test.go
# make-related metadata
/.make/
...
...
hack/lib/golang.sh
View file @
9b790dab
...
...
@@ -463,7 +463,7 @@ kube::golang::path_for_coverage_dummy_test() {
local
package
=
"
$1
"
local
path
=
"
${
KUBE_GOPATH
}
/src/
${
package
}
"
local
name
=
$(
basename
"
${
package
}
"
)
echo
"
$path
/zz_
auto
generated_
${
name
}
_test.go"
echo
"
$path
/zz_generated_
${
name
}
_test.go"
}
# Argument: the name of a Kubernetes package (e.g. k8s.io/kubernetes/cmd/kube-scheduler).
...
...
@@ -504,8 +504,9 @@ kube::golang::delete_coverage_dummy_test() {
}
# Arguments: a list of kubernetes packages to build.
# Expected variables: build_args should be set to an array of Go build arguments.
# In addition, the standard build globals are assumed.
# Expected variables: ${build_args} should be set to an array of Go build arguments.
# In addition, ${package} and ${platform} should have been set earlier, and if
# ${build_with_coverage} is set, coverage instrumentation will be enabled.
#
# Invokes Go to actually build some packages. If coverage is disabled, simply invokes
# go install. If coverage is enabled, builds covered binaries using go test, temporarily
...
...
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