Commit graph

467 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
1e97032333 Merge pull request #212 from andrewsmedina/patch-1
Update README.md
2014-03-23 22:30:04 -07:00
Michael Nutt
138beeeb45 also fail pending builds on startup 2014-03-24 00:21:33 -04:00
Michael Nutt
635b73a811 mark all previously started builds as failed on startup 2014-03-24 00:11:13 -04:00
Andrews Medina
5eca0008b0 Update README.md 2014-03-23 22:27:50 -03:00
Brad Rydzewski
fb49a2c6e9 Merge pull request #205 from kirs/development-manual
Instructions for local development
2014-03-23 15:49:05 -07:00
Brad Rydzewski
c7a9e152e2 Merge pull request #209 from Clever/configure-num-workers
set num of workers using command line params
2014-03-23 15:48:42 -07:00
Brad Rydzewski
ff5b5bb5ae Merge pull request #211 from andrewsmedina/tsuru
initial tsuru deploy support
2014-03-23 15:17:37 -07:00
Brad Rydzewski
cb5e133713 Merge pull request #207 from sherzberg/vagrant-docker-install
install docker 0.9.0 in the vagrant box by default
2014-03-23 13:06:56 -07:00
Andrews Medina
6ccc1729fb implemented tsuru deploy plugin. 2014-03-22 23:22:01 -03:00
Mohit Gupta
2b90f0a180 set num of workers using command line params 2014-03-21 11:22:05 -07:00
Spencer Herzberg
3264ef50a9 install docker 0.9.0 in the vagrant box by default 2014-03-20 16:30:26 -05:00
Kir Shatrov
9ecb97704a Instructions for local development 2014-03-20 17:38:49 +04:00
Brad Rydzewski
3b3da0424e added nodejitsu to readme 2014-03-20 00:37:40 -07:00
Brad Rydzewski
092348f8f2 removed unused fmt package 2014-03-20 00:33:45 -07:00
Brad Rydzewski
83424d327e Merge pull request #204 from indexzero/add-jitsu-deploy
First pass at "jitsu deploy"
2014-03-20 00:32:43 -07:00
indexzero
33be72b45d [api] First pass at "jitsu deploy". Thanks @fiveisprime! 2014-03-20 01:35:14 -04:00
Brad Rydzewski
b1cbc21b2c Merge pull request #131 from vito/privileged-builds
Privileged builds support
2014-03-19 13:21:14 -07:00
Alex Suraci
fc3715e50b add --privileged to drone build command
Signed-off-by: Alex Suraci <asuraci@pivotallabs.com>
2014-03-19 13:09:15 -07:00
Alex Suraci
e0c9617dc7 add admin checkbox for setting a repo privileged 2014-03-19 10:53:52 -07:00
Brad Rydzewski
cccf0fb610 Merge remote-tracking branch 'origin/master' 2014-03-18 23:34:12 -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
f3530d76b2 Merge pull request #191 from fudanchii/deployment
Fix `artifact` env-var being replaced if only one entry is listed.
2014-03-18 22:46:29 -07:00
Nurahmadie
1dbef76780 Fix ARTIFACT env-var being replaced if only one entry is listed.
Also, use WriteEnv.
2014-03-19 09:02:35 +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
954024673d Update README.md
fixed issue w/ godoc badge pointing to .svg instead of .png
2014-03-17 10:13:25 -07:00
Brad Rydzewski
7d52a4c4df Revert "query and show commits by branch"
This reverts commit 2d837cc3db.
2014-03-16 23:08:53 -07:00
Brad Rydzewski
5c848d647a Merge pull request #179 from arturhoo/feature/svg-badges
Use SVG badges instead of PNG
2014-03-16 22:33:53 -07:00
Brad Rydzewski
053ff21b7e Merge pull request #186 from vito/branch-commits
query and show commits by branch
2014-03-16 19:48:17 -07:00
Nurahmadie
7eb06fc0d5 Use NullString instead of checking for error. 2014-03-16 12:26:45 +07:00
Nurahmadie
44ffb70813 Use variadic parameters for DropColumns.
Also add some comments.
2014-03-16 12:26:18 +07:00
Nurahmadie
571f7d02b0 Fix some column type to work with both mysql and sqlite.
Basically this is caused by sqlite actually doesn't have any
column type restriction. also save gob type column as blob to enforce
byte-string value, since varchar with utf8 collation type will take at
least 3 byte to store, this will break YAML-Gob decoding at `params`
column.

Also fix some typo, and clean up fixtures code.
2014-03-15 18:20:11 +07:00
Alex Suraci
2d837cc3db query and show commits by branch
This allows the same SHA to have different builds on different branches, each
separately viewable. This is useful for expressing a "pipeline" in terms of
branches, e.g. a commit starts on branch A and progress through B and C to
master, with the build script switching on branch name.

Previously viewing each build would arbitrarily choose which branch's commit
to show.
2014-03-14 12:13:34 -07:00
Brad Rydzewski
6f8bbf1d04 adding mocks for Builder.setup() 2014-03-14 11:52:24 -07:00
Nurahmadie
2540a5fb3e Add docs to README on how to use mysql 2014-03-14 09:40:11 +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
Brad Rydzewski
17318d5623 updated .gitignore to exclude coverage reports 2014-03-13 16:49:47 -07:00
Nurahmadie
7cf4f2eb89 Preliminary MySQL support. Barely tested.
Requirements:
MySQL/MariaDB need to be configured with this settings:

  innodb_file_format = Barracuda
  innodb_file_per_table = On
  innodb_large_prefix = On

to support key prefix length up to 3042 bytes.

MySQL/MariaDB DSN will need this parameter:

  parseTime=true

as per [1]

The migration system itself mostly inspired by Rails (ActiveRecord),
but it still rough at the edges. Could use some inputs.

Next Todo: more testing!

[1]  https://github.com/go-sql-driver/mysql#parsetime
2014-03-14 02:28:10 +07:00
Nurahmadie
5903eb8f04 Add wrapper for common column types for easier column type
transformation between databases.
2014-03-13 18:53:52 +07:00
Artur Rodrigues
2561d3a6db Merge branch 'master' into feature/svg-badges 2014-03-12 14:48:13 -03:00
Artur Rodrigues
e97d1f630d List myself in AUTHORS 2014-03-12 14:47:16 -03:00
Brad Rydzewski
2241b5bb81 Merge pull request #182 from vito/git-deploy-use-branch
git deploy pushes to given branch (default master)
2014-03-12 10:36:49 -07:00