diff --git a/.github/workflows/update_snaps_revs.yaml b/.github/workflows/update_snaps_revs.yaml new file mode 100644 index 00000000..a286cbc4 --- /dev/null +++ b/.github/workflows/update_snaps_revs.yaml @@ -0,0 +1,17 @@ +# Copyright 2023 Canonical Ltd. +# See LICENSE file for licensing details. +name: Update bundle snaps + +on: + workflow_dispatch: + push: + +jobs: + update-bundle-snaps: + name: Update bundle snaps + uses: canonical/data-platform-workflows/.github/workflows/update_bundle_snaps.yaml@lucas/fetch-snap-rev + with: + path-to-snaps-file: releases/latest/snaps.yaml + path-to-bundle-file: releases/latest/postgresql-bundle.yaml + secrets: + token: ${{ secrets.PAT }} \ No newline at end of file diff --git a/releases/latest/snaps.yaml b/releases/latest/snaps.yaml new file mode 100644 index 00000000..625a841d --- /dev/null +++ b/releases/latest/snaps.yaml @@ -0,0 +1,19 @@ +packages: +- name: charmed-pgbouncer + push_channel: 1/stable + revision: 16 +- name: charmed-postgresql + push_channel: 14/stable + revision: 124 +- name: core20 + push_channel: latest/stable + revision: 2379 +- name: core22 + push_channel: latest/stable + revision: 1621 +- name: grafana-agent + push_channel: latest/stable + revision: 82 +- name: canonical-livepatch + push_channel: latest/stable + revision: 282