mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-07-29 10:54:48 +00:00
Bootstrap Collection (#1)
* Bootstrap Collection * Basic common bootstrapping of repo * Correct Galaxy settings * Attempt to get Shippable working * correct directory * patch is part of ansible.posix (not community.general * tests/utils/shippable/ missing from ignore.txt * shippable/units.sh from a/a:devel * ignore.txt:patch * CI: Only use group1 for integration * Correct Repo URLs Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> * HACK: Install community.general * run integration tests first * Install community.general in correct location * deleted too much * Use Extended FQCN for community.general * Use temp-2.10-devel * Update tests/utils/shippable/sanity.sh Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
This commit is contained in:
16
tests/utils/shippable/timing.py
Executable file
16
tests/utils/shippable/timing.py
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python3.7
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
import sys
|
||||
import time
|
||||
|
||||
start = time.time()
|
||||
|
||||
sys.stdin.reconfigure(errors='surrogateescape')
|
||||
sys.stdout.reconfigure(errors='surrogateescape')
|
||||
|
||||
for line in sys.stdin:
|
||||
seconds = time.time() - start
|
||||
sys.stdout.write('%02d:%02d %s' % (seconds // 60, seconds % 60, line))
|
||||
sys.stdout.flush()
|
||||
Reference in New Issue
Block a user