-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Add "merge to master" step before build in CircleCI #11443
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
Conversation
.circleci/config.yml
Outdated
| git fetch --tags --progress https://github.com/pytorch/pytorch.git +refs/heads/*:refs/remotes/origin/* --depth=50 --quiet | ||
| git config remote.origin.url https://github.com/pytorch/pytorch.git | ||
| git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* | ||
| git fetch --tags --progress https://github.com/pytorch/pytorch.git +refs/heads/*:refs/remotes/origin/* +refs/pull/*:refs/remotes/origin/pr/* --depth=50 --quiet |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
| export AWS_ACCESS_KEY_ID=AKIAJJZUW4G2ASX5W7KA | ||
| export AWS_SECRET_ACCESS_KEY=${CIRCLECI_AWS_SECRET_KEY_FOR_SCCACHE_S3_BUCKET} | ||
| git submodule update --init || git submodule update --init || git submodule update --init | ||
| git submodule sync && git submodule update --init |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
facebook-github-bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yf225 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This PR adds the "merge to master" step before the build step in CircleCI, so that all PR commits are built against master instead of against the PR's branch. Note that all PRs still need to rebase to master to pick up this new config, so it won't apply to old PR branches retroactively.
To check in CI: make sure it's performing the git merge to master appropriately in "Merge Onto Master" step.