Commit Graph

150 Commits

Author SHA1 Message Date
Alex Suraci
8946b1f294 simplify body file descriptoin 2016-08-08 10:54:51 -07:00
Alex Suraci
e6e3ad4189 Merge pull request #30 from shinji62/feature/create_body_file_in
Create body file
2016-08-08 10:54:25 -07:00
Adham Helal
cc5e9dc7f5 Support pre release 2016-08-01 14:23:39 +02:00
Etourneau Gwenn
37156df256 Create body file 2016-07-28 13:24:03 +09:00
Alex Suraci
7d10e39540 fix redundant file open/close 2016-07-24 08:49:22 -07:00
Alex Suraci
2f7e52d3cb re-open file on each attempt
otherwise it'll be partially upload if the connection was interrupted
2016-07-23 09:58:49 -07:00
Alex Suraci
084c3e2359 fix upload retry logic
[#126926555]
2016-07-23 09:39:01 -07:00
Alex Suraci
d93d0370bc vendor ginkgo cli 2016-07-09 18:34:12 -07:00
Alex Suraci
3a7443448e fix handling of redirect from asset download 2016-07-09 18:32:35 -07:00
Alex Suraci
12003714cf update ci script for vendor dir 2016-07-09 18:02:35 -07:00
Alex Suraci
4d0130b38d Merge pull request #29 from zachgersh/vendor-dir
Vendor dir
2016-07-08 10:20:06 -07:00
Zachary Gershman
dc2870080e Move to vendor dir 2016-06-21 08:09:19 -07:00
Zachary Gershman
cd28eb3859 Bumps go-github and fixes incompatibilities 2016-06-21 08:06:21 -07:00
Zachary Gershman
8704d73512 Remove the need for realpath 2016-06-21 08:00:20 -07:00
Evan Short
7c95978718 retry 10 times if upload release assets fails
[#121455813]

Signed-off-by: Yucheng Tu <ytu@pivotal.io>
2016-06-14 10:28:26 -07:00
Evan Short
b0114ca8b4 delete assets that failed to upload
[#121455813]

Signed-off-by: Yucheng Tu <ytu@pivotal.io>
2016-06-13 17:45:11 -07:00
Alex Suraci
de0080906a updates for new base image 2016-06-12 10:14:59 -07:00
Alex Suraci
aaa91d6cb2 switch to image_resource 2016-06-12 09:05:37 -07:00
Alex Suraci
128321dcd2 rename image 2016-06-12 09:05:27 -07:00
Maria Shaldibina
c7ac884d7e update README
[#117854649]

Signed-off-by: Jacob Frank <jfrank@pivotal.io>
2016-04-21 13:46:11 -07:00
Maria Shaldibina
049c03df34 include request version in check
[#117854649]

Signed-off-by: Jacob Frank <jfrank@pivotal.io>
2016-04-21 12:03:26 -07:00
Jacob Frank
be23c288a6 ignore .envrc
Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
2016-04-21 11:53:23 -07:00
Jacob Frank
0bdde35c32 Revert "use proxy from environment"
This reverts commit 64e36f5d40.

Signed-off-by: Evan Short <eshort@pivotal.io>
2016-04-12 17:09:49 -07:00
Evan Short
ce29819744 Revert "put back go-github call to avoid dealing w/ godeps"
This reverts commit fec3bdc7c2.

Signed-off-by: Jacob Frank <jfrank@pivotal.io>
2016-04-12 17:09:20 -07:00
Evan Short
fec3bdc7c2 put back go-github call to avoid dealing w/ godeps
Signed-off-by: Jacob Frank <jfrank@pivotal.io>
2016-04-12 15:44:15 -07:00
Jacob Frank
64e36f5d40 use proxy from environment
[#117482787]

Signed-off-by: Evan Short <eshort@pivotal.io>
2016-04-12 15:20:46 -07:00
Alex Suraci
9d1fe815f0 switch to concourse/busyboxplus:base 2016-03-01 14:52:47 -08:00
Chris Brown
94774a8f32 godepsssss 2016-02-12 12:31:57 -08:00
Chris Brown
638dbc214e do not send the github token to aws
[finishes #113566853]
2016-02-12 12:23:08 -08:00
Alex Suraci
1703fe6c05 create NOTICE.md 2016-02-10 16:08:38 -08:00
Evan Short
742ade538f unit-test rate limit behavior 2016-02-05 16:40:00 -08:00
Alex Suraci
91b8f79018 configure upload URL when github_api_url is set
[#99533974]

Signed-off-by: Corbin Halliwill <challiwill@pivotal.io>
2016-02-03 11:02:11 -08:00
Alex Suraci
da17fb3d2f use explicit output 2016-01-30 11:55:55 -08:00
Alex Suraci
48e6317de1 switch to golang.org/x/oauth2
fixes #22
2016-01-30 11:46:08 -08:00
Alex Suraci
27fe9d197f back to upstream go-github
fixes #17
2016-01-30 11:45:49 -08:00
Alex Suraci
edcd5c99e4 deps 2016-01-30 11:45:07 -08:00
Liz Dahlstrom
13faed5472 return errors in cases where there may be errors
[#109289522]

Signed-off-by: Toby Rumans <trumans@pivotallabs.com>
2015-12-02 17:41:11 -08:00
Alex Suraci
06ebfbe7e7 Merge pull request #19 from zachgersh/master
Include ability to add tag_prefix
2015-11-29 17:18:02 -08:00
Angela Chin
560637e9fd Include ability to add tag_prefix
Signed-off-by: Zachary Gershman <zgershman@pivotal.io>
2015-11-18 12:42:41 -08:00
Evan Short
8291efc7a7 Update godeps to include go-semi-semantic
[finishes #107756410]
2015-11-10 14:21:54 -08:00
Evan Short
8ec667151f Use semi-semantic versioning
- so we don't ignore tags like v223

[#107756410]
2015-11-10 14:06:52 -08:00
Alex Suraci
12aafdf3eb versionFromDraft -> versionFromRelease 2015-10-27 15:01:02 -07:00
Alex Suraci
df30f19ffa if current version goes away, return latest
[#106794594]
2015-10-27 15:00:16 -07:00
Alex Suraci
6c3c5e9cbd if no body specified, do not update it value
[#102280580]
2015-10-27 14:47:42 -07:00
Alex Suraci
d30a1d0197 convert existing release to/from draft 2015-10-27 14:47:12 -07:00
Alex Suraci
657cb152b4 update docs 2015-10-27 09:30:26 -07:00
Alex Suraci
e19842d3be source.drafts forces releases to be drafts
this makes all versions emitted and detected by the resource be
consistently drafts. a separate non-draft resource should be used for
publishing non-draft releases.
2015-10-27 09:26:09 -07:00
JT Archie
7331e0a7ad filter by drafts in the check step
The user now opts-in to getting final or draft releases. Default
behaviour is final releases.

NOTE: There is also strict filtering on only allowing semver supported tags.

Signed-off-by: David Jahn <david.a.jahn@gmail.com>
2015-10-23 10:11:15 -04:00
Evan Short
e3a3a53dba More tests for errors
[finishes #104040604]

Signed-off-by: Chris Sun <lsun@pivotal.io>
2015-10-21 15:04:44 -07:00
Chris Sun
95ab1bda22 Backfill tests for downloading source tarball/zip
[#104040604]

Signed-off-by: Evan Short <eshort@pivotal.io>
2015-10-21 14:04:26 -07:00