Commit graph

49 commits

Author SHA1 Message Date
Brad Rydzewski
16997c3d1e unit test to cover image pull failing 2014-03-24 13:36:23 -07:00
Brad Rydzewski
be6f2171fb updated exiting unit tests. placeholders for new ones 2014-03-23 23:42:33 -07:00
Brad Rydzewski
d498f18881 ability to specify your own service images. unit tests not yet passing 2014-03-23 23:26:50 -07:00
Brad Rydzewski
1c5aebe9fb added code for parsing Docker image names and returning owner, name and tag 2014-03-23 23:15:36 -07:00
Brad Rydzewski
11251f1909 added tests for when creating / starting build container fails 2014-03-18 23:30:50 -07:00
Brad Rydzewski
d7096f7e66 added code for privileged mode with unit tests 2014-03-18 23:21:04 -07:00
Brad Rydzewski
f363ce804b improved coverage of Builder.teardown function in pkg/build 2014-03-17 16:40:15 -07:00
Brad Rydzewski
854d3443d7 Merge branch 'example-fixture' 2014-03-17 12:06:48 -07:00
Brad Rydzewski
96c256b17d added some comments to describe the different test cases 2014-03-17 12:04:48 -07:00
Brad Rydzewski
6f8bbf1d04 adding mocks for Builder.setup() 2014-03-14 11:52:24 -07:00
Brad Rydzewski
3d4e3168b7 ran gofmt 2014-03-13 18:49:49 -07:00
Brad Rydzewski
1a153b8e80 test coverage for dockerfile package 2014-03-13 17:07:33 -07:00
Brad Rydzewski
62ec8634f6 added code for testing buildfiles 2014-03-13 16:50:01 -07:00
Michael Elsdörfer
4130c013f1 Remove erroneous keystrokes. 2014-03-09 03:38:27 +01:00
Michael Elsdörfer
f437b490b5 Support DOCKER_HOST w/o protocol 2014-03-09 03:32:21 +01:00
Benjamin Manns
4cd5e69e7b Remove unreachable return. 2014-03-06 10:50:48 -08:00
Benjamin Manns
baf468973f Format go code. 2014-03-06 10:45:21 -08:00
Eric Richardson
74f5a41a05 Add ability to specify temp directory via DRONE_TMP environment variable
* If not set, defaults to the previously-used `/tmp/drone`
* This is the directory used for storing cached volumes, so in some deployment
  scenarios the admin may wish to place it somewhere more resilient than /tmp.
2014-03-05 17:10:29 -05:00
Brad
4333d62c37 added yml config for custom /etc/hosts entries 2014-03-04 11:08:13 -08:00
Brad
f5d142a4b5 moved environment variables from Dockerfile to build script 2014-03-04 11:07:41 -08:00
Brad
c1b9353943 added code to persist directories between builds. see issue #147 2014-03-02 22:54:09 -08:00
Brad
18d5421706 a bit of prep-work for adding caching 2014-03-02 22:35:01 -08:00
Brad
600bcdea38 added section to yaml for custom hostnames 2014-03-02 18:55:28 -08:00
Nurahmadie
fe3bb97231 Fix pull-request checkout not working for Git >=1.8
Explicitly create pr branch from origin
2014-03-02 20:03:05 +07:00
Brad Rydzewski
404f7784bc Merge pull request #133 from zond/master
DRONE_BRANCH and DRONE_PR env variables
2014-02-26 13:50:44 -08:00
Brad Rydzewski
deba709d87 added exit code to builds 2014-02-26 14:24:48 -07:00
Martin Bruse
90681986fe More discriminate env setting 2014-02-26 14:18:09 +01:00
Martin Bruse
7bb3358b63 Added more Environment variables. 2014-02-26 13:43:31 +01:00
Alex Suraci
9e1c4e60e5 remove docker/queue singletons; inject in main 2014-02-25 17:10:04 -08:00
Alex Suraci
acc51e83fd inject docker client into Builder
Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
2014-02-24 17:02:57 -08:00
Alex Suraci
fc01782554 add constructor for Builder
this makes it easier to track required dependencies as they change

(todo: actually, like, use it for required dependencies)
2014-02-24 16:45:01 -08:00
Brad Rydzewski
bbb4bf48e0 Merge remote-tracking branch 'origin/master' 2014-02-17 22:42:01 -07:00
Brad Rydzewski
0e83e76ef4 removed unused migration sample file 2014-02-17 22:41:56 -07:00
Vsevolod Strukchinsky
b113b2ac33 Make IsGit check less strict 2014-02-16 11:45:15 +06:00
yosssi
bc5c508bc2 Updated README.md to show all services.
Update pkg/build/images.go to use the latest version of CouchDB if
`couchdb` was set to `services`.
2014-02-14 09:37:43 +00:00
Brad Rydzewski
aac473d689 Merge pull request #68 from yosssi/params-injection
Inject params into .drone.yml.
2014-02-13 18:50:15 -08:00
Keith Thornhill
cfa9082761 enable use of docker-standard DOCKER_HOST environment variable to allow drone to run builds on remote docker hosts. 2014-02-13 15:20:43 -08:00
yosssi
5895e364c1 Inject params into .drone.yml. 2014-02-13 15:30:27 +00:00
yosssi
074de9d3b3 Implemented a function for developers to specify the --depth option of
the `git clone` command. refs #55
2014-02-13 02:22:43 +00:00
Brad Rydzewski
443bf9d636 Merge remote-tracking branch 'origin/master' 2014-02-11 15:23:48 -07:00
Brad Rydzewski
a26b9c1658 removed duplicate /deploy /notify /publish directories in /pkg/build/script 2014-02-11 15:17:35 -07:00
Janez Troha
c4a040c933 Fix: remove mysterious r
:)
2014-02-11 20:18:19 +01:00
Janez Troha
f90c099e68 Add: get git submodules in one step
--recursive
--recurse-submodules
After the clone is created, initialize all submodules within, using their default settings. This is equivalent to running git submodule update --init --recursive immediately after the clone is finished. This option is ignored if the cloned repository does not have a worktree/checkout (i.e. if any of --no-checkout/-n, --bare, or --mirror is given)

from http://git-scm.com/docs/git-clone
2014-02-11 10:52:39 +01:00
Damian Gryski
4e9c822ce8 Two small issues found by 'go vet' 2014-02-10 12:49:12 +01:00
Brad Rydzewski
476835903f setting ACL correctly in S3 code 2014-02-10 03:02:10 -07:00
Brad Rydzewski
78839ece3b for now,let's print the docker build output to the console for debugging 2014-02-09 12:46:24 -07:00
Brad Rydzewski
abdcd60dac hooked up websockets to stream output 2014-02-07 04:09:46 -07:00
Brad Rydzewski
160a7a29ad fixed log output and new line issue 2014-02-07 03:35:27 -07:00
Brad Rydzewski
d5e5797934 initial public commit 2014-02-07 03:10:01 -07:00