blob: 34becf9bb7d23111fbf70275637b7382a3ec0049 [file] [log] [blame]
Yong Nib2e4bfa2017-05-09 18:12:10 -07001#!/usr/bin/env python2.7
Jan Tattermusch7897ae92017-06-07 22:57:36 +02002# Copyright 2017 gRPC authors.
Yong Nib2e4bfa2017-05-09 18:12:10 -07003#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02004# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
Yong Nib2e4bfa2017-05-09 18:12:10 -07007#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02008# http://www.apache.org/licenses/LICENSE-2.0
Yong Nib2e4bfa2017-05-09 18:12:10 -07009#
Jan Tattermusch7897ae92017-06-07 22:57:36 +020010# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
Yong Nib2e4bfa2017-05-09 18:12:10 -070015
16# Dictionaries used for client matrix testing.
17
18def get_github_repo(lang):
19 return {
20 'go': 'git@github.com:grpc/grpc-go.git',
21 'java': 'git@github.com:grpc/grpc-java.git',
22 }.get(lang, 'git@github.com:grpc/grpc.git')
23
24# Dictionary of runtimes per language
25LANG_RUNTIME_MATRIX = {
26 'go': ['go1.7', 'go1.8'],
Yong Nib92813b2017-05-31 12:07:09 -070027 'java': ['java_oracle8'],
Yong Nib2e4bfa2017-05-09 18:12:10 -070028}
29
30# Dictionary of releases per language. For each language, we need to provide
31# a tuple of release tag (used as the tag for the GCR image) and also github hash.
32LANG_RELEASE_MATRIX = {
33 'go': ['v1.0.1-GA', 'v1.3.0'],
Yong Nib92813b2017-05-31 12:07:09 -070034 'java': ['v1.0.3', 'v1.1.2'],
Yong Nib2e4bfa2017-05-09 18:12:10 -070035}