-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch test-infra bazel canary to config=unit, create lint job
- Loading branch information
1 parent
579aca3
commit 51c56f9
Showing
3 changed files
with
78 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2018 The Kubernetes Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# used in presubmits / CI testing | ||
# bazel build then unit test, exiting non-zero if either failed | ||
|
||
local res=0 | ||
|
||
bazel build //... | ||
if [[ $? -ne 0 ]]; then | ||
res=1 | ||
fi | ||
|
||
bazel test //... --config=unit | ||
if [[ $? -ne 0 ]]; then | ||
res=1 | ||
fi | ||
|
||
exit $res |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1856,6 +1856,10 @@ test_groups: | |
gcs_prefix: kubernetes-jenkins/pr-logs/directory/pull-test-infra-bazel-canary | ||
days_of_results: 1 | ||
num_columns_recent: 20 | ||
- name: pull-test-infra-lint | ||
gcs_prefix: kubernetes-jenkins/pr-logs/directory/pull-test-infra-lint | ||
days_of_results: 1 | ||
num_columns_recent: 20 | ||
- name: pull-test-infra-gubernator | ||
gcs_prefix: kubernetes-jenkins/pr-logs/directory/pull-test-infra-gubernator | ||
days_of_results: 1 | ||
|
@@ -5079,6 +5083,11 @@ dashboards: | |
base_options: 'width=10' | ||
alerts_options: | ||
alert_mail_to_addresses: '[email protected]' | ||
- name: lint | ||
test_group_name: pull-test-infra-lint | ||
base_options: 'width=10' | ||
alerts_options: | ||
alert_mail_to_addresses: '[email protected]' | ||
- name: bazel-canary | ||
test_group_name: pull-test-infra-bazel-canary | ||
base_options: 'width=10' | ||
|