Commit graph

2513 commits

Author SHA1 Message Date
Brendan Gaulin
5b58768d63 OAuth2 GHE Always Register BustedURL
When going through the oauth2 module in go, there is a list of "busted" URLs which don't implement OAuth2 properly.

Github is on that list, however Github Enterprise(GHE) uses different URLs for each instance. Instead of adding all of these to the global list in the oauth module, we can simply flag all of our tokens as broken until github updates their API.
2016-08-25 18:27:17 -04:00
Brad Rydzewski
e932bc8871 Merge pull request #1772 from benschumacher/bugfix/command
Correct escaping of commands in YAML
2016-08-25 12:11:59 -07:00
Ben Schumacher
e482ef2790 Correct escaping of commands in YAML 2016-08-25 13:02:23 -06:00
Brad Rydzewski
fec06207dd Merge pull request #1761 from josmo/bbserver-status-update
Status update for Bitbucket server
2016-08-21 01:01:53 -07:00
Brad Rydzewski
993694e280 Merge pull request #1770 from vaijab/fix_val_encode
Fix URI encoding
2016-08-19 10:32:49 -07:00
Vaidas Jablonskis
3539988604 Fix URI encoding
fmt.Sprintf was interpreting URL encoding chars previously. Ouch.
2016-08-19 18:27:08 +01:00
Brad Rydzewski
a81a13d73d Merge pull request #1764 from tboerger/feature/org-fixes
Correct arg length checks
2016-08-16 00:05:04 -07:00
Thomas Boerger
a4076e00ff
Correct arg length checks 2016-08-15 00:02:11 +02:00
Joachim Hill-Grannec
95b3a78aa9 Update to add the name which has a better indication for the label of what build the status is for 2016-08-14 12:27:53 -07:00
Joachim Hill-Grannec
5c7a66534d Adding the ability for the bitbucket server remote to update the status of commits on the server 2016-08-13 19:06:15 -07:00
Brad Rydzewski
fe750c751a Merge pull request #1757 from appleboy/patch-4
Testing author label length limitation for Bitbucket server. [CI SKIP]
2016-08-13 09:35:39 -07:00
Bo-Yi Wu
83056ab8b3 Testing author label length limitation.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-13 14:07:45 +08:00
Brad Rydzewski
e82ddd0022 Merge pull request #1755 from josmo/length-temp-fix
Quick fix for build author length on Stash remote
2016-08-12 17:23:55 -07:00
Brad Rydzewski
a8e2dfd025 Merge pull request #1756 from josmo/clean-trailing-slash
Remove the trailing / from DRONE_SERVER env in agent when it's there
2016-08-12 17:22:00 -07:00
Joachim Hill-Grannec
c884a9f210 Seems like folks keep adding a trailing / to the DRONE_SERVER env. This should remove it if it exists and not worry if it doesn't 2016-08-12 17:04:42 -07:00
Joachim Hill-Grannec
ea6ceb43e1 Merge branch 'bbserver-test' into length-temp-fix 2016-08-12 15:58:14 -07:00
Joachim Hill-Grannec
0c0a7a897b Starting to add tests for bitbucket server
Removed a duplicate assert for bitbucket
2016-08-12 15:54:36 -07:00
Joachim Hill-Grannec
96ff3cd05a Makes more sense for the author value to only have the name since other plugins may use this value. 2016-08-12 14:20:26 -07:00
Joachim Hill-Grannec
02630aedbe Trimming build author length to 40 for default
Removed no longer needed comment
2016-08-12 13:14:58 -07:00
Brad Rydzewski
e0b7b31a5d Merge pull request #1690 from josmo/bbserver-cleanup
Cleanup for the Stash remote implementation
2016-08-11 17:50:13 -07:00
Brad Rydzewski
9974d3bbea Merge pull request #1753 from devth/master
Add support for `drone build start foo/bar last`
2016-08-11 16:18:16 -07:00
Trevor Hartman
358243ed07 Add support for "drone build start foo/bar last"
This starts the build on the default branch
2016-08-11 17:04:25 -06:00
Joachim Hill-Grannec
bc1cbcca74 Merge branch 'master' into bbserver-cleanup 2016-08-11 13:49:17 -07:00
Joachim Hill-Grannec
529a9eba49 Merge branch 'master' into bbserver-cleanup
updated to also include build config updates

# Conflicts:
#	remote/bitbucketserver/bitbucketserver.go
2016-08-11 13:35:47 -07:00
Brad Rydzewski
e28d85292a Merge pull request #1751 from vaijab/bp
Fix a typo in reserved build params
2016-08-11 12:02:46 -07:00
Vaidas Jablonskis
5e78e471ee Fix a typo in reserved build params 2016-08-11 21:57:38 +03:00
Brad Rydzewski
a173454378 Merge pull request #1744 from appleboy/patch-1
remove missing target in Makefile.
2016-08-11 10:18:09 -07:00
Brad Rydzewski
abaa02efa2 Merge pull request #1737 from tboerger/feature/org-secrets
Organization/Team secrets
2016-08-09 20:01:37 -07:00
Bo-Yi Wu
46dac1b9fc remove missing target in Makefile. 2016-08-07 00:02:19 +08:00
Joachim Hill-Grannec
bb1d2918f7 Merge branch 'master' into bbserver-cleanup 2016-08-02 18:56:18 -07:00
Thomas Boerger
31cead0eb4
Copied MustAdmin into MustTeamAdmin for now 2016-08-01 23:58:13 +02:00
Thomas Boerger
4d43195479
Moved merged secret list into store 2016-08-01 23:03:31 +02:00
Brad Rydzewski
e2a80e7083 Merge pull request #1738 from johnwchadwick/bugfix/github-opts
Expose GitHub machine user options.
2016-08-01 12:52:11 -07:00
John Chadwick
f2b418e9dd Expose GitHub machine user options. 2016-08-01 13:54:47 -04:00
Thomas Boerger
298dcd5a50
Integrated real API implementation for org secrets 2016-07-31 23:25:10 +02:00
Thomas Boerger
889b88d38f
Integrated store layer for org secrets 2016-07-31 23:25:10 +02:00
Thomas Boerger
0e424a2527
Separated repo and team secret models 2016-07-31 23:25:10 +02:00
Thomas Boerger
9aac9e5bf7
Integrated team secrets dummy API 2016-07-31 23:25:10 +02:00
Thomas Boerger
1b84375db5
Added migrations for team_secrets 2016-07-31 23:25:10 +02:00
Thomas Boerger
225d1c8288
Integrated org secret commands 2016-07-31 23:25:10 +02:00
Thomas Boerger
86e4e53e77
Integrated org secrets into client 2016-07-31 23:25:10 +02:00
Thomas Boerger
606ca93881
Properly formatted bitbucketserver 2016-07-31 23:25:10 +02:00
Brad Rydzewski
c91623c2e6 Merge pull request #1736 from frapposelli/expose-job-number
Expose job properties in environment
2016-07-30 08:35:06 -07:00
Fabio Rapposelli
fc74ec7f36
Expose job properties in environment 2016-07-29 08:52:30 +02:00
Joachim Hill-Grannec
3aefe9b9ce Merge branch 'master' into bbserver-cleanup 2016-07-28 14:03:55 -07:00
Brad Rydzewski
d5c8ab248b Merge pull request #1735 from vaijab/restart-params
Add custom build parameters to build re-start / deploy
2016-07-27 17:18:01 -07:00
Vaidas Jablonskis
7170cd6758 Add custom build parameters support to build re-start and deploy 2016-07-27 22:33:14 +01:00
Brad Rydzewski
17597f8366 Merge pull request #1725 from frapposelli/drone-exec-matrix
Run Matrix by default when running `drone exec`
2016-07-27 10:24:47 -07:00
Brad Rydzewski
7d13aa0364 Merge pull request #1732 from bradrydzewski/master
display error when commands for plugin
2016-07-27 10:24:14 -07:00
Fabio Rapposelli
46dba4377c
Run matrix as default when running docker exec 2016-07-27 17:51:45 +02:00