Skip to content

Instantly share code, notes, and snippets.

View rasputnik's full-sized avatar
💭
trying out graphiQL

rasputnik rasputnik

💭
trying out graphiQL
View GitHub Profile
steps:
- name: python:3.7-alpine
volumes:
- name: virtualenv
path: /testlibs
args: ['pip', 'install', '-t', '/testlibs', '-r', '/workspace/ci-requirements.txt']
- name: python:3.7-alpine
volumes:
- name: virtualenv
path: /testlibs
{
"i_am": "some_json",
"values": [ 1,2,3,4]
}
@rasputnik
rasputnik / woo
Created September 13, 2018 20:39
test
production:
adapter: mysql2
database: {{DB_NAME}}
host: {{DB_HOST}}
username: {{DB_USER}}
password: {{DB_PASS}}
pool: {{DB_POOL}}
@rasputnik
rasputnik / gist:8548388
Created January 21, 2014 21:06
overriding an existing resource with class inheritance
# modules/atlassian/manifests/gitfix.pp
class atlassian::gitfix inherits git::packages {
Package['git'] { ensure => absent }
}
@rasputnik
rasputnik / gist:8425116
Created January 14, 2014 20:30
postgresql 9.3 (transient) Dockerfile on centos6.
postgresql-9:$ cat Dockerfile
# postgresql 9 on centos 6.5
#
# docker build -t 'your/pg' <thisfile>
#
# then run with:
# docker run -P -d your/pg
# tweakables are the 'ENV' lines further down
# (if they were higher up they'd blow the cache)
@rasputnik
rasputnik / gist:8302058
Created January 7, 2014 16:35
redis dockerfile (sample)
# build image with:
#
# docker build -t 'your/redis' <directory holding this file>
#
# run with:
# docker run -P -name redis1 -d your/redis
FROM base
MAINTAINER Dick Davies <dick@hellooperator.net>
@rasputnik
rasputnik / gist:8275293
Last active January 2, 2016 08:19
dockerfile to run riemann on openjdk7 , centos6.5
# build up an openjdk stack on centos 6 to run riemann rpm
#
# docker build -t 'your/riemann' <thisfile>
#
# then run with:
# docker run -P -d your/riemann
FROM saltstack/centos-6-minimal
MAINTAINER Dick Davies <dick@hellooperator.net>
@rasputnik
rasputnik / gist:8257020
Last active January 2, 2016 05:29
Dirt simple riemann config to listen on all interfaces (so docker can map ports in).
(let [host "0.0.0.0"]
(tcp-server :host host)
(udp-server :host host)
(ws-server :host host))