Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!327
Calibration ingestion templates
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Calibration ingestion templates
Calibration_Ingestion
into
main
Overview
2
Commits
7
Pipelines
3
Changes
1
Merged
Charlotte Hausman
requested to merge
Calibration_Ingestion
into
main
3 years ago
Overview
2
Commits
7
Pipelines
3
Changes
1
Expand
0
0
Merge request reports
Viewing commit
79ddb110
Prev
Next
Show latest version
1 file
+
16
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
79ddb110
WS-508: templates for calibration ingestion workflow
· 79ddb110
Charlotte Hausman
authored
3 years ago
schema/versions/e99b65ee2b4e_add_calibration_ingestion_workflow.py
+
16
−
6
Options
@@ -17,7 +17,7 @@ depends_on = None
condor_content
=
"""
executable = ingest_cal.sh
arguments =
{{request_id}}
metadata.json
arguments = metadata.json
output = ingest.out
error = ingest.err
@@ -25,7 +25,7 @@ log = condor.log
SBIN_PATH = /lustre/aoc/cluster/pipeline/$ENV(CAPO_PROFILE)/workspaces/sbin
should_transfer_files = yes
transfer_input_files = $(SBIN_PATH)/conveyor, $(SBIN_PATH)/ingest_envoy ./metadata.json
transfer_input_files = $(SBIN_PATH)/conveyor, $(SBIN_PATH)/ingest_envoy
, $(SBIN_PATH)/calibration-table-collector.sh,
./metadata.json
getenv = True
environment =
"
CAPO_PATH=/home/casa/capo
"
@@ -35,9 +35,9 @@ queue
script_content
=
"""
#!/bin/sh
set -o errexit
chmod 770 .
./conveyor --retrieve $
2
./ingest_envoy
./conveyor --retrieve $
1
./ingest_envoy
--ingest-cal $1
"""
@@ -65,4 +65,14 @@ def upgrade():
def
downgrade
():
pass
op
.
execute
(
"""
DELETE FROM workflows WHERE workflow_name=
'
ingest-cal
'
"""
)
op
.
execute
(
"""
DELETE FROM workflow_templates WHERE workflow_name=
'
ingest-cal
'
"""
)
Loading