From c53f6cacbc0e574978957c500281e7ffe497ff3e Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Sat, 3 Oct 2020 22:44:39 -0500 Subject: [PATCH] modified: .gitlab-ci.yml --- .gitlab-ci.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd18eb3e..0aaf2502 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,6 @@ default: stages: - build - data_init - - run get_data: stage: data_init @@ -27,12 +26,12 @@ get_data: - sodium script: - git clone https://eicweb.phy.anl.gov/EIC/datasets.git datasets - - ln -s datasets/data + - mkdir -p data - mkdir -p results - mkdir -p sim_output generate_config: - stage: build + dependencies: ["get_data"] tags: - sodium script: @@ -40,7 +39,7 @@ generate_config: - mkdir -p config && ./bin/gen_ci_config --no-failure -p dis_ -i dis > config/dis_config.yml dummy-pipeline: - stage: run + dependencies: ["generate_config"] trigger: include: - artifact: config/dummy_config.yml @@ -48,9 +47,17 @@ dummy-pipeline: strategy: depend dis-pipeline: - stage: run + dependencies: ["generate_config"] trigger: include: - artifact: config/dis_config.yml job: generate_config strategy: depend + +final_report: + tags: + - sodium + dependencies: ["dis-pipeline","dummy-pipeline"] + script: + - echo "It was a success!" + -- GitLab