Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[WIP] Dockerize for dev #8911

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mshriver
Copy link
Member

@mshriver mshriver commented Jun 5, 2019

Building on @Fryguy work to create single dockerfile for vnc+pytest env with mounted tests.

Handling SSH for dev appliances in a clean way in framework/tests.

Fixing framework pieces around dev appliances.

@@ -21,7 +21,7 @@

pytestmark = [
test_requirements.rbac,
pytest.mark.provider(classes=[VMwareProvider], selector=ONE),
pytest.mark.provider(classes=[RHEVMProvider], selector=ONE),
Copy link
Contributor

Choose a reason for hiding this comment

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

QUESTION Why was this changed?

@@ -0,0 +1,27 @@
# Intended build context is integration_tests top level

FROM sel-browsers:latest
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this custom built container?


EXPOSE 5999

ENTRYPOINT ["/entrypoint"]
Copy link
Contributor

Choose a reason for hiding this comment

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

If I were to run this, how would I build and invoke the container? And I see this is for dev but what if I want to run against regular appliance? Do we have container for that?

Copy link
Contributor

Choose a reason for hiding this comment

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

Reason I ask this is that, all of us have different way to setup and run the tests, I use selenium container for browser, some use local browser installed on their system, etc. What would be a way to unify that and make it such that all of QE team can standardize on a container image that acts as test env for them, includes right dependencies and browsers. We then can rebuild that as needed and team won't need to fix their env, just pull latest docker image? I'm sure you must have thought about it. Have you?

Fryguy and others added 5 commits July 9, 2019 14:09
squashed commit messages from Jason Frey:
Update docker container with more browsers and reorganize

Some changes to get older firefox working

Change matplotlib to be a separate binary install step.

Allow entrypoint script to accept params.

Ensure host.docker.internal exists

copy frozen.txt from the local clone of the code

Add basic directions for running the docker container

Use new frozen.py2.txt instead
pytest_store handling of no SSH client address
dockerignore for pytest_cache
iputils and iproute in quickstart system packages
SSHDummy property handling, explicitly None
building cfme-tests docker on cfmeqe_sel_stable
@dajoRH
Copy link
Contributor

dajoRH commented Jul 31, 2019

Would you mind rebasing this Pull Request against latest master, please? :trollface:
CFME QE Bot

@dajoRH dajoRH changed the title [WIPTEST] Dockerize for dev [WIP] Dockerize for dev Aug 13, 2019
@dajoRH dajoRH added WIP and removed WIP-testing labels Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants