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

#230 - Fix CI merge formatting test. #231

Merged
merged 2 commits into from
May 23, 2019

Conversation

jbarrick-mesosphere
Copy link
Member

@jbarrick-mesosphere jbarrick-mesosphere commented May 10, 2019

What type of PR is this?

/kind bug

What this PR does / why we need it:

We set the user name and email and a commit message in case a merge commit needs to be created.

Which issue(s) this PR fixes:

Fixes #230

@jbarrick-mesosphere
Copy link
Member Author

Oh, duh, git is mad that it hasn't been configured with a username and email.

- run: |
git config user.name "Circle CI"
git config user.email "ci@mesosphere.com"
git checkout -b pr
Copy link
Contributor

Choose a reason for hiding this comment

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

The first two lines are great 👍 I am just wondering why you did not stick with git merge origin/master ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I was still working on this since I couldn't test it without making a pull request, but basically I misunderstood the error and thought the issue was that we were merging master into the PR instead of the PR into master. That may be an issue (I'm not sure), but the actual issue that I was hitting was the Git configuration.

It should be ready for review now!

Fixes kudobuilder#230.

We set the user name and email and a commit message in case a merge commit needs to be created.
@alenkacz alenkacz merged commit 19e72de into kudobuilder:master May 23, 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.

CI fails if a pull request is behind the tip of master
4 participants