This file contains hidden or 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
{ | |
"id": "pulp-beat", | |
"desiredState": { | |
"manifest": { | |
"version": "v1beta1", | |
"id": "pulp-beat", | |
"containers": [{ | |
"name": "pulp-beat", | |
"image": "markllama/pulp-beat", | |
"env": [{ |
This file contains hidden or 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
#!/bin/sh | |
set -x | |
# | |
# Use the test_db_available.py script to poll for the DB server | |
# | |
wait_for_database() { | |
DB_TEST_TRIES=12 | |
DB_TEST_POLLRATE=5 |
This file contains hidden or 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
FROM markllama/pulp-base | |
MAINTAINER Mark Lamourine <[email protected]> | |
# | |
# Pulp Celerybeat service - coordinate activities | |
# | |
# Environment Variables: | |
# DB_SERVER_HOST: name or IP address of the MongoDB server | |
# DB_SERVER_PORT: TCP port for MongoDB (default: 27017) | |
# MSG_SERVER_HOST: name or IP address of the qpid server |
This file contains hidden or 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
(* PulpIni module for Augeas *) | |
(* Author: Mark Lamourine <[email protected]> *) | |
(* Stolen whole cloth from MySQL by Tim Stoop <[email protected]> *) | |
(* Heavily based on php.aug by Raphael Pinson *) | |
(* <[email protected]> *) | |
(* *) | |
module PulpIni = | |
autoload xfm |
This file contains hidden or 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
FROM fedora:20 | |
MAINTAINER Mark Lamourine <[email protected]> | |
# Pulp uses syslog. All derivative containers must mount /dev/log | |
ADD https://repos.fedorapeople.org/repos/pulp/pulp/fedora-pulp.repo \ | |
/etc/yum.repos.d/fedora-pulp.repo | |
RUN yum groupinstall -y pulp-server && \ | |
yum install -y python-qpid-qmf python-qpid python-pulp-rpm-common && \ |
This file contains hidden or 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
{ | |
"kind": "Service", | |
"apiversion": "v1beta1", | |
"id": "db", | |
"port": 27017, | |
"publicIPs": ["10.245.1.3"], | |
"selector": { | |
"name": "db" | |
}, | |
} |
This file contains hidden or 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
{ | |
"kind": "Pod", | |
"id": "pulpdb", | |
"uid": "4bac8381-8537-11e4-a18b-0800279696e1", | |
"creationTimestamp": "2014-12-16T15:22:06Z", | |
"selfLink": "/api/v1beta1/pods/pulpdb?namespace=default", | |
"resourceVersion": 22, | |
"apiVersion": "v1beta1", | |
"namespace": "default", | |
"labels": { |
This file contains hidden or 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
// Pod is a collection of containers, used as either input (create, update) or as output (list, get). | |
type Pod struct { | |
JSONBase `json:",inline" yaml:",inline"` | |
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` | |
DesiredState PodState `json:"desiredState,omitempty" yaml:"desiredState,omitempty"` | |
CurrentState PodState `json:"currentState,omitempty" yaml:"currentState,omitempty"` | |
} |
This file contains hidden or 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
{ | |
"id": "pulpdb", | |
"kind": "Pod", | |
"apiVersion": "v1beta1", | |
"labels": { | |
"name": "db" | |
}, | |
"desiredState": { | |
"manifest": { | |
"version": "v1beta1", |
This file contains hidden or 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
{ | |
"id": "pulpdb", | |
"kind": "Pod", | |
"apiVersion": "v1beta1", | |
"desiredState": { | |
"manifest": { | |
"version": "v1beta1", | |
"id": "pulp_db", | |
"containers": [{ | |
"name": "pulp-db", |