allow creating images for non-yet-listed releases

pull/17671/head
Jan Tattermusch 6 years ago
parent bd5e15608d
commit 2a997c66ea
  1. 2
      tools/interop_matrix/client_matrix.py
  2. 2
      tools/interop_matrix/create_matrix_images.py

@ -36,7 +36,7 @@ def get_release_tags(lang):
def get_runtimes_for_lang_release(lang, release): def get_runtimes_for_lang_release(lang, release):
"""Get list of valid runtimes for given release of lang.""" """Get list of valid runtimes for given release of lang."""
runtimes_to_skip = [] runtimes_to_skip = []
release_info = LANG_RELEASE_MATRIX[lang][release] release_info = LANG_RELEASE_MATRIX[lang].get(release)
if release_info: if release_info:
runtimes_to_skip = release_info.skip_runtime runtimes_to_skip = release_info.skip_runtime
return [ return [

@ -260,7 +260,7 @@ atexit.register(cleanup)
def maybe_apply_patches_on_git_tag(stack_base, lang, release): def maybe_apply_patches_on_git_tag(stack_base, lang, release):
files_to_patch = [] files_to_patch = []
release_info = client_matrix.LANG_RELEASE_MATRIX[lang][release] release_info = client_matrix.LANG_RELEASE_MATRIX[lang].get(release)
if release_info: if release_info:
files_to_patch = release_info.patch files_to_patch = release_info.patch
if not files_to_patch: if not files_to_patch:

Loading…
Cancel
Save