Skip to content

Instantly share code, notes, and snippets.

View lazypower's full-sized avatar
💭
Bring back independent blogs, rss feeds, and the small web.

Charles "Chuck" Butler lazypower

💭
Bring back independent blogs, rss feeds, and the small web.
View GitHub Profile
#!/usr/bin/env python
import random
people = ['connor',
'seanie',
'spencer',
'meme',
'ken',
'tessa',
#!/bin/bash
set -e
CONFIG_CONTAINER=$(docker ps -aq -f name=gcloud-config)
echo $CONFIG_CONTAINER
# This script assumes there is a gce.json file in $PWD.
# Suggested to put this service account credential (.p12) file in a Jenkins Secret
if [ -z $CONFIG_CONTAINER ]; then
"includes":
- "layer:basic"
- "interface:sdn-plugin"
- "layer:docker"
- "interface:http"
"repo": "https://github.com/juju-solutions/layer-docker.git"
"exclude":
- "LAYER_README.md"
- "tests/10-deploy.py"
- "tests/tests.yaml"
series: xenial
applications:
jenkins:
charm: "cs:trusty/jenkins-6"
num_units: 1
options:
password: ""
plugins: |
ace-editor
analysis-core
series: xenial
applications:
jenkins:
charm: "cs:trusty/jenkins-6"
num_units: 1
options:
password: ""
plugins: |
ace-editor
analysis-core
ubuntu@charmbox:~$ apt-cache policy juju-deployer
juju-deployer:
Installed: 0.9.0~bzr196~58~ubuntu16.04.1
Candidate: 0.9.0~bzr196~58~ubuntu16.04.1
Version table:
*** 0.9.0~bzr196~58~ubuntu16.04.1 500
500 http://ppa.launchpad.net/tvansteenburgh/ppa/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
0.6.4-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
apiVersion: v1
kind: ReplicationController
metadata:
labels:
app: gogs
name: gogs
namespace: default
spec:
replicas: 1
selector:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gogs-volume
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
series: xenial
services:
"redis-master":
charm: "cs:precise/redis-master-7"
num_units: 0
annotations:
"gui-x": "109"
"gui-y": "557"
kibana:
charm: "cs:trusty/kibana-15"
series: trusty
services:
rails:
charm: "cs:precise/rails-3"
num_units: 0
annotations:
"gui-x": 300
"gui-y": 300
haproxy:
charm: "cs:haproxy-37"