greenkeeperio / greenkeeper-lockfile

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

feat: circleci workflow support #143

Closed patkub closed 6 years ago

patkub commented 6 years ago

cc: @nevir who was looking into this

Greenkeeper PR: https://github.com/patkub/test-greenkeeper-lockfile-circleci-first-push/pull/9 CircleCI builds: https://circleci.com/gh/patkub/workflows/test-greenkeeper-lockfile-circleci-first-push/tree/greenkeeper%2Ftest-greenkeeper-lockfile-appveyor-package-1.0.55

patkub commented 6 years ago

greenkeeper-lockfile-upload will upload on the last job of the greenkeeper package update workflow, because the last commit on the branch is the lockfile update. It will try to upload again on the lockfile update workflow, because the last commit is still the lockfile update, but the lockfile is unchanged, so nothing gets uploaded. There is no environment variable for the commit the job was called on, so we have to rely on asking git.

Should I add my example workflow config to this repo, somewhere under docs, or just link to it?