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
lbtest |
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
joewilliams@github-lb3b-cp1-prd:~$ sudo su - | |
github-lb3b-cp1-prd.iad ~ # ./cibuild | |
================ running tests for github.com against 192.30.252.128 ================ | |
test: [github.com] http port ... OK |
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
/* | |
* | |
* async_nif: An async thread-pool layer for Erlang's NIF API | |
* | |
* Copyright (c) 2012 Basho Technologies, Inc. All Rights Reserved. | |
* Author: Gregory Burd <[email protected]> <[email protected]> | |
* | |
* This file is provided to you under the Apache License, | |
* Version 2.0 (the "License"); you may not use this file | |
* except in compliance with the License. You may obtain |
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
#!/bin/bash | |
declare -a args | |
while [ $# -gt 0 ] ; do | |
case "$1" in | |
-n) shift ;; | |
*) args=("${args[@]}" "$1") ; shift ;; | |
esac | |
done |
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
-module(genappup). | |
-export([run/1]). | |
run(OldReleaseDir) -> | |
%% Get the release name and version | |
{Name, _Ver} = get_release_name(filename:join(["rel", "reltool.config"])), | |
%% Get lists of the old and new app files |
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
%% @doc Dynamic hooks intended to be called from packaging systems. | |
%% Includes routines for starting, stopping, upgrading, and downgrading | |
%% applications. Automatically generates requisite .appup files (only if | |
%% they don't exist already). | |
%% @end | |
-module (erlrcdynamic). | |
-export ([ | |
make_appup/5 | |
]). |
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
{ | |
"id": "0123456789abcdef", | |
"name": "myname", | |
"provider": "puppet", | |
"role": "some_identifier_from_cm_system_can_be_nil?", | |
"timestamp": 1290616560, | |
"provisioned": "true", | |
"os": { | |
"name": "linux", | |
"version": "2.6.35-22-generic", |
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
cp -R path/to/old/release app_0.9 | |
cp -R path/to/new/release app_1.0 | |
cp app_1.0/releases/1.0/app.rel app_1.0.rel | |
LIBPATH="app_0.9/releases/*/ */lib/*/ebin" | |
erl +Bd -noinput -noshell -pa $LIBPATH -eval 'systools:make_relup("app_1.0", ["app"], ["app"])' -run init stop | |
erl +Bd -noinput -noshell -pa $LIBPATH -eval 'systools:make_script("app_1.0", [] )' -run init stop | |
erl +Bd -noinput -noshell -pa $LIBPATH -eval 'systools:make_tar("app_1.0")' -run init stop | |
tar zxvf app_1.0.tar.gz | |
cp app_1.0/releases/1.0/start_clean.boot releases/1.0/ | |
cd releases/1.0/ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<geocheck> | |
<status>not-valid</status> | |
</geocheck> | |
<proxycheck> | |
<status>false</status> | |
</proxycheck> |
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
/* | |
mostly stolen from: | |
http://github.com/bagder/curl/blob/master/docs/examples/http-post.c | |
to compile: | |
gcc -lcurl post.c -o post | |
*/ |
NewerOlder