Skip to content
Snippets Groups Projects

Gitlab ci runner setup

Merged Reinhard Prix requested to merge gitlab-ci-runner-setup into master
2 files
+ 3
2
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 607a75d2
    fix check_cached_data_okay_to_use() · 607a75d2
    Reinhard Prix authored
    - logged commandline can contain full path to exectable, so
      cmdline-comparison must be agnostic to that
    - fixes failing test against pip-installed lalsuite
+ 2
2
@@ -284,8 +284,8 @@ transientTau = {:10.0f}\n"""
logging.info("Checking contents of cff file")
cl_dump = "lalapps_SFTdumpheader {} | head -n 20".format(self.sftfilepath)
output = helper_functions.run_commandline(cl_dump)
calls = [line for line in output.split("\n") if line[:3] == "lal"]
if calls[0] == cl_mfd:
found = [True for line in output.split("\n") if line[-len(cl_mfd) :] == cl_mfd]
if any(found):
logging.info("Contents matched, use old sft file")
return True
else:
Loading