aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/interop_matrix/client_matrix.py
diff options
context:
space:
mode:
authorGravatar Alex Polcyn <apolcyn@google.com>2017-11-15 00:32:50 +0000
committerGravatar Alexander Polcyn <apolcyn@google.com>2017-12-06 15:09:10 -0800
commit8426329120a4a0abaf46c68abf35e53515149995 (patch)
treeafaa8a198acc0f17619505a6fce983c9dc74430d /tools/interop_matrix/client_matrix.py
parent650595ea15f50dfee318fbe116be96afe0fab191 (diff)
Apply patches to ruby 101 docker image during upload script, for
compatibility tests.
Diffstat (limited to 'tools/interop_matrix/client_matrix.py')
-rw-r--r--tools/interop_matrix/client_matrix.py139
1 files changed, 77 insertions, 62 deletions
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py
index c9a4996029..7b02f51725 100644
--- a/tools/interop_matrix/client_matrix.py
+++ b/tools/interop_matrix/client_matrix.py
@@ -23,6 +23,18 @@ def get_github_repo(lang):
# all other languages use the grpc.git repo.
}.get(lang, 'git@github.com:grpc/grpc.git')
+def get_release_tags(lang):
+ return map(lambda r: get_release_tag_name(r), LANG_RELEASE_MATRIX[lang])
+
+def get_release_tag_name(release_info):
+ assert len(release_info.keys()) == 1
+ return release_info.keys()[0]
+
+def should_build_docker_interop_image_from_release_tag(lang):
+ if lang in ['go', 'java', 'node']:
+ return False
+ return True
+
# Dictionary of runtimes per language
LANG_RUNTIME_MATRIX = {
'cxx': ['cxx'], # This is actually debian8.
@@ -39,81 +51,84 @@ LANG_RUNTIME_MATRIX = {
# a release tag pointing to the latest build of the branch.
LANG_RELEASE_MATRIX = {
'cxx': [
- 'v1.0.1',
- 'v1.1.4',
- 'v1.2.5',
- 'v1.3.9',
- 'v1.4.2',
- 'v1.6.6',
- 'v1.7.2',
+ {'v1.0.1': None},
+ {'v1.1.4': None},
+ {'v1.2.5': None},
+ {'v1.3.9': None},
+ {'v1.4.2': None},
+ {'v1.6.6': None},
+ {'v1.7.2': None},
],
'go': [
- 'v1.0.5',
- 'v1.2.1',
- 'v1.3.0',
- 'v1.4.2',
- 'v1.5.2',
- 'v1.6.0',
- 'v1.7.0',
- 'v1.7.1',
- 'v1.7.2',
- 'v1.7.3',
- 'v1.8.0',
+ {'v1.0.5': None},
+ {'v1.2.1': None},
+ {'v1.3.0': None},
+ {'v1.4.2': None},
+ {'v1.5.2': None},
+ {'v1.6.0': None},
+ {'v1.7.0': None},
+ {'v1.7.1': None},
+ {'v1.7.2': None},
+ {'v1.7.3': None},
+ {'v1.8.0': None},
],
'java': [
- 'v1.0.3',
- 'v1.1.2',
- 'v1.2.0',
- 'v1.3.1',
- 'v1.4.0',
- 'v1.5.0',
- 'v1.6.1',
- 'v1.7.0',
- 'v1.8.0',
+ {'v1.0.3': None},
+ {'v1.1.2': None},
+ {'v1.2.0': None},
+ {'v1.3.1': None},
+ {'v1.4.0': None},
+ {'v1.5.0': None},
+ {'v1.6.1': None},
+ {'v1.7.0': None},
+ {'v1.8.0': None},
],
'python': [
- 'v1.0.x',
- 'v1.1.4',
- 'v1.2.5',
- 'v1.3.9',
- 'v1.4.2',
- 'v1.6.6',
- 'v1.7.2',
+ {'v1.0.x': None},
+ {'v1.1.4': None},
+ {'v1.2.5': None},
+ {'v1.3.9': None},
+ {'v1.4.2': None},
+ {'v1.6.6': None},
+ {'v1.7.2': None},
],
'node': [
- 'v1.0.1',
- 'v1.1.4',
- 'v1.2.5',
- 'v1.3.9',
- 'v1.4.2',
- 'v1.6.6',
- #'v1.7.1', Failing tests.
+ {'v1.0.1': None},
+ {'v1.1.4': None},
+ {'v1.2.5': None},
+ {'v1.3.9': None},
+ {'v1.4.2': None},
+ {'v1.6.6': None},
+ #{'v1.7.1': None}, Failing tests
],
'ruby': [
- # Ruby v1.0.x doesn't have the fix #8914, therefore not supported.
- 'v1.1.4',
- 'v1.2.5',
- 'v1.3.9',
- 'v1.4.2',
- 'v1.6.6',
- 'v1.7.2',
+ {'v1.0.1': {'patch': [
+ 'tools/dockerfile/interoptest/grpc_interop_ruby/Dockerfile',
+ 'tools/dockerfile/interoptest/grpc_interop_ruby/build_interop.sh',
+ ]}},
+ {'v1.1.4': None},
+ {'v1.2.5': None},
+ {'v1.3.9': None},
+ {'v1.4.2': None},
+ {'v1.6.6': None},
+ {'v1.7.2': None},
],
'php': [
- 'v1.0.1',
- 'v1.1.4',
- 'v1.2.5',
- 'v1.3.9',
- 'v1.4.2',
- 'v1.6.6',
- 'v1.7.2',
+ {'v1.0.1': None},
+ {'v1.1.4': None},
+ {'v1.2.5': None},
+ {'v1.3.9': None},
+ {'v1.4.2': None},
+ {'v1.6.6': None},
+ {'v1.7.2': None},
],
'csharp': [
- #'v1.0.1',
- 'v1.1.4',
- 'v1.2.5',
- 'v1.3.9',
- 'v1.4.2',
- 'v1.6.6',
- 'v1.7.2',
+ #{'v1.0.1': None},
+ {'v1.1.4': None},
+ {'v1.2.5': None},
+ {'v1.3.9': None},
+ {'v1.4.2': None},
+ {'v1.6.6': None},
+ {'v1.7.2': None},
],
}