charmed-kubernetes / actions-operator

Apache License 2.0
7 stars 18 forks source link

Only install and refresh lxd once #73

Closed addyess closed 6 months ago

addyess commented 7 months ago

These changes only refresh the lxd snap to a single channel, rather than allowing it to flip to channels during setup

In the event the workflow is called like this:

   provider: lxd
   channel: 5.19
   lxd-channel: <unset>

lxd-channel defaults to latest/stable

this causes the action to

snap refresh lxd --channel=latest/stable
...
snap refresh lxd --channel=5.19

Rather than going through jumps here, let's let the action install the correct one at the beginning.

addyess commented 7 months ago

addresses https://github.com/charmed-kubernetes/actions-operator/issues/72 as well by setting the default juju channel to 3/stable

addyess commented 7 months ago

@ca-scribner this is ready for a secondary review if you're okay w/ it