From 07be04d62a3b5431f153e85287165ae7eb94e19a Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Thu, 2 Feb 2023 16:32:42 +0000 Subject: [PATCH] adding custom date params to pipeline --- .gitlab-ci.yml | 6 +++--- tests/integration/full/full_test_deposition.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b1f11e..1495b86 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -154,12 +154,12 @@ full_fat_depo: --run_date_type $FULL_FAT_RUN_DATE --custom_run_date $CUSTOM_RUN_DATE - if [[ "$FULL_FAT_COPY_OUTPUT" == "true" ]]; - then + #if [[ "$FULL_FAT_COPY_OUTPUT" == "true" ]]; + #then date=$(date '+%Y-%m-%d-%H%M'); mkdir ${TEST_WORKSPACE_DIR}/integration/full/${date}; cp -rv $OUTPUT_DIR/* ${TEST_WORKSPACE_DIR}/integration/full/${date}; - fi + #fi artifacts: paths: diff --git a/tests/integration/full/full_test_deposition.py b/tests/integration/full/full_test_deposition.py index c2c2877..579af60 100644 --- a/tests/integration/full/full_test_deposition.py +++ b/tests/integration/full/full_test_deposition.py @@ -17,8 +17,8 @@ class TestFullDeposition(unittest.TestCase): @classmethod def setUpClass(cls) -> None: - # TestFullDeposition.write_temp_run_config_file() - # TestFullDeposition.run_depo_pipeline() + TestFullDeposition.write_temp_run_config_file() + TestFullDeposition.run_depo_pipeline() pass -- GitLab