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

test_containers.sh needs to clean up containers it creates, not leave temp builds on testbot #992

Merged
merged 1 commit into from
Jul 14, 2018

Conversation

rfay
Copy link
Member

@rfay rfay commented Jul 14, 2018

The Problem/Issue/Bug:

test_containers.sh was leaving its temporary built containers on the testbot, where test.sh could stumble on them later. They should get cleaned up.

How this PR Solves The Problem:

Reorganize test_containers.sh to always clean up on exit.

Manual Testing Instructions:

Automated Testing Overview:

Related Issue Link(s):

Release/Deployment notes:

@rfay rfay self-assigned this Jul 14, 2018
@rfay rfay requested a review from andrewfrench July 14, 2018 19:05
Copy link
Contributor

@andrewfrench andrewfrench left a comment

Choose a reason for hiding this comment

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

I was able to run test_containers.sh locally with old test containers and images hanging around. Existing containers were removed, containers were built, tests ran, and the tests' containers were cleaned up as expected.

@rfay rfay merged commit d24a9b8 into ddev:master Jul 14, 2018
@rfay rfay deleted the 20180714_container_test_cleanup branch July 14, 2018 22:18
@rfay rfay added this to the v1.0.0 milestone Jul 14, 2018
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.

None yet

2 participants