diff options
author | Adele Zhou <adelez@google.com> | 2017-11-03 17:52:14 -0700 |
---|---|---|
committer | Adele Zhou <adelez@google.com> | 2017-11-06 14:44:35 -0800 |
commit | 317641d6fc9dfa6a0090f97b12360f17dbe20018 (patch) | |
tree | afff9bf44196a3411e799edda6338e9227b34a3f /tools/interop_matrix/create_matrix_images.py | |
parent | f7f38d1becaf09827406696d628f185067f7e0c6 (diff) |
Added C#
Diffstat (limited to 'tools/interop_matrix/create_matrix_images.py')
-rwxr-xr-x | tools/interop_matrix/create_matrix_images.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/interop_matrix/create_matrix_images.py b/tools/interop_matrix/create_matrix_images.py index 86c5bf45d7..21040eadf2 100755 --- a/tools/interop_matrix/create_matrix_images.py +++ b/tools/interop_matrix/create_matrix_images.py @@ -227,7 +227,6 @@ def checkout_grpc_stack(lang, release): repo_dir = os.path.splitext(os.path.basename(repo))[0] stack_base = os.path.join(args.git_checkout_root, repo_dir) - # Assume the directory is reusable for git checkout. if not os.path.exists(stack_base): subprocess.check_call(['git', 'clone', '--recursive', repo], cwd=os.path.dirname(stack_base)) @@ -240,7 +239,9 @@ def checkout_grpc_stack(lang, release): output = subprocess.check_output( ['git', 'checkout', release], cwd=stack_base, stderr=subprocess.STDOUT) commit_log = subprocess.check_output(['git', 'log', '-1'], cwd=stack_base) - jobset.message('SUCCESS', 'git checkout', output + commit_log, do_newline=True) + jobset.message('SUCCESS', 'git checkout', + '%s: %s' % (str(output), commit_log), + do_newline=True) # Write git log to commit_log so it can be packaged with the docker image. with open(os.path.join(stack_base, 'commit_log'), 'w') as f: |