Skip to content

Instantly share code, notes, and snippets.

View come-maiz's full-sized avatar
🤷‍♀️
¡paz y baile!

Leonardo Arias come-maiz

🤷‍♀️
¡paz y baile!
View GitHub Profile
@come-maiz
come-maiz / snapcraft-tests-2.16.md
Last active February 21, 2018 21:24
Snapcraft tests for the stable release updates

Variables:

  • Build and run a snap using snapcraft variables in the build.
  • Build a snap using snapcraft variables in the yaml.

Plugins:

  • Build python2 and python3 snaps and check that they include no .pyc, .pth nor pycache.
  • Build a nodejs snap in arm64.
  • Build a nodejs snap in launchpad.

Grade:

@come-maiz
come-maiz / cloudfoundry-cli-tests.md
Last active August 30, 2016 07:28
Cloudfoundry CLI snap testing

Smoke tests for the Cloudfoundry CLI snap

(based on http://docs.cloudfoundry.org/cf-cli/)

First, build and install the CLI snap:

$ sudo snap install cf --edge

(or --beta if you want to test a more stable version)

Print the help:

@come-maiz
come-maiz / nextcloud.md
Last active March 3, 2017 23:45
Nextcloud snap testing

Smoke tests for the Nextcloud snap

First, install the snap:

$ sudo snap install nextcloud --edge

Check that it is running:

  • Check that the Nextcloud page to create an admin account is opened.
@come-maiz
come-maiz / heroku-tests.md
Last active August 31, 2016 04:43
Heroku snap testing
@come-maiz
come-maiz / micro-tests.md
Last active September 5, 2016 18:01
Micro snap testing

Smoke tests for the micro snap

First, build and install the micro snap:

  1. sudo apt install git snapcraft
  2. git clone https://github.com/elopio/micro
  3. cd micro
  4. git checkout snapcraft
  5. snapcraft
  6. sudo snap install micro*.snap
@come-maiz
come-maiz / keybase-tests.md
Last active April 28, 2017 02:07
Keybase snap testing
@come-maiz
come-maiz / runc-tests.md
Created September 6, 2016 15:46
runc snap testing

Smoke tests for the runc snap

First, build and install the runc snap:

  1. git clone https://github.com/elopio/runc
  2. cd runc
  3. git checkout snapcraft
  4. sudo apt install snapcraft
  5. snapcraft
  6. sudo snap install runc*.snap
@come-maiz
come-maiz / trojita-tests.md
Last active September 22, 2016 02:37
Trojitá snap testing

Smoke tests for the Trojitá snap

First, build and install the snap:

$ sudo apt install git snapcraft
$ git clone https://github.com/elopio/trojita
$ cd trojita
$ git checkout snapcraft
$ snapcraft

$ sudo snap install trojita*.snap --force-dangerous

@come-maiz
come-maiz / cargo-tests.md
Last active September 22, 2016 02:45
Cargo snap testing

Smoke tests for the Cargo snap (based on http://doc.crates.io/index.html)

First, build and install the snap:

$ sudo apt install git snapcraft
$ git clone https://github.com/elopio/cargo
$ cd cargo
$ git checkout snapcraft

$ snapcraft