Skip to content

Instantly share code, notes, and snippets.

View mbruzek's full-sized avatar

Matt Bruzek mbruzek

View GitHub Profile
@mbruzek
mbruzek / 10-bundles-test.py
Created October 29, 2014 14:51
Amulet bundles test
#!/usr/bin/env python3
# This amulet test deploys the bundles.yaml file in this directory.
import os
import unittest
import yaml
import amulet
seconds_to_wait = 720
@mbruzek
mbruzek / 00-setup
Last active August 29, 2015 14:08
Amulet setup script
#!/bin/bash
# This script sets up the requirements for amulet tests.
set -x
# Check if amulet is installed before adding the stable repository and updating apt-get.
dpkg -s amulet
if [ $? -ne 0 ]; then
sudo add-apt-repository -y ppa:juju/stable