Skip to content

canonical/mysql-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL Snap

Release to Snap Store

This repository contains the packaging metadata for creating a snap of MySQL built from the official Ubuntu repositories. For more information on snaps, visit snapcraft.io.

Installing the Snap

The snap can be installed directly from the Snap Store. Follow the link below for more information.

Requires snapd v2.73 or higher.

Get it from the Snap Store

Building the Snap

Clone Repository

git clone git@github.com:canonical/mysql-snap.git
cd mysql-snap

Installing and Configuring Prerequisites

sudo snap install snapcraft
sudo snap install lxd
sudo lxd init --auto

Packing and Installing the Snap

In order to properly test the confinement of the snap, we must install it using the --dangerous flag, instead of the --devmode one. See snap installation modes.

snapcraft pack
sudo snap install ./mysql*.snap --dangerous --jailmode

Testing Snap

Using Spread:

snapcraft test                       # run all tests
ls -la spread/tests/                 # list all tests
snapcraft test -- spread/tests/smoke # run one test suite
snapcraft test --debug               # to open shell for failed test

License

The MySQL Snap is free software, distributed under the Apache Software License, version 2.0. See LICENSE for more information.

About

MySQL snap

Topics

Resources

License

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors