Skip to content
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

Fix CI for external contributors: rosetta docker build failure #6758

Merged
merged 4 commits into from
Nov 20, 2020

Conversation

mrmr1993
Copy link
Member

This PR modifies the CI step to pass the requesting repo for pull requests, so that the clone operation points at the correct repo.

When the run is not a pull request -- for example, hourly develop builds -- the BUILDKITE_PULL_REQUEST_REPO environment variable will be set to the empty string. Omitting the new MINA_REPO argument or passing the empty string will fall back to the main repo.

Checklist:

  • Document code purpose, how to use it
    • Mention expected invariants, implicit constraints
  • Tests were added for the new behavior
    • Document test purpose, significance of failures
    • Test names should reflect their purpose
  • All tests pass (CI will check this if you didn't)
  • Serialized types are in stable-versioned modules
  • Does this close issues? List them:

This ensures that pull requests from external contributors -- where the
pull request repo is not the mina main repo -- will still be able to
build the rosetta docker image, by directing the clone at their repo
instead
This should only be an issue on older versions of docker, but better
safe than sorry.
@mrmr1993 mrmr1993 requested a review from a team as a code owner November 19, 2020 01:35
@mrmr1993 mrmr1993 added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Nov 19, 2020
@mergify mergify bot merged commit b1481d1 into develop Nov 20, 2020
@mergify mergify bot deleted the feature/fix-ci-external-rosetta branch November 20, 2020 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch ready-to-merge-into-develop
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants