-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Only running on first push of a new branch" error on new greenkeeper branch #50
Comments
It looks like this won't work CircleCI's new feature of workflows since the current check is to detect if |
Still getting the same error after moving the greenkeeper updater to the first job in the workflow. |
@patkub is this still the case and can you point to a current build that shows the behaviour? Thanks! |
@janl yes this is still the case. I just updated my
The CircleCI config: https://github.com/patkub/rmc1891-site/blob/master/.circleci/config.yml |
@patkub It looks like when you have a workflow that runs the builds in parallel, you run into a race condition issue where whatever build starts first gets |
@ethanrubio Thank you for explaining the race condition issue. I got this to work by making Edit: fixed link |
Thanks @ethanrubio & @patkub, we merged the README addition already. |
The upload will fail with a `Only running on first push of new branch` error if `CIRCLE_PREVIOUS_BUILD_NUM` is defined. That variable is defined for every subsequent job. We need to run the lockfile update in the first job. Luckily we have a job that runs at the start and everything depends on it. See greenkeeperio/greenkeeper-lockfile#50
The upload will fail with a `Only running on first push of new branch` error if `CIRCLE_PREVIOUS_BUILD_NUM` is defined. That variable is defined for every subsequent job. We need to run the lockfile update in the first job. Luckily we have a job that runs at the start and everything depends on it. See greenkeeperio/greenkeeper-lockfile#50
chore: try fixing greenkeepler lockfile script chore: use github:jasonLaster/greenkeeper-lockfile refs: greenkeeperio/greenkeeper-lockfile#58 chore(circleci): fix npm install command chore(circleci): avoid installing tool globally fix(greenkeeper): greenekeeper lockfile workaround refs: greenkeeperio/greenkeeper-lockfile#50
chore: try fixing greenkeepler lockfile script chore: use github:jasonLaster/greenkeeper-lockfile refs: greenkeeperio/greenkeeper-lockfile#58 chore(circleci): fix npm install command chore(circleci): avoid installing tool globally fix(greenkeeper): greenekeeper lockfile workaround refs: greenkeeperio/greenkeeper-lockfile#50
chore: try fixing greenkeepler lockfile script chore: use github:jasonLaster/greenkeeper-lockfile refs: greenkeeperio/greenkeeper-lockfile#58 chore(circleci): fix npm install command chore(circleci): avoid installing tool globally fix(greenkeeper): greenekeeper lockfile workaround refs: greenkeeperio/greenkeeper-lockfile#50
chore: try fixing greenkeepler lockfile script chore: use github:jasonLaster/greenkeeper-lockfile refs: greenkeeperio/greenkeeper-lockfile#58 chore(circleci): fix npm install command chore(circleci): avoid installing tool globally fix(greenkeeper): greenekeeper lockfile workaround refs: greenkeeperio/greenkeeper-lockfile#50
chore: try fixing greenkeepler lockfile script chore: use github:jasonLaster/greenkeeper-lockfile refs: greenkeeperio/greenkeeper-lockfile#58 chore(circleci): fix npm install command chore(circleci): avoid installing tool globally fix(greenkeeper): greenekeeper lockfile workaround refs: greenkeeperio/greenkeeper-lockfile#50
I am getting this error for new branches created by greenkeeper. I run greenkeeper-lockfile in CircleCI.
Branch: https://github.com/patkub/rmc1891-site/tree/greenkeeper/bs4-polymer-0.1.12
CircleCI: https://circleci.com/gh/patkub/rmc1891-site/736
Looks like issue #26 still occurs.
The text was updated successfully, but these errors were encountered: