This is a very simplified and hypothetical example of a continuous integration / delivery system.
- Apache Mesos cluster configured with a master/slave setup.
- Marathon Mesosphere's Marathon framework running on Apache Mesos.
### Keybase proof | |
I hereby claim: | |
* I am kevinschoon on github. | |
* I am kevinschoon (https://keybase.io/kevinschoon) on keybase. | |
* I have a public key ASBAoAt5MndM6xvjPJlKn7zt20wURtpeyDdxc9tEch4Xigo | |
To claim this, I am signing this object: |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"math/rand" | |
"strings" | |
"time" | |
) |
/* | |
Demonstration of concurrency using Go routines with shared lock plus error and signal handling. | |
*/ | |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"math/rand" | |
"os" |
import sys | |
def recurse(count=0): | |
count += 1 | |
if count + 2 < sys.getrecursionlimit(): | |
recurse(count) | |
else: | |
answer = raw_input("YOU HAVE REACHED {} DO YOU DARE TO CONTINUE?! [yes/no/whatev]: ".format(count)) | |
if answer == "yes": |
package main | |
import ( | |
"fmt" | |
"time" | |
"math/rand" | |
"bytes" | |
"gopkg.in/robfig/cron.v2" | |
) |
class FileObject: | |
def __init__(name, **kwargs): | |
self.name = name | |
def get_metadata(path): | |
resp = client.metadata(path) | |
for f in resp['contents']: | |
if f['is_file']: | |
yield FileObject(**f) | |
else: |
#!/usr/bin/env python | |
""" | |
Convert YAML to JSON and JSON to YAML | |
""" | |
import yaml | |
import json | |
import sys | |
ptr = '.'.join(reversed(instance.ip_address.split('.'))) + '.in-addr.arpa.' |
from mesosphere/mesos-slave:0.22.0-1.0.ubuntu1404 | |
RUN apt-get update && apt-get install -y apt-transport-https | |
RUN echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list | |
RUN apt-get update && apt-get install -y --force-yes lxc-docker |