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

feat: re-enable docker sharness tests #8808

Merged
merged 1 commit into from
Mar 30, 2022
Merged

Conversation

guseggert
Copy link
Contributor

The Docker sharness tests were disabled years ago when go-ipfs moved
from Travis to CircleCI. This makes the tweaks necessary to re-enable
them.

The Docker image has since moved to be based on BusyBox which doesn't
have the requisite wget version for the existing tests to work, so
this adds some functionality to the pollEndpoint program to support
polling HTTP endpoints as well.

The Docker sharness tests were disabled years ago when go-ipfs moved
from Travis to CircleCI. This makes the tweaks necessary to re-enable
them.

The Docker image has since moved to be based on BusyBox which doesn't
have the requisite wget version for the existing tests to work, so
this adds some functionality to the pollEndpoint program to support
polling HTTP endpoints as well.
@BigLep BigLep requested review from schomatis and removed request for lidel March 22, 2022 16:24
@BigLep
Copy link
Contributor

BigLep commented Mar 22, 2022

@schomatis : can you please do the review here so we can land this? We're trying to spread the review load a bit.

@schomatis
Copy link
Contributor

Sorry, I have no idea how docker fits in here. I've always run sharness directly from the CLI. I'll remove my review but feel free to nudge me some more and I'll try to dig up how all this works.

@schomatis schomatis removed their request for review March 24, 2022 01:43
@BigLep BigLep requested a review from schomatis March 24, 2022 22:18
@BigLep
Copy link
Contributor

BigLep commented Mar 24, 2022

Hi @schomatis . Thanks for the disclosure. I am going to nudge though :). We want knowledge to disseminate more. Feel free to ask in #ipfs-dev too. @guseggert can jump in and provide more context.

Copy link
Contributor

@schomatis schomatis left a comment

Choose a reason for hiding this comment

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

The extension of the pollEndpoint makes sense to replace wget. Other docker sharness specifics escape me.

@guseggert guseggert merged commit 46c3689 into master Mar 30, 2022
@guseggert guseggert deleted the feat/docker-sharness branch March 30, 2022 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Docker tests in CI
3 participants