Thomas Boerger 6467ff4f63 Merge pull request #6 from objectpartners/configure-wait-timeout
Allow to configure the maximum timeout to wait for auto-confirm.
2016-02-01 11:01:22 +01:00
2015-12-12 16:56:44 -08:00
2015-12-12 16:56:44 -08:00
2015-12-12 16:06:57 -08:00
2015-12-12 16:06:57 -08:00

drone-rancher

Build Status

Drone plugin for deploying to Rancher

Usage

./drone-rancher <<EOF
{
    "repo" : {
        "owner": "foo",
        "name": "bar",
        "full_name": "foo/bar"
    },
    "build" : {
        "number": 22,
        "status": "success",
        "started_at": 1421029603,
        "finished_at": 1421029813,
        "commit": "9f2849d5",
        "branch": "master",
        "message": "Update the Readme",
        "author": "johnsmith",
        "author_email": "john.smith@gmail.com"
    },
    "vargs": {
    }
}
EOF

Docker

Build the Docker container using make:

make deps build docker

Example

docker run -i plugins/drone-rancher <<EOF
{
    "repo" : {
        "owner": "foo",
        "name": "bar",
        "full_name": "foo/bar"
    },
    "build" : {
        "number": 22,
        "status": "success",
        "started_at": 1421029603,
        "finished_at": 1421029813,
        "commit": "9f2849d5",
        "branch": "master",
        "message": "Update the Readme",
        "author": "johnsmith",
        "author_email": "john.smith@gmail.com"
    },
    "vargs": {
    }
}
EOF
S
Description
No description provided
Readme 1.7 MiB
Languages
Go 94.8%
Dockerfile 5.2%