Skip to content

Commit

Permalink
adding the base config to git crypt
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Feb 2, 2024
1 parent 542520f commit 20f6583
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/staging/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from src.common.pg_impl import PGImplementation
from src.common.staging_enums import StagingType, StagingTestExecutor, WorkflowTypeName, ReturnCodes


class Staging:
"""
Class that contains functionality for staging
Expand Down Expand Up @@ -204,6 +205,10 @@ def create_test_files(self, run_dir: str, run_data: json, workflow_type: Workflo
# declare the testing complete
fp.write(f'echo "Copying test results..."; cp ./test-reports/*.xml {run_dir};\n')

# save these directories for more forensics
fp.write(f'echo "Copying test results..."; cp -r /var/log/irods/ /data/{run_dir}/var/log/irods;\n')
fp.write(f'echo "Copying test results..."; cp -r /var/lib/irods/log/ /data/{run_dir}/var/lib/irods/log;\n')

# make sure the file has the correct permissions
if sys.platform != 'win32':
os.chmod(out_file_name, 0o777)
Expand Down

0 comments on commit 20f6583

Please sign in to comment.