Commit graph

95 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
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
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
Brad Rydzewski
8102265475 Merge pull request #40 from scottferg/team_invites
Fix team invites
2014-02-10 15:39:10 -07:00
Brad Rydzewski
2a8f3fc055 Merge pull request #39 from scottferg/master
Read the actual commit status when updating Github
2014-02-10 15:38:06 -07:00
Brad Rydzewski
c0251de71f Merge pull request #36 from slaskis/patch-1
s/Region/Access/
2014-02-10 15:36:55 -07:00
Brad Rydzewski
f8eccc43af Merge pull request #38 from fudanchii/html-fix
Typo on report title.
2014-02-10 15:35:42 -07:00
Brad Rydzewski
678e4ddea7 Merge pull request #35 from dgryski/go-vet-fixes
Two small issues found by 'go vet'
2014-02-10 15:35:20 -07:00
Scott Ferguson
1283b2b6f2 Fix team invites 2014-02-10 15:22:32 -06:00
Scott Ferguson
e36eacb0fe Fix team invites 2014-02-10 15:21:04 -06:00
Scott Ferguson
6c2b64dd55 Read the actual commit status when updating Github 2014-02-10 14:08:33 -06:00
Nurahmadie
8773f077e8 Typo on report title. 2014-02-10 15:21:22 +00:00
Robert Sköld
7c4299778f s/Region/Access/ 2014-02-10 12:53:55 +01:00