Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LINC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
LINC
Commits
2322eab4
Commit
2322eab4
authored
3 years ago
by
David Rafferty
Browse files
Options
Downloads
Patches
Plain Diff
Add initial version of calibrator workflow ci test
Former-commit-id:
89e3c3ae
[formerly
96282492
] Former-commit-id:
1cb42061
Former-commit-id:
22134bf7
parent
fd755f83
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+18
-2
18 additions, 2 deletions
.gitlab-ci.yml
test_jobs/HBA_calibrator.json
+130
-7
130 additions, 7 deletions
test_jobs/HBA_calibrator.json
with
148 additions
and
9 deletions
.gitlab-ci.yml
+
18
−
2
View file @
2322eab4
...
...
@@ -2,12 +2,17 @@ image: lofareosc/prefactor3-cwl:latest
variables
:
TEST_DATASET_NAME
:
"
L570745_uv_first10.MS.tar.xz"
TEST_HBA_DATASET_NAME
:
"
test_data_30subbands_12timeslots.tar.gz"
CALIBRATOR_HBA_RESULTS_NAME
:
"
results_calibrator.tar.gz"
TARGET_HBA_RESULTS_NAME
:
"
results_target.tar.gz"
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
stages
:
-
download_data
-
validate_cwl_scripts
-
test_steps
-
test_calibrator
-
test_target
before_script
:
-
mkdir workdir
...
...
@@ -20,7 +25,10 @@ download_data:
stage
:
download_data
script
:
-
mkdir data && cd data
-
wget -q https://git.astron.nl/eosc/prefactor3-cwl/-/raw/master/test_data/$TEST_DATASET_NAME -O $TEST_DATASET_NAME && tar -xf $TEST_DATASET_NAME && rm -f $TEST_DATASET_NAME
-
wget -q https://git.astron.nl/eosc/prefactor3-cwl/-/raw/master/test_data/$TEST_DATASET_NAME -O $TEST_DATASET_NAME && tar -xf $TEST_DATASET_NAME && rm -f $TEST_DATA_NAME
-
wget -q www.astron.nl/citt/ci_data/prefactor/$TEST_HBA_DATASET_NAME -O $TEST_HBA_DATASET_NAME && tar -xfz $TEST_HBA_DATASET_NAME && rm -f $TEST_HBA_DATASET_NAME
-
wget -q www.astron.nl/citt/ci_data/prefactor/$CALIBRATOR_HBA_RESULTS_NAME -O $CALIBRATOR_HBA_RESULTS_NAME && tar -xfz $CALIBRATOR_HBA_RESULTS_NAME && rm -f $CALIBRATOR_HBA_RESULTS_NAME
-
wget -q www.astron.nl/citt/ci_data/prefactor/$TARGET_HBA_RESULTS_NAME -O $TARGET_HBA_RESULTS_NAME && tar -xfz $TARGET_HBA_RESULTS_NAME && rm -f $TARGET_HBA_RESULTS_NAME
-
wget -q https://git.astron.nl/eosc/prefactor3-cwl/-/raw/master/test_data/example.h5 -O example.h5
-
wget -q https://git.astron.nl/eosc/prefactor3-cwl/-/raw/master/test_data/A-Team_lowres.sourcedb -O A-Team_lowres.sourcedb
artifacts
:
...
...
@@ -51,4 +59,12 @@ check_ateam_separation:
allow_failure
:
true
needs
:
[
"
download_data"
]
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/check_ateam_separation.cwl test_jobs/check_ateam_separation.json
\ No newline at end of file
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/check_ateam_separation.cwl test_jobs/check_ateam_separation.json
run_hba_calibrator
:
stage
:
test_calibrator
allow_failure
:
true
needs
:
[
"
download_data"
]
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH workflows/HBA_calibrator.cwl test_jobs/HBA_calibrator.json
-
test_jobs/check_workflow_results.py results ../data/results_calibrator
This diff is collapsed.
Click to expand it.
test_jobs/HBA_calibrator.json
+
130
−
7
View file @
2322eab4
{
"msin"
:
[
{
"class"
:
"Directory"
,
"path"
:
"../data/L570745_SB000_uv_first10.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L570745_SB001_uv_first10.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L570745_SB002_uv_first10.MS"
}
"msin"
:
[
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB000_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB001_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB002_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB003_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB004_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB005_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB006_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB007_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB008_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB009_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB010_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB011_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB012_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB013_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB014_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB015_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB016_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB017_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB018_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB019_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB020_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB021_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB022_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB023_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB024_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB025_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB026_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB027_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB028_uv_12timeslots.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"../data/L667520_SB029_uv_12timeslots.MS"
},
],
"raw_data"
:
false
,
"demix"
:
false
,
}
"A-Team_skymodel"
:
{
"class"
:
"File"
,
"path"
:
"/usr/local/share/prefactor/skymodels/Ateam_LBA_CC.skymodel"
},
"calibrator_path_skymodel"
:
{
"class"
:
"Directory"
,
"path"
:
"/usr/local/share/prefactor/skymodels"
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment