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
6bf7fc35
Commit
6bf7fc35
authored
Sep 21, 2017
by
Jeff Grafton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bazel: build/test almost everything
parent
f1953c4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
BUILD.root
build/root/BUILD.root
+1
-0
Makefile
build/root/Makefile
+10
-2
No files found.
build/root/BUILD.root
View file @
6bf7fc35
...
...
@@ -29,6 +29,7 @@ gcs_upload(
"//build/release-tars:release-tars-and-hashes",
"//cluster/gce:gcs-release-artifacts-and-hashes",
],
tags = ["manual"],
upload_paths = {
"//:_binary-artifacts-and-hashes": "bin/linux/amd64",
"//build/release-tars:release-tars-and-hashes": "",
...
...
build/root/Makefile
View file @
6bf7fc35
...
...
@@ -521,8 +521,9 @@ endef
bazel-build
:
@
echo
"
$$
BAZEL_BUILD_HELP_INFO"
else
# Some things in vendor don't build due to empty target lists for cross-platform rules.
bazel-build
:
bazel build
//cmd/... //hack/... //pkg/... //federation/... //plugin/... //third_party/... //examples/... //test/... //vendor/k8s.io
/...
bazel build
--
//... -//vendor
/...
endif
...
...
@@ -536,8 +537,15 @@ endef
bazel-test
:
@
echo
"
$$
BAZEL_TEST_HELP_INFO"
else
# //hack:verify-all is a manual target.
# We don't want to build any of the release artifacts when running tests.
# Some things in vendor don't build due to empty target lists for cross-platform rules.
bazel-test
:
bazel
test
--test_tag_filters
=
-integration
--flaky_test_attempts
=
3 //cmd/... //pkg/... //federation/... //plugin/... //third_party/... //hack/... //hack:verify-all //vendor/k8s.io/...
bazel
test
--build_tag_filters
=
-e2e
,-integration
--test_tag_filters
=
-e2e
,-integration
--flaky_test_attempts
=
3
--
\
//...
\
//hack:verify-all
\
-//build/...
\
-//vendor/...
endif
ifeq
($(PRINT_HELP),y)
...
...
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