Skip to content

allow circle to build for remote branches #492

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

Merged
merged 6 commits into from
Feb 20, 2019

Conversation

yifeih
Copy link

@yifeih yifeih commented Feb 20, 2019

Testing whether circle CI starts...

@yifeih yifeih changed the title test circle fork allow circle to build for remote branches Feb 20, 2019
@yifeih
Copy link
Author

yifeih commented Feb 20, 2019

@mccheah @dansanduleac
Not sure why this one failed https://circleci.com/gh/palantir/spark/11108 (it failed to check out the commit hash) but it's been working ever since...? I also couldn't reproduce that error because a rerun of that build worked just fine.

I could keep pushing changes to trigger more builds if that helps?

@robert3005
Copy link

robert3005 commented Feb 20, 2019 via email

@yifeih
Copy link
Author

yifeih commented Feb 20, 2019

Do you mean "Build forked pull requests" on this page? https://circleci.com/gh/palantir/spark/edit#advanced-settings. That was already on before I started this PR

@robert3005
Copy link

robert3005 commented Feb 20, 2019 via email

@yifeih
Copy link
Author

yifeih commented Feb 20, 2019

Yea but it was consistently failing to fetch remote branches... i think it's because we overrode the circle checkout code. the regular code looks different. it doesn't have the branch environment variable (see "checkout" step here: https://circleci.com/gh/palantir/conjure-java-runtime/3543?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link)

@yifeih
Copy link
Author

yifeih commented Feb 20, 2019

But this seems to work now. Let me push a few more changes or start a new PR just to confirm

@yifeih
Copy link
Author

yifeih commented Feb 20, 2019

checkout seems to be working on new PRs, not sure what caused the previous flake: #494

Copy link

@mccheah mccheah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this is fine - @robert3005 would there be any reason not to introduce this anyway? Seems like it fixes some fork-based PRs.

@bulldozer-bot bulldozer-bot bot merged commit e0c176c into palantir:master Feb 20, 2019
yifeih added a commit that referenced this pull request Feb 20, 2019
@mccheah
Copy link

mccheah commented Feb 20, 2019

Think this is fine - @robert3005 would there be any reason not to introduce this anyway? Seems like it fixes some fork-based PRs.

Whoops, this broke the build so...

bulldozer-bot bot pushed a commit that referenced this pull request Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants