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
ee34d7fe
Commit
ee34d7fe
authored
1 year ago
by
Alexander Drabent
Browse files
Options
Downloads
Patches
Plain Diff
add CI job
parent
0fd88967
No related branches found
No related tags found
No related merge requests found
Pipeline
#77360
canceled
1 year ago
Stage: versioning
Stage: build
Stage: tests
Stage: docs
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+16
-0
16 additions, 0 deletions
.gitlab-ci.yml
with
16 additions
and
0 deletions
.gitlab-ci.yml
+
16
−
0
View file @
ee34d7fe
...
...
@@ -11,6 +11,7 @@ variables:
TEST_HBA_DATASET_NAME
:
"
test_data.tar.gz"
CALIBRATOR_HBA_RESULTS_NAME
:
"
results_calibrator.tar.gz"
TARGET_HBA_RESULTS_NAME
:
"
results_target.tar.gz"
TARGET_LBA_RESULTS_NAME
:
"
results_target_lba.tar.gz"
TARGET_HBA_SELFCAL_RESULTS_NAME
:
"
results_target_selfcal.tar.gz"
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
BUILD_DOCKER_IMAGE
:
"
0"
...
...
@@ -108,6 +109,7 @@ download_data:
-
wget -nv https://support.astron.nl/software/ci_data/linc/$TEST_HBA_DATASET_NAME -O $TEST_HBA_DATASET_NAME && tar xfz $TEST_HBA_DATASET_NAME && rm -f $TEST_HBA_DATASET_NAME
-
wget -nv https://support.astron.nl/software/ci_data/linc/$CALIBRATOR_HBA_RESULTS_NAME -O $CALIBRATOR_HBA_RESULTS_NAME && tar xfz $CALIBRATOR_HBA_RESULTS_NAME && rm -f $CALIBRATOR_HBA_RESULTS_NAME
-
wget -nv https://support.astron.nl/software/ci_data/linc/$TARGET_HBA_RESULTS_NAME -O $TARGET_HBA_RESULTS_NAME && tar xfz $TARGET_HBA_RESULTS_NAME && rm -f $TARGET_HBA_RESULTS_NAME
-
wget -nv https://support.astron.nl/software/ci_data/linc/$TARGET_LBA_RESULTS_NAME -O $TARGET_LBA_RESULTS_NAME && tar xfz $TARGET_LBA_RESULTS_NAME && rm -f $TARGET_LBA_RESULTS_NAME
-
wget -nv https://support.astron.nl/software/ci_data/linc/$TARGET_HBA_SELFCAL_RESULTS_NAME -O $TARGET_HBA_SELFCAL_RESULTS_NAME && tar xfz $TARGET_HBA_SELFCAL_RESULTS_NAME && rm -f $TARGET_HBA_SELFCAL_RESULTS_NAME
artifacts
:
paths
:
...
...
@@ -185,6 +187,20 @@ run_hba_target_selfcal:
-
hba_target_selfcal_logs.tar.gz
when
:
on_failure
run_lba_target
:
stage
:
tests
needs
:
[
"
versioning"
,
"
download_data"
]
image
:
$INTEGRATION_IMAGE
script
:
-
cwltool --no-container --preserve-environment PATH --preserve-environment LINC_DATA_ROOT --preserve-environment PYTHONPATH --outdir results --leave-tmpdir --tmpdir-prefix /tmp/run_lba_target/ workflows/LBA_target.cwl test_jobs/LBA_target.json
-
test_jobs/check_workflow_results.py results /builds/RD/LINC/data/results_target
after_script
:
-
find /tmp/run_lba_target -name "*.log" -print0 | tar czf lba_target_logs.tar.gz --null -T -
artifacts
:
paths
:
-
lba_target_logs.tar.gz
when
:
on_failure
build_doc
:
stage
:
docs
needs
:
[
"
versioning"
,
"
download_data"
]
...
...
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