We are currently able to specify a channel for build-snaps or stage-snaps as follows:
parts:
charmed-mysql:
stage-snaps:
- 8.0/edge
However, we are unable to specify a specific revision of a snap with the above syntax
Why it needs to get done
We have snaps in the Data Platform team that track a major version of a database (e.g. charmed-mysql/8.0). However, the edge risk of the channel can be either 8.0.33 or 8.0.34 based on the snap build date
Since we are using stage-snaps to install the binaries of the snap into our ROCK, we need a way to specify a particular revision of the snap to install from in our rockcraft.yaml file.
What needs to get done
We are currently able to specify a channel for
build-snaps
orstage-snaps
as follows:However, we are unable to specify a specific revision of a snap with the above syntax
Why it needs to get done
We have snaps in the Data Platform team that track a major version of a database (e.g.
charmed-mysql/8.0
). However, theedge
risk of the channel can be either8.0.33
or8.0.34
based on the snap build dateSince we are using
stage-snaps
to install the binaries of the snap into our ROCK, we need a way to specify a particular revision of the snap to install from in our rockcraft.yaml file.