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
21b11706
Commit
21b11706
authored
1 year ago
by
Daniel Nemergut
Browse files
Options
Downloads
Patches
Plain Diff
No longer transferring files into the container, running from /users/vlapipe directly
parent
fa3bf754
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1477
Mark4 import script move
Pipeline
#12275
passed
1 year ago
Stage: pull-db
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
-7
6 additions, 7 deletions
...es/alembic/versions/61cbcd1d83f7_mark4_import_workflow.py
with
6 additions
and
7 deletions
shared/workspaces/alembic/versions/61cbcd1d83f7_mark4_import_workflow.py
+
6
−
7
View file @
21b11706
...
...
@@ -24,15 +24,12 @@ output = import.out
error = import.err
log = condor.log
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, $(SBIN_PATH)/mark4_import
should_transfer_files = NO
+WantIOProxy = True
request_memory = {{ramInGb}}
getenv = True
environment =
"
CAPO_PATH=/home/casa/capo
"
requirements = HasLustre == True
queue
...
...
@@ -41,7 +38,9 @@ queue
mk_four_import_sh
=
"""
#!/bin/sh
set -o errexit
./mark4_import
BIN_PATH=/users/vlapipe/workflows/$CAPO_PROFILE/bin
${BIN_PATH}/mark4_import
"""
...
...
@@ -49,7 +48,7 @@ set -o errexit
def
upgrade
():
op
.
execute
(
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