-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce the number of Koji build jobs related to a sidetag(s) release (#…
…2588) Reduce the number of Koji build jobs related to a sidetag(s) release Fixes #2527. Reviewed-by: Laura Barcziová
- Loading branch information
Showing
7 changed files
with
229 additions
and
70 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
alembic/versions/adb6be5bc358_add_sidetag_and_nvr_fields_to_.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
"""Add sidetag and nvr fields to KojiBuildTargetModel | ||
Revision ID: adb6be5bc358 | ||
Revises: f376be1907e1 | ||
Create Date: 2024-10-20 15:47:45.454965 | ||
""" | ||
|
||
import sqlalchemy as sa | ||
|
||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = "adb6be5bc358" | ||
down_revision = "f376be1907e1" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column( | ||
"koji_build_targets", | ||
sa.Column("sidetag", sa.String(), nullable=True), | ||
) | ||
op.add_column("koji_build_targets", sa.Column("nvr", sa.String(), nullable=True)) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column("koji_build_targets", "nvr") | ||
op.drop_column("koji_build_targets", "sidetag") | ||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.