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
410742bb
Commit
410742bb
authored
1 year ago
by
Daniel Nemergut
Browse files
Options
Downloads
Patches
Plain Diff
Forgot to add the actual update commands
parent
896ef452
Loading
Loading
1 merge request
!1300
Correcting the pims_split metadata and dag files to iterate over the splits
Pipeline
#9369
passed
1 year ago
Stage: cache-build
Stage: build
Stage: unit-test
Stage: test-coverage
Stage: .post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shared/workspaces/alembic/versions/762c98a8adf1_pims_split_quicklook_corrections.py
+14
-0
14 additions, 0 deletions
...versions/762c98a8adf1_pims_split_quicklook_corrections.py
with
14 additions
and
0 deletions
shared/workspaces/alembic/versions/762c98a8adf1_pims_split_quicklook_corrections.py
+
14
−
0
View file @
410742bb
...
@@ -112,6 +112,13 @@ def upgrade():
...
@@ -112,6 +112,13 @@ def upgrade():
"""
"""
)
)
op
.
execute
(
f
"""
UPDATE workflow_templates
SET content = replace(convert_from(content,
'
utf8
'
), E
'
{
old_condor_args
}
'
, E
'
{
new_condor_args
}
'
)::bytea
WHERE workflow_name =
'
pims_split
'
AND filename =
'
split.condor
'
"""
)
op
.
execute
(
op
.
execute
(
f
"""
f
"""
UPDATE workflow_templates
UPDATE workflow_templates
...
@@ -130,6 +137,13 @@ def downgrade():
...
@@ -130,6 +137,13 @@ def downgrade():
"""
"""
)
)
op
.
execute
(
f
"""
UPDATE workflow_templates
SET content = replace(convert_from(content,
'
utf8
'
), E
'
{
new_condor_args
}
'
, E
'
{
old_condor_args
}
'
)::bytea
WHERE workflow_name =
'
pims_split
'
AND filename =
'
split.condor
'
"""
)
op
.
execute
(
op
.
execute
(
f
"""
f
"""
UPDATE workflow_templates
UPDATE workflow_templates
...
...
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