Skip to content

Conversation

@wking
Copy link
Contributor

@wking wking commented Mar 21, 2017

Master builds only have a git clone … so FETCH_HEAD isn't defined and git-validation crashes. We don't want to be hard-coding a range here, and should update git-validation to handle these cases automatically.

Also echo TRAVIS_* variables during testing to make debugging git-validation easier.

@wking wking force-pushed the automatic-git-validation-commit-range branch 2 times, most recently from 530706f to cb57341 Compare March 21, 2017 19:03
@wking
Copy link
Contributor Author

wking commented Mar 21, 2017

This commit passes locally, but I expect we need vbatts/git-validation#17 to land before master builds start passing again.

@vbatts
Copy link
Member

vbatts commented Mar 21, 2017

the git-validation upstream has merged now. This PR can be reviewed.

@vbatts
Copy link
Member

vbatts commented Mar 21, 2017

Hold on this. do not review yet

@vbatts
Copy link
Member

vbatts commented Mar 21, 2017

@mrunalp ok. will you restart the travis job to check this it fixed?

Master builds only have a 'git clone ...' [1] so FETCH_HEAD isn't
defined and git-validation crashes [2].  We don't want to be
hard-coding a range here, and should update git-validation to handle
these cases automatically.

Also echo TRAVIS_* variables during testing to make debugging
git-validation easier.

[1]: https://travis-ci.org/opencontainers/runc/jobs/213508696#L243
[2]: https://travis-ci.org/opencontainers/runc/jobs/213508696#L347

Signed-off-by: W. Trevor King <[email protected]>
@wking wking force-pushed the automatic-git-validation-commit-range branch from cb57341 to d1fb97f Compare March 21, 2017 22:26
@wking
Copy link
Contributor Author

wking commented Mar 21, 2017 via email

@mrunalp
Copy link
Contributor

mrunalp commented Mar 21, 2017

@vbatts @wking Is this ready for review?

@vbatts
Copy link
Member

vbatts commented Mar 21, 2017 via email

@mrunalp
Copy link
Contributor

mrunalp commented Mar 21, 2017

LGTM

Approved with PullApprove

@avagin
Copy link
Contributor

avagin commented Mar 22, 2017

LGTM

Approved with PullApprove

1 similar comment
@crosbymichael
Copy link
Member

crosbymichael commented Mar 22, 2017

LGTM

Approved with PullApprove

@crosbymichael crosbymichael merged commit ef9a4b3 into opencontainers:master Mar 22, 2017
@vbatts
Copy link
Member

vbatts commented Mar 22, 2017

cool. I think the failure on master https://travis-ci.org/opencontainers/runc/jobs/214004661 is something else?

@wking
Copy link
Contributor Author

wking commented Mar 22, 2017 via email

@cyphar
Copy link
Member

cyphar commented Mar 23, 2017

The TestNotify* set of tests are flaky AFAICS. I opened #1228 a while ago to track this.

@wking wking deleted the automatic-git-validation-commit-range branch June 14, 2017 16:36
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.

6 participants