Skip to content
Snippets Groups Projects
Commit 18255472 authored by Sam Kagan's avatar Sam Kagan
Browse files

Fixed a couple minor issues with the Alembic migrations

parent 305a5b40
No related branches found
No related tags found
3 merge requests!1605Merge 2.8.2.3 work to main,!1581catch up with 2.8.2.3,!1576Fixed a couple minor issues with the Alembic migrations
Pipeline #14230 passed
# Copyright (C) 2023 Associated Universities, Inc. Washington DC, USA.
#
# This file is part of NRAO Workspaces.
#
# Workspaces is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Workspaces is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Workspaces. If not, see <https://www.gnu.org/licenses/>.
#
"""mark4 workflow renaming """mark4 workflow renaming
Revision ID: 91091612b6d0 Revision ID: 91091612b6d0
...@@ -5,9 +22,8 @@ Revises: d20ceed949b3 ...@@ -5,9 +22,8 @@ Revises: d20ceed949b3
Create Date: 2023-09-22 13:34:54.054114 Create Date: 2023-09-22 13:34:54.054114
""" """
from alembic import op
import sqlalchemy as sa import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic. # revision identifiers, used by Alembic.
revision = "91091612b6d0" revision = "91091612b6d0"
...@@ -57,8 +73,8 @@ failed=$1.failed ...@@ -57,8 +73,8 @@ failed=$1.failed
SBIN_PATH=/lustre/aoc/cluster/pipeline/$CAPO_PROFILE/workspaces/sbin SBIN_PATH=/lustre/aoc/cluster/pipeline/$CAPO_PROFILE/workspaces/sbin
# Are we running live NGAS ingestion or testing only? check what we're feeding the manifests # Are we running live NGAS ingestion or testing only? check what we\\'re feeding the manifests
ISLIVE=$($SBIN_PATH/pycapo -q archive-ingestion.ingestNGAS) ISLIVE=$($SBIN_PATH/pycapo -q archive-ingestion.ingestNGAS)
# Get NGAS hosts and set up variables to randomly select one # Get NGAS hosts and set up variables to randomly select one
NGASHOSTSTR=$($SBIN_PATH/pycapo -q archive-ingestion.NGASHosts) NGASHOSTSTR=$($SBIN_PATH/pycapo -q archive-ingestion.NGASHosts)
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
Let the capability service set the initial value for capability_versions.internal_notes Let the capability service set the initial value for capability_versions.internal_notes
Revision ID: c9d8e14ae603 Revision ID: c9d8e14ae603
Revises: 12d0499d232d Revises: 1c435b5d7a8d
Create Date: 2024-02-09 14:08:53.042890 Create Date: 2024-02-09 14:08:53.042890
""" """
...@@ -29,7 +29,7 @@ from alembic import op ...@@ -29,7 +29,7 @@ from alembic import op
# revision identifiers, used by Alembic. # revision identifiers, used by Alembic.
revision = "c9d8e14ae603" revision = "c9d8e14ae603"
down_revision = "12d0499d232d" down_revision = "1c435b5d7a8d"
branch_labels = None branch_labels = None
depends_on = None depends_on = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment