1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
import json
import sys
def run(CI):
final_config = CI.store_config(
{
"yaml_substitutions": { # -> written to ".env"
"client_python_version": "3",
"client_os_generic": "ubuntu",
"client_os_image": "ubuntu:18.04",
"python_rule_engine_installed": "y",
},
"container_environments": {
"client-runner": { # -> written to "client-runner.env"
"TESTS_TO_RUN": "" # run test subset, e.g. "irods.test.data_obj_test"
}
},
}
)
print("----------\nconfig after CI modify pass\n----------", file=sys.stderr)
print(json.dumps(final_config, indent=4), file=sys.stderr)
return CI.run_and_wait_on_client_exit()
|