mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 15:41:22 -07:00
Add FreeBSD to Shippable CI. (#16883)
This commit is contained in:
parent
6dc148d82c
commit
e2602e9be0
7 changed files with 278 additions and 17 deletions
|
@ -74,6 +74,12 @@ def main():
|
|||
default=None,
|
||||
help='path to ssh public key for authentication')
|
||||
|
||||
start_parser.add_argument('--query',
|
||||
dest='query',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='query only, do not start instance')
|
||||
|
||||
shippable = start_subparsers.add_parser('shippable', help='start instance for shippable testing')
|
||||
|
||||
shippable.add_argument('--run-id',
|
||||
|
@ -164,6 +170,7 @@ def start_instance(args):
|
|||
platform=args.platform,
|
||||
version=args.version,
|
||||
public_key=public_key,
|
||||
query=args.query,
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -204,6 +211,9 @@ def start_instance(args):
|
|||
|
||||
print(args.instance_id)
|
||||
|
||||
if args.query:
|
||||
print_stderr(json.dumps(response.json(), indent=4, sort_keys=True))
|
||||
|
||||
|
||||
def stop_instance(args):
|
||||
if args.verbose:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue