Commit graph

207 commits

Author SHA1 Message Date
Nurahmadie
8ce87f0d2c More tests for alter columns migration
Also change the way we handle columns rename migration.
SQLite restrict column addition not to have PRIMARY KEY and/or
UNIQUE attribute, so we have to change from:

add new column -> migrate data from old column to new column ->
rename old table -> create new table with old columns removed ->
migrate data from old table to the new table -> drop old table

to directly:
rename old table -> create new table with renamed columns ->
migrate data from old table to the new table -> drop old table
2014-02-16 00:56:17 +07:00
Nurahmadie
4465b2654d Fix migration step not checked against current version.
Add tests for DropColumns.
2014-02-15 22:17:22 +07:00
Nurahmadie
54a9544044 Integrate MigrationDriver to migrate.go 2014-02-15 20:16:54 +07:00
Nurahmadie
d2eed594ea Migration Driver for SQLite
Need more tests.
2014-02-15 19:29:53 +07:00
Vsevolod Strukchinsky
460ec90049 Fixup behavior on uninstalled state 2014-02-15 18:17:29 +06:00
Patrick Yevsukov
59801aefdb Fix Typo 2014-02-14 20:23:58 -05:00
Brad Rydzewski
26c9fb0cc3 fix for #70 to prevent caching build images 2014-02-14 13:24:12 -07:00
Brad Rydzewski
3e89767952 Merge pull request #72 from schvin/minor-typo
minor typo
2014-02-14 10:38:29 -08:00
Brad Rydzewski
46182694c6 Merge pull request #78 from yosssi/godoc
Added the GoDoc link to README.md.
2014-02-14 10:37:46 -08:00
Brad Rydzewski
1593b1ee8d Merge pull request #79 from yosssi/services
Updated README.md to show all services.
2014-02-14 10:36:50 -08: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
yosssi
54aa8a6df7 Added the GoDoc link to README.md. 2014-02-14 07:40:29 +00:00
Vsevolod Strukchinsky
0bd8ef28dd Fixup signup and settings template 2014-02-14 10:53:22 +06:00
Vsevolod Strukchinsky
6937b7b21e Open invitation setting
Closes #64
2014-02-14 10:53:22 +06:00
George Lewis
ea82f07d3f minor typo 2014-02-13 22:50:47 -05: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
Brad Rydzewski
9e7d196e30 Merge pull request #65 from floatdrop/fix-status-url
Fixup back url in commit status
2014-02-13 15:34:30 -08:00
Brad Rydzewski
ec0ef7720a Merge pull request #71 from afex/respect-docker-host-env
respect DOCKER_HOST
2014-02-13 15:29:50 -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
Brad Rydzewski
f88171d433 branch is using url param on all pages now, until we get wildcard routing 2014-02-13 15:43:40 -07:00
Brad Rydzewski
9c8cab706b fixed issue #66 2014-02-13 15:43:02 -07:00
Brad Rydzewski
39d80e953b Merge pull request #69 from whitlockjc/dockerfile
Add a Dockerfile for building Drone.io Docker containers.
2014-02-13 11:07:43 -08:00
Jeremy Whitlock
61332f5431 Add a Dockerfile for building Drone.io Docker containers. 2014-02-13 11:56:51 -07:00
yosssi
5895e364c1 Inject params into .drone.yml. 2014-02-13 15:30:27 +00:00
Vsevolod Strukchinsky
79ccd56960 Fixup back url in commit status 2014-02-13 14:36:40 +06:00
Brad Rydzewski
bb90a492cf Merge pull request #62 from yosssi/add-git-depth-option
Implemented a function for developers to specify the `--depth` option of the `git clone` command
2014-02-12 22:45:48 -08: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
901d48ee82 Merge remote-tracking branch 'origin/master' 2014-02-12 12:23:19 -07:00
Brad Rydzewski
28fda64326 workaround for #51 2014-02-12 12:22:56 -07:00
Brad Rydzewski
0a8ef525e9 fix for issue #51 2014-02-12 12:15:59 -07:00
Brad Rydzewski
0a686b6d1f Merge pull request #59 from yosssi/fix-readme
Added the `on_started`, `on_success`, `on_failure` properties on the notify.hipchat.
2014-02-12 11:04:33 -07:00
Brad Rydzewski
fae3bff2f9 Merge pull request #58 from tomByrer/patch-1
+ links
2014-02-12 11:02:42 -07:00
yosssi
ee7045bf78 Added the on_started, on_success, on_failure properties on the
notify.hipchat so that README readers can know that these properties are
available.
2014-02-12 23:04:29 +09:00
tomByrer
58ee4b80cc + links
Helps random newbies like me not have to search :)
2014-02-12 04:03:08 -07:00
Brad Rydzewski
60765d6b37 Merge pull request #57 from yosssi/fix-alert-layout-adding-user
Fixed the overflow of the url when adding an admin user or a team member.
2014-02-11 23:14:17 -08:00
yosssi
08fdbc8c56 Fixed the overflow of the url when adding an admin user or a team
member.
2014-02-12 10:48:37 +09:00
Brad Rydzewski
088c45941c partial fix to issue #50 and issue #37 to select token from database 2014-02-11 16:05:53 -07:00
Brad Rydzewski
cc95546a5b fixed output location for .deb file in .drone.yml 2014-02-11 15:48:16 -07:00
Brad Rydzewski
3a22094484 added code to ignore S3 builds when no access key or secret provided 2014-02-11 15:44:39 -07:00
Brad Rydzewski
3ac36b9e89 using bradrydzewski/go1.2 image. We need python & pip to push to S3 2014-02-11 15:38:22 -07: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
Brad Rydzewski
7f458fc93e Merge pull request #46 from dz0ny/patch-1
Add: get git submodules in one step
2014-02-11 13:26:00 -08:00
Brad Rydzewski
0c36b42f69 Merge pull request #52 from antonlindstrom/feature-deploy-git
Implement feature git deploy
2014-02-11 12:35:47 -07:00
Anton Lindström
827ec1735f add git deployment into deployment list
Adds Git to the deployment list in deployment.go to actually be used by drone.
2014-02-11 19:28:50 +00:00
Anton Lindström
4d71643214 implement git deploy method
This commit implements the git deploy method. This is basically a copy of the
Heroku deploy method except it uses a target instead of an app. The target can
be anything that git accepts as a url.

An example of deploy using git can be:

    deploy:
      git:
        target: git@example.com:myapp.git
2014-02-11 19:23:15 +00:00
Janez Troha
c4a040c933 Fix: remove mysterious r
:)
2014-02-11 20:18:19 +01:00
Brad Rydzewski
69ea5621fc Merge pull request #49 from scottferg/master
Even more Github status fixes
2014-02-11 11:21:23 -07:00
Scott Ferguson
c9f388d608 Merge branch 'master' of https://github.com/drone/drone 2014-02-11 08:51:22 -06:00
Scott Ferguson
326c5ce45e Alert Github when a build has started 2014-02-11 08:47:55 -06:00