Commit graph

196 commits

Author SHA1 Message Date
Kir Shatrov
5567bb679f Reworked implementation with test coverage 2014-03-25 19:08:05 +04:00
Kir Shatrov
9bd7706ca3 Deployment with Bash command
Using this piece of YAML:
```
deploy:
	bash:
		command: 'bundle exec cap production deploy'
```

Will run Capistrano and deploy your app to production.
You can use any other deployment tool instead of Capistrano.
2014-03-25 19:08:05 +04:00
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
Andrews Medina
6ccc1729fb implemented tsuru deploy plugin. 2014-03-22 23:22:01 -03:00
Brad Rydzewski
092348f8f2 removed unused fmt package 2014-03-20 00:33:45 -07:00
indexzero
33be72b45d [api] First pass at "jitsu deploy". Thanks @fiveisprime! 2014-03-20 01:35:14 -04: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
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
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
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
Artur Rodrigues
2561d3a6db Merge branch 'master' into feature/svg-badges 2014-03-12 14:48:13 -03:00
Alex Suraci
5ce081ba72 git deploy pushes to given branch (default master)
Signed-off-by: David Varvel <dvarvel@pivotallabs.com>
2014-03-12 10:25:35 -07:00
Brad Rydzewski
d70a6bb5f7 adding github testing 2014-03-11 23:00:06 -07:00
Artur Rodrigues
3546a2a00d Use SVG icons in badges template 2014-03-11 16:01:42 -03:00
Artur Rodrigues
88cc8d6bdf Use SVG badges instead of PNG 2014-03-11 15:55:23 -03: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
Brad Rydzewski
2e528dea24 added unit tests for settings validation 2014-03-07 13:21:43 -07:00
Brad Rydzewski
1348f8f5fc added validations for settings screen 2014-03-07 12:10:40 -07: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
Kir Shatrov
5bf726d4d4 Autofocus on email field in login 2014-03-06 16:35:57 +04:00
Brad Rydzewski
686f755c5d Merge pull request #164 from ewr/SpecifyTmpDirViaEnv
Add ability to specify temp directory via DRONE_TMP environment variable
2014-03-05 14:42:59 -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
Vsevolod Strukchinsky
0c9dafc5c9 Remove unnecessary appending identicon in template 2014-03-05 16:25:27 +06:00
Vsevolod Strukchinsky
fae4adaffc Add identicon query param to GravatarPattern 2014-03-05 16:19:44 +06: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
cecef21d4f fixed merge issue with template.go and duplicate fmt import 2014-03-04 10:50:53 -08:00
Brad Rydzewski
791f7b0652 Merge pull request #153 from movableink/js-in-external-files
JS in external files
2014-03-04 10:27:40 -08:00
Red Daly
dbbbe325c3 Improve error messages in template parsing init(). 2014-03-04 04:47:47 -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