Martin Blanchard pushed to branch master at BuildGrid / buildgrid
Commits:
-
33158b7f
by Valentin David at 2018-12-18T13:56:43Z
4 changed files:
- buildgrid/_app/commands/cmd_capabilities.py
- buildgrid/_app/commands/cmd_cas.py
- buildgrid/_app/commands/cmd_execute.py
- buildgrid/_app/commands/cmd_operation.py
Changes:
... | ... | @@ -43,7 +43,8 @@ def cli(context, remote, instance_name, auth_token, client_key, client_cert, ser |
43 | 43 |
"""Entry point for the bgd-capabilities CLI command group."""
|
44 | 44 |
try:
|
45 | 45 |
context.channel, _ = setup_channel(remote, auth_token=auth_token,
|
46 |
- client_key=client_key, client_cert=client_cert)
|
|
46 |
+ client_key=client_key, client_cert=client_cert,
|
|
47 |
+ server_cert=server_cert)
|
|
47 | 48 |
|
48 | 49 |
except InvalidArgumentError as e:
|
49 | 50 |
click.echo("Error: {}.".format(e), err=True)
|
... | ... | @@ -52,7 +52,8 @@ def cli(context, remote, instance_name, auth_token, client_key, client_cert, ser |
52 | 52 |
"""Entry point for the bgd-cas CLI command group."""
|
53 | 53 |
try:
|
54 | 54 |
context.channel, _ = setup_channel(remote, auth_token=auth_token,
|
55 |
- client_key=client_key, client_cert=client_cert)
|
|
55 |
+ client_key=client_key, client_cert=client_cert,
|
|
56 |
+ server_cert=server_cert)
|
|
56 | 57 |
|
57 | 58 |
except InvalidArgumentError as e:
|
58 | 59 |
click.echo("Error: {}.".format(e), err=True)
|
... | ... | @@ -53,7 +53,8 @@ def cli(context, remote, instance_name, auth_token, client_key, client_cert, ser |
53 | 53 |
"""Entry point for the bgd-execute CLI command group."""
|
54 | 54 |
try:
|
55 | 55 |
context.channel, _ = setup_channel(remote, auth_token=auth_token,
|
56 |
- client_key=client_key, client_cert=client_cert)
|
|
56 |
+ client_key=client_key, client_cert=client_cert,
|
|
57 |
+ server_cert=server_cert)
|
|
57 | 58 |
|
58 | 59 |
except InvalidArgumentError as e:
|
59 | 60 |
click.echo("Error: {}.".format(e), err=True)
|
... | ... | @@ -56,7 +56,8 @@ def cli(context, remote, instance_name, auth_token, client_key, client_cert, ser |
56 | 56 |
"""Entry point for the bgd-operation CLI command group."""
|
57 | 57 |
try:
|
58 | 58 |
context.channel, _ = setup_channel(remote, auth_token=auth_token,
|
59 |
- client_key=client_key, client_cert=client_cert)
|
|
59 |
+ client_key=client_key, client_cert=client_cert,
|
|
60 |
+ server_cert=server_cert)
|
|
60 | 61 |
|
61 | 62 |
except InvalidArgumentError as e:
|
62 | 63 |
click.echo("Error: {}.".format(e), err=True)
|