blob: 18e934167cba30c0ff1fa1488cb7938e33ebb62f [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',
Yong Ni51750dc2017-07-14 11:30:56 -070022 # all other languages use the grpc.git repo.
Yong Nib2e4bfa2017-05-09 18:12:10 -070023 }.get(lang, 'git@github.com:grpc/grpc.git')
24
25# Dictionary of runtimes per language
26LANG_RUNTIME_MATRIX = {
Yong Ni51750dc2017-07-14 11:30:56 -070027 'cxx': ['cxx'], # This is actually debian8.
Yong Nib2e4bfa2017-05-09 18:12:10 -070028 'go': ['go1.7', 'go1.8'],
Yong Nib92813b2017-05-31 12:07:09 -070029 'java': ['java_oracle8'],
Adele Zhoubcd23cd2017-11-01 15:42:00 -070030 'python': ['python'],
31 'node': ['node'],
Adele Zhou1487c9f2017-10-26 17:59:18 -070032 'ruby': ['ruby'],
Adele Zhou9fe79dc2017-11-02 14:08:29 -070033 'php': ['php', 'php7'],
Yong Nib2e4bfa2017-05-09 18:12:10 -070034}
35
36# Dictionary of releases per language. For each language, we need to provide
Yong Nibbd348c2017-07-18 08:38:11 -070037# a release tag pointing to the latest build of the branch.
Yong Nib2e4bfa2017-05-09 18:12:10 -070038LANG_RELEASE_MATRIX = {
Yong Nibbd348c2017-07-18 08:38:11 -070039 'cxx': [
40 'v1.0.1',
41 'v1.1.4',
42 'v1.2.5',
43 'v1.3.9',
44 'v1.4.2',
Adele Zhou1751af12017-10-18 17:37:05 -070045 'v1.6.6',
Yong Nibbd348c2017-07-18 08:38:11 -070046 ],
47 'go': [
48 'v1.0.5',
49 'v1.2.1',
50 'v1.3.0',
51 'v1.4.2',
Adele Zhou1751af12017-10-18 17:37:05 -070052 'v1.5.2',
53 'v1.6.0',
54 'v1.7.0',
Yong Nibbd348c2017-07-18 08:38:11 -070055 ],
56 'java': [
57 'v1.0.3',
58 'v1.1.2',
59 'v1.2.0',
60 'v1.3.1',
61 'v1.4.0',
62 'v1.5.0',
Adele Zhou1751af12017-10-18 17:37:05 -070063 'v1.6.1',
64 'v1.7.0',
Yong Nibbd348c2017-07-18 08:38:11 -070065 ],
Adele Zhou1487c9f2017-10-26 17:59:18 -070066 'python': [
Adele Zhou9fe79dc2017-11-02 14:08:29 -070067 #'v1.0.x', #Fail to run the test. #13230.
Adele Zhou1487c9f2017-10-26 17:59:18 -070068 'v1.1.4',
69 'v1.2.5',
70 'v1.3.9',
71 'v1.4.2',
72 'v1.6.6',
73 ],
Adele Zhou1487c9f2017-10-26 17:59:18 -070074 'node': [
Adele Zhoubcd23cd2017-11-01 15:42:00 -070075 'v1.0.1',
76 'v1.1.4',
77 'v1.2.5',
78 'v1.3.9',
79 'v1.4.2',
Adele Zhou1487c9f2017-10-26 17:59:18 -070080 'v1.6.6',
81 ],
82 'ruby': [
Adele Zhou9fe79dc2017-11-02 14:08:29 -070083 # Ruby v1.0.x doesn't have the fix #8914, therefore not supported.
Adele Zhou1487c9f2017-10-26 17:59:18 -070084 'v1.1.4',
85 'v1.2.5',
86 'v1.3.9',
87 'v1.4.2',
88 'v1.6.6',
89 ],
Adele Zhou9fe79dc2017-11-02 14:08:29 -070090 'php': [
91 'v1.0.1',
92 'v1.1.4',
93 'v1.2.5',
94 'v1.3.9',
95 'v1.4.2',
96 'v1.6.6',
97 ],
Yong Nib2e4bfa2017-05-09 18:12:10 -070098}