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

Add chromium container #1

Merged
merged 2 commits into from
Jan 9, 2019
Merged

Conversation

wyrzyk
Copy link
Contributor

@wyrzyk wyrzyk commented Dec 21, 2018

No description provided.

@wyrzyk wyrzyk requested a review from a team December 21, 2018 15:59
Copy link
Contributor

@dagguh dagguh left a comment

Choose a reason for hiding this comment

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

4e0376e is a fixup and should be squashed

Copy link
Contributor

@dagguh dagguh left a comment

Choose a reason for hiding this comment

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

4e0376e is a fixup and should be squashed

* Test containers start a docker with Ryuk. Ryuk needs to mount the docker socket, and this is forbidden in Bitbucket pipelines.
* Ryuk isn't a critical feature. It makes after test docker container cleanup more robust.
* This class is a hack to disable the feature.
* Sorry for the hack, but I neither understand how to fix Ryuk problems, neither want to fork and release forked test-containers.
Copy link

Choose a reason for hiding this comment

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

Soon, we will make it possible to disable Ryuk if you env allows it :) See testcontainers/testcontainers-java#1023

Good that you have a workaround meanwhile!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great to hear that. Disabling Ryuk will still be a workaround, but more straightforward and managed on the product's side. Are there any plans to make Ryuk work on BB pipelines?

Copy link

Choose a reason for hiding this comment

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

Well, it used to work but then there was some change on BB side and it got broken.
We track the current state of BitBucket here:
testcontainers/testcontainers-java#700 (comment)

Copy link

Choose a reason for hiding this comment

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

@wyrzyk wyrzyk force-pushed the add-chromium-container branch from 4e0376e to b501885 Compare December 27, 2018 11:31
@wyrzyk wyrzyk merged commit a2e30a3 into atlassian:master Jan 9, 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.

3 participants