Fixup circle config to match new integration-test.py

This commit is contained in:
yuvipanda
2018-08-11 11:01:45 -07:00
parent 8d582dcba8
commit 732e655ada
2 changed files with 6 additions and 3 deletions

View File

@@ -65,12 +65,12 @@ jobs:
- run: - run:
name: build systemd image name: build systemd image
command: | command: |
python3 .circleci/integration-test.py build-image .circleci/integration-test.py build-image
- run: - run:
name: Run hub tests name: Run basic tests tests
command: | command: |
python3 .circleci/integration-test.py run-test test_hub.py .circleci/integration-test.py run-test basic-tests test_hub.py test_install.py test_extensions.py

View File

@@ -120,6 +120,7 @@ def main():
argparser = argparse.ArgumentParser() argparser = argparse.ArgumentParser()
subparsers = argparser.add_subparsers(dest='action') subparsers = argparser.add_subparsers(dest='action')
subparsers.add_parser('build-image')
subparsers.add_parser('stop-container').add_argument( subparsers.add_parser('stop-container').add_argument(
'container_name' 'container_name'
) )
@@ -152,6 +153,8 @@ def main():
copy_to_container(args.container_name, args.src, args.dest) copy_to_container(args.container_name, args.src, args.dest)
elif args.action == 'stop-container': elif args.action == 'stop-container':
stop_container(args.container_name) stop_container(args.container_name)
elif args.action == 'build-image':
build_systemd_image(image_name, 'integration-tests')
if __name__ == '__main__': if __name__ == '__main__':