Skip to content

Commit

Permalink
Added py312 kokoro test configs
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer-google authored and sushantkhanna committed Nov 27, 2024
1 parent 6614a26 commit c75a7d5
Show file tree
Hide file tree
Showing 6 changed files with 346 additions and 0 deletions.
61 changes: 61 additions & 0 deletions test/ci/kokoro/linux/py312_json.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2023 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: "/src/gsutil/test/ci/kokoro/run_integ_tests.sh"
timeout_mins: 60

# Get access keys from Keystore
# go/kokoro-keystore
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 74008
keyname: "gsutil_kokoro_service_key"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_account_refresh_token"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_account_client_id"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_account_client_secret"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_cert"
}
}
}

# Environment variables to specify interpreter version.
# go/kokoro-env-vars
env_vars {
key: "PYMAJOR"
value: "3"
}

env_vars {
key: "PYMINOR"
value: "12"
}

env_vars {
key: "API"
value: "json"
}
45 changes: 45 additions & 0 deletions test/ci/kokoro/linux/py312_xml.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2023 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: "/src/gsutil/test/ci/kokoro/run_integ_tests.sh"
timeout_mins: 60

# Get access keys from Keystore
# go/kokoro-keystore
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 74008
keyname: "gsutil_kokoro_service_key"
}
}
}

# Environment variables to specify interpreter version.
# go/kokoro-env-vars
env_vars {
key: "PYMAJOR"
value: "3"
}

env_vars {
key: "PYMINOR"
value: "12"
}

env_vars {
key: "API"
value: "xml"
}
62 changes: 62 additions & 0 deletions test/ci/kokoro/macos/py312_json.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2023 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: "/src/gsutil/test/ci/kokoro/run_integ_tests.sh"
timeout_mins: 60


# Get access keys from Keystore
# go/kokoro-keystore
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 74008
keyname: "gsutil_kokoro_service_key"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_account_refresh_token"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_account_client_id"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_account_client_secret"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_cert"
}
}
}

# Environment variables to specify interpreter version.
# go/kokoro-env-vars
env_vars {
key: "PYMAJOR"
value: "3"
}

env_vars {
key: "PYMINOR"
value: "12"
}

env_vars {
key: "API"
value: "json"
}
46 changes: 46 additions & 0 deletions test/ci/kokoro/macos/py312_xml.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2023 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: "/src/gsutil/test/ci/kokoro/run_integ_tests.sh"
timeout_mins: 60


# Get access keys from Keystore
# go/kokoro-keystore
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 74008
keyname: "gsutil_kokoro_service_key"
}
}
}

# Environment variables to specify interpreter version.
# go/kokoro-env-vars
env_vars {
key: "PYMAJOR"
value: "3"
}

env_vars {
key: "PYMINOR"
value: "12"
}

env_vars {
key: "API"
value: "xml"
}
74 changes: 74 additions & 0 deletions test/ci/kokoro/windows/py312_json.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2023 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: "src/gsutil/test/ci/kokoro/windows/run_integ_tests.bat"
timeout_mins: 60


# Get access keys from Keystore
# go/kokoro-keystore
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 74008
keyname: "gsutil_kokoro_service_key"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_account_refresh_token"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_account_client_id"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_account_client_secret"
}
keystore_resource {
keystore_config_id: 74008
keyname: "mtls_test_cert"
}
}
}

# Param doc: https://github.com/GoogleCloudPlatform/gsutil/blob/master/test/ci/kokoro/windows/run_integ_tests.ps1#L15
build_params {
key: "GsutilRepoDir"
value: "C:\\src\\gsutil"
}

# Environment variables to specify interpreter version.
# go/kokoro-env-vars
env_vars {
key: "PYMAJOR"
value: "3"
}

env_vars {
key: "PYMINOR"
value: "12"
}

env_vars {
key: "API"
value: "json"
}

env_vars {
key: "BOTO_CONFIG"
value: "C:\\tmpfs\\src\\.boto"
}

58 changes: 58 additions & 0 deletions test/ci/kokoro/windows/py312_xml.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Copyright 2023 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: "src/gsutil/test/ci/kokoro/windows/run_integ_tests.bat"
timeout_mins: 60


# Get access keys from Keystore
# go/kokoro-keystore
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 74008
keyname: "gsutil_kokoro_service_key"
}
}
}

# Param doc: https://github.com/GoogleCloudPlatform/gsutil/blob/master/test/ci/kokoro/windows/run_integ_tests.ps1#L15
build_params {
key: "GsutilRepoDir"
value: "C:\\src\\gsutil"
}

# Environment variables to specify interpreter version.
# go/kokoro-env-vars
env_vars {
key: "PYMAJOR"
value: "3"
}

env_vars {
key: "PYMINOR"
value: "12"
}

env_vars {
key: "API"
value: "xml"
}

env_vars {
key: "BOTO_CONFIG"
value: "C:\\tmpfs\\src\\.boto"
}

0 comments on commit c75a7d5

Please sign in to comment.