Skip to content

.travis.yml: Don't require FETCH_HEAD (partial fix for failing master tests)#1383

Merged
crosbymichael merged 1 commit into
opencontainers:masterfrom
wking:automatic-git-validation-commit-range
Mar 22, 2017
Merged

.travis.yml: Don't require FETCH_HEAD (partial fix for failing master tests)#1383
crosbymichael merged 1 commit into
opencontainers:masterfrom
wking:automatic-git-validation-commit-range

Conversation

@wking

@wking wking commented Mar 21, 2017

Copy link
Copy Markdown
Contributor

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

wking commented Mar 21, 2017

Copy link
Copy Markdown
Contributor Author

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

@vbatts

vbatts commented Mar 21, 2017

Copy link
Copy Markdown
Member

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

@vbatts

vbatts commented Mar 21, 2017

Copy link
Copy Markdown
Member

Hold on this. do not review yet

@vbatts

vbatts commented Mar 21, 2017

Copy link
Copy Markdown
Member

@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 <wking@tremily.us>
@wking wking force-pushed the automatic-git-validation-commit-range branch from cb57341 to d1fb97f Compare March 21, 2017 22:26
@wking

wking commented Mar 21, 2017 via email

Copy link
Copy Markdown
Contributor Author

@mrunalp

mrunalp commented Mar 21, 2017

Copy link
Copy Markdown
Contributor

@vbatts @wking Is this ready for review?

@vbatts

vbatts commented Mar 21, 2017 via email

Copy link
Copy Markdown
Member

@mrunalp

mrunalp commented Mar 21, 2017

Copy link
Copy Markdown
Contributor

LGTM

Approved with PullApprove

@avagin

avagin commented Mar 22, 2017

Copy link
Copy Markdown
Contributor

LGTM

Approved with PullApprove

1 similar comment
@crosbymichael

crosbymichael commented Mar 22, 2017

Copy link
Copy Markdown
Member

LGTM

Approved with PullApprove

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

vbatts commented Mar 22, 2017

Copy link
Copy Markdown
Member

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

@wking

wking commented Mar 22, 2017 via email

Copy link
Copy Markdown
Contributor Author

@cyphar

cyphar commented Mar 23, 2017

Copy link
Copy Markdown
Member

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