Skip to content

Conversation

@yf225
Copy link
Contributor

@yf225 yf225 commented Sep 9, 2018

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.

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.

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.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

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.

4 participants