Install Strimzi on Minishift
- start minishift with a profile named
kafka
on macOS
minishift --profile kafka start --vm-driver=xhyve --memory=7000 --cpus=4 --disk-size=50g
on linux
#!/bin/sh | |
# Install dependencies | |
sudo apt-get install git libssl-dev libcairo2-dev libgif-dev libjpeg8-dev optipng pngcrush pngquant | |
# Install Node.js v0.4 | |
git clone git://github.com/joyent/node | |
cd node | |
git checkout v0.4 | |
make distclean # Only necessary if you've compiled from the same checkout before |
for i in `hg st --no-status $(hg root)`; do mimetype $i | grep php > /dev/null && php -l $i; done |
// ALMRelationship describes the basic relationship | |
var ALMRelationship = Type("ALMRelationship", func() { | |
Attribute("data", ArrayOf(Any)) | |
}) | |
// ALMLink describes a single linked resource | |
var ALMLink = Type("ALMLink", func() { | |
Attribute("href", Integer, "Unique numeric representation of the error") | |
Attribute("meta", HashOf(String, Any), "Related meta information") | |
}) |
db := requires.Resource(t, Database) | |
space, wis := requires.Objects(t, Space(1), WorkItems(3, ExtraLongTitle())) | |
func ExtraLongTitle() { | |
return func(wi *WorkItem) { | |
wi.Data.Attributes["system.title"] = ".. long thing.." | |
} | |
} |
// Definition | |
/* | |
func test() { | |
account := app.AccountSingle{} | |
account.Data.ID | |
account.Data.Type | |
account.Data.Attributes.Name | |
account.Data.Relationships.OwnedBy | |
account.Data.Relationships.OwnedBy.Meta | |
account.Data.Relationships.OwnedBy.Related |
kafka
on macOS
minishift --profile kafka start --vm-driver=xhyve --memory=7000 --cpus=4 --disk-size=50g
on linux
This doc has been moved to A Google doc to allow easier commenting and collaboration.
I'm trying to deploy buildbot on kubernetes because:
I found https://docs.buildbot.net/current/tutorial/docker.html and specifically https://github.com/buildbot/buildbot-docker-example-config. It's a docker-compose config which I'm trying to map to a K8s setup.
On Minikube I got a few things working:
#!/bin/bash | |
set -e | |
# Go here to create or refresh an API key and API secret and paste them: | |
# https://profile.timeular.com/#/app/account | |
# Put this in your ~/.timeular.config | |
# API_KEY="..." | |
# API_SECRET="..." |
#!/usr/bin/env python | |
import fileinput | |
from re import sub | |
deletemode = False | |
codemode = False | |
asmmode = False | |
breakmode = False |