ATLAS Offline Software
Loading...
Searching...
No Matches
update_ci_reference_files.py File Reference

Go to the source code of this file.

Classes

class  python.update_ci_reference_files.CITest

Namespaces

namespace  python
namespace  python.update_ci_reference_files

Functions

 python.update_ci_reference_files.process_log_file (url, branch, test_name)
 python.update_ci_reference_files.process_diffpool_change (text, ami_tag, mr_number, human_readable_date, test_name)
 python.update_ci_reference_files.process_digest_change (text, ami_tag, mr_number, human_readable_date, test_name)
 python.update_ci_reference_files.update_reference_files (actually_update=True, update_local_files=False)
 python.update_ci_reference_files.create_dir_and_copy_refs (test, actually_update=False)
 python.update_ci_reference_files.process_CI_Tests_json (data)
 python.update_ci_reference_files.strip_url (href)
 python.update_ci_reference_files.strip_href (href)
 python.update_ci_reference_files.process_CI_Builds_Summary (project)
 python.update_ci_reference_files.extract_links_from_json (url)
 python.update_ci_reference_files.summarise_failing_tests (check_for_duplicates=True)

Variables

 python.update_ci_reference_files.failing_tests = defaultdict(list)
list python.update_ci_reference_files.dirs_created = []
bool python.update_ci_reference_files.debug = False
 python.update_ci_reference_files.parser
 python.update_ci_reference_files.help
 python.update_ci_reference_files.action
 python.update_ci_reference_files.args = parser.parse_args()
 python.update_ci_reference_files.mr_url = summarise_failing_tests(not args.test_run)
 python.update_ci_reference_files.gl_project = gitlab.Gitlab("https://gitlab.cern.ch").projects.get("atlas/athena")
 python.update_ci_reference_files.mr = gl_project.mergerequests.get(mr_url.split('/')[-1])
 python.update_ci_reference_files.author = mr.author['username']
str python.update_ci_reference_files.remote = f'https://:@gitlab.cern.ch:8443/{author}/athena.git'
str python.update_ci_reference_files.local_branch = f'mr-{mr.iid}'
str python.update_ci_reference_files.msg = 'Would you like to (locally) update digest ref files and/or versions in References.py?'
bool python.update_ci_reference_files.update_local_files = False
 python.update_ci_reference_files.not_in_athena_dir = subprocess.call("git rev-parse --is-inside-work-tree", shell=True)
 python.update_ci_reference_files.commands = update_reference_files(not args.test_run, update_local_files)