Skip to content

Commit

Permalink
Enable presubmit for "test-install" builds. (#2294)
Browse files Browse the repository at this point in the history
I thought we could away without these, but evidently not. A weird
platform specific bug just sneaked by (the openSUSE:Leap build is
broken), and I am about to submit changes to test the installed CMake
modules, and that is very tedious to test without these presubmits.

Note that merging these files will not active the builds, this is
just in preparation for a future change in the internal configuration
for Kokoro.
  • Loading branch information
coryan authored Mar 23, 2019
1 parent f7f7bc5 commit 34da3bb
Show file tree
Hide file tree
Showing 8 changed files with 176 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ci/kokoro/install/centos-presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2019 Google LLC
#
# 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.

build_file: "google-cloud-cpp/ci/kokoro/install/build.sh"
timeout_mins: 120

env_vars {
key: "DISTRO"
value: "centos"
}
22 changes: 22 additions & 0 deletions ci/kokoro/install/debian-presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2019 Google LLC
#
# 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.

build_file: "google-cloud-cpp/ci/kokoro/install/build.sh"
timeout_mins: 120

env_vars {
key: "DISTRO"
value: "debian"
}
22 changes: 22 additions & 0 deletions ci/kokoro/install/fedora-presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2019 Google LLC
#
# 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.

build_file: "google-cloud-cpp/ci/kokoro/install/build.sh"
timeout_mins: 120

env_vars {
key: "DISTRO"
value: "fedora"
}
22 changes: 22 additions & 0 deletions ci/kokoro/install/opensuse-leap-presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2019 Google LLC
#
# 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.

build_file: "google-cloud-cpp/ci/kokoro/install/build.sh"
timeout_mins: 120

env_vars {
key: "DISTRO"
value: "opensuse-leap"
}
22 changes: 22 additions & 0 deletions ci/kokoro/install/opensuse-presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2019 Google LLC
#
# 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.

build_file: "google-cloud-cpp/ci/kokoro/install/build.sh"
timeout_mins: 120

env_vars {
key: "DISTRO"
value: "opensuse"
}
22 changes: 22 additions & 0 deletions ci/kokoro/install/ubuntu-presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2019 Google LLC
#
# 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.

build_file: "google-cloud-cpp/ci/kokoro/install/build.sh"
timeout_mins: 120

env_vars {
key: "DISTRO"
value: "ubuntu"
}
22 changes: 22 additions & 0 deletions ci/kokoro/install/ubuntu-trusty-presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2019 Google LLC
#
# 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.

build_file: "google-cloud-cpp/ci/kokoro/install/build.sh"
timeout_mins: 120

env_vars {
key: "DISTRO"
value: "ubuntu-trusty"
}
22 changes: 22 additions & 0 deletions ci/kokoro/install/ubuntu-xenial-presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2019 Google LLC
#
# 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.

build_file: "google-cloud-cpp/ci/kokoro/install/build.sh"
timeout_mins: 120

env_vars {
key: "DISTRO"
value: "ubuntu-xenial"
}

0 comments on commit 34da3bb

Please sign in to comment.