qaul / qaul.net

Internet Independent Wireless Mesh Communication App
https://qaul.net
GNU Affero General Public License v3.0
496 stars 63 forks source link

[#534] glibc error from CircleCI's snap build #535

Closed brenodt closed 1 year ago

brenodt commented 1 year ago

Description

Closes #534. There was an issue in how we were building the snap image of qaul.net from within CircleCI. Before this PR, it was built from the Doker snapcore/snapcraft image - which is not maintained at all and is quite obsolete by this point. This caused a compatibility issue with the glibc version available in the image vs. what our packages expect.

Solution

Build the snap image from a machine executor, instead of a docker executor, gives us a bit more control over the environment.

I also made so that new releases will be uploaded to the candidate channel instead of the stable one. This way, we don't replace a known working release with a new one prior to testing.

To install a qaul version from the candidate channel, run:

snap install --candidate qaul

If you already have it installed, you can refresh instead:

snap refresh --candidate qaul

Once you're ready to promote a candidate into the stable channel, you can do so via the Snapcraft UI, or by running the following command:

snapcraft promote qaul --from-channel candidate --to-channel stable  # --yes avoids the confirmation prompt