Skip to content

Commit

Permalink
patch(_update_bundle.yaml): Hardcode snap channels for `charmed_postg…
Browse files Browse the repository at this point in the history
…resql` and `charmed_pgbouncer` (#241)

With the merge of
canonical/postgresql-operator#638 and
canonical/pgbouncer-operator#384, the workflow
cannot rely on charm's source code to fetch the snap channel info.
  • Loading branch information
lucasgameiroborges authored Oct 9, 2024
1 parent a78e496 commit 8e0606f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/cli/data_platform_workflows_cli/update_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def fetch_postgresql_snaps(charm_revision) -> list[Snap]:
result.append(Snap(
name=snap_name,
revision=int(snap_info["revision"]["x86_64"]),
push_channel=snap_info["channel"],
push_channel="14/edge",
))
return result
else:
Expand All @@ -178,7 +178,7 @@ def fetch_pgbouncer_snaps(charm_revision) -> list[Snap]:
result.append(Snap(
name=snap_name,
revision=int(snap_info["revision"]["x86_64"]),
push_channel=snap_info["channel"],
push_channel="1/edge",
))
return result
else:
Expand Down

0 comments on commit 8e0606f

Please sign in to comment.