This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blorp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"i_am": "some_json", | |
"values": [ 1,2,3,4] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ range $index, $app := .Apps }} | |
listen {{ $app.EscapedId }}_{{ $app.ServicePort }} | |
bind *:{{ $app.ServicePort }} | |
mode http | |
{{ if $app.HealthCheckPath }} | |
option httpchk GET {{ $app.HealthCheckPath }} | |
{{ end }} | |
balance leastconn | |
capture request header X-Forwarded-For len 15 | |
{{ range $page, $task := .Tasks }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: frontends | |
roles: | |
- { role: bamboo, when: discovery == 'bamboo' } | |
- { role: mesos-dns, when: discovery == 'mesos-dns' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# Copyright 2014 Ray Rodriguez | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Although marathon nodes proxy to the master, that will only happen if they're alive to proxy :) | |
We've worked around this by using https://github.com/mmcgrana/zk to find the current marathon master from zookeeper and make the request to that. Something like: | |
export ZOOKEEPER_SERVERS=zk://....... | |
export MARATHON_ZNODE=/marathon | |
export LEADER=$MARATHON_ZNODE/leader | |
# find marathon master (each active master shows here, just grab the last) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# <%= @sysadmin_beware %> | |
# This configuration assumes the default installation prefix | |
# of /usr/share/graphite/ | |
<% #grab some variables | |
wsgifile = scope.lookupvar("graphite::settings::wsgipath") | |
-%> | |
<IfModule !wsgi_module.c> | |
LoadModule wsgi_module modules/mod_wsgi.so | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run marathon 0.5.1 against mesos 0.18.2 | |
# | |
# docker build -t 'your/marathon051' <directory-holding-this-file> | |
# | |
# then run with: | |
# docker run -name marathon -d your/marathon051 ..... command line args .... | |
# | |
# logs via : docker logs -f marathon | |
FROM centos |
NewerOlder