greenkeeperio / greenkeeper-lockfile

:lock: Your lockfile, up to date, all the time
https://greenkeeper.io
183 stars 73 forks source link

Add Drone.io support #141

Closed donny-dont closed 6 years ago

donny-dont commented 6 years ago

Adds support for Drone.io which has a hosted solution as well as a service implementation.

cc: @bradrydzewski who is the lead on Drone

donny-dont commented 6 years ago

@janl I wanted to give an update on status.

In my test Greenkeeper just gave me this update https://github.com/donny-dont/drone-greenkeeper-test/compare/master...donny-dont:greenkeeper%2Fsinon-5.0.3 and my Drone plugin went ahead and updated the lockfile and then uploadedthe lockfile.

Here's the definition of the build in the .drone.yml.

pipeline:
  greenkeeper_update_lockfile:
    image: plugins/greenkeeper
    pull: true
    update: true

  build:
    image: node:10-alpine
    pull: true
    commands:
      - npm i -g npm@latest
      - npm ci

  greenkeeper_lockfile_upload:
    image: plugins/greenkeeper
    upload: true
    secrets: 
      - source: gh_token
        target: gk_token

Anyways I think this is ready to go. Let me know if there's anything else you need me to do.

greenkeeperio-bot commented 6 years ago

:tada: This PR is included in version 1.15.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: