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
Commits
8d542fbb
Commit
8d542fbb
authored
1 year ago
by
Daniel Nemergut
Browse files
Options
Downloads
Plain Diff
Merge branch 'mark4_import_script_dir' into 'main'
Mark4 import script move See merge request
!1477
parents
9c7db06b
21b11706
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1477
Mark4 import script move
Pipeline
#12276
passed
1 year ago
Stage: pull-db
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shared/workspaces/alembic/versions/61cbcd1d83f7_mark4_import_workflow.py
+6
-8
6 additions, 8 deletions
...es/alembic/versions/61cbcd1d83f7_mark4_import_workflow.py
with
6 additions
and
8 deletions
shared/workspaces/alembic/versions/61cbcd1d83f7_mark4_import_workflow.py
+
6
−
8
View file @
8d542fbb
...
@@ -24,16 +24,12 @@ output = import.out
...
@@ -24,16 +24,12 @@ output = import.out
error = import.err
error = import.err
log = condor.log
log = condor.log
BIN_PATH = $ENV(HOME)/workflows/$ENV(CAPO_PROFILE)/bin
should_transfer_files = NO
SBIN_PATH = /lustre/aoc/cluster/pipeline/$ENV(CAPO_PROFILE)/workspaces/sbin
SPOOL_DIR = {{spool_dir}}
should_transfer_files = yes
transfer_input_files = $ENV(HOME)/.ssh/condor_transfer, nraorsync://$(SBIN_PATH)/pycapo, $(BIN_PATH)/mark4_import
+WantIOProxy = True
+WantIOProxy = True
request_memory = {{ramInGb}}
request_memory = {{ramInGb}}
getenv = True
getenv = True
environment =
"
CAPO_PATH=/home/casa/capo
"
environment =
"
CAPO_PATH=/home/casa/capo
"
requirements = HasLustre == True
queue
queue
...
@@ -42,7 +38,9 @@ queue
...
@@ -42,7 +38,9 @@ queue
mk_four_import_sh
=
"""
#!/bin/sh
mk_four_import_sh
=
"""
#!/bin/sh
set -o errexit
set -o errexit
./mark4_import
BIN_PATH=/users/vlapipe/workflows/$CAPO_PROFILE/bin
${BIN_PATH}/mark4_import
"""
"""
...
@@ -50,7 +48,7 @@ set -o errexit
...
@@ -50,7 +48,7 @@ set -o errexit
def
upgrade
():
def
upgrade
():
op
.
execute
(
op
.
execute
(
f
"""
f
"""
INSERT INTO workflows (workflow_name) VALUES (E
'
{
wf_name
}
'
)
INSERT INTO workflows (workflow_name
, requires_lustre
) VALUES (E
'
{
wf_name
}
'
, true
)
"""
"""
)
)
...
...
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