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

Bug 1738776: put moz-extensions directory into a volume and mount into the test environment #8

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

cgsheeh
Copy link
Member

@cgsheeh cgsheeh commented Nov 1, 2021

Add the moz-extensions/ directory as a Docker
volume and mount that volume into the test container.
This makes docker-compose run test_phab use the
code local to the working directory allowing for
faster iteration when testing.

We also unset restart-failure in the test environment
as this causes the container to restart when any test
fails, however the container can't restart and hangs
around.

…o the test environment

Add the `moz-extensions/` directory as a Docker
volume and mount that volume into the test container.
This makes `docker-compose run test_phab` use the
code local to the working directory allowing for
faster iteration when testing.

We also unset `restart-failure` in the test environment
as this causes the container to restart when any test
fails, however the container can't restart and hangs
around.
@dklawren dklawren merged commit 077c22d into mozilla-conduit:master Nov 3, 2021
@mitchhentges
Copy link

Heads up that this broke Phabricator's CI job to test commits.

@dklawren
Copy link
Collaborator

dklawren commented Nov 5, 2021

Yeah. Let's back out for now. It worked locally (obviously) but is not happy in CI environment.

@cgsheeh
Copy link
Member Author

cgsheeh commented Nov 5, 2021

Boo. I guess we could create a new docker-compose command that runs with the mounted directory for local dev and keep the existing for CI purposes. I'll send a patch for that shortly.

dklawren added a commit that referenced this pull request Nov 5, 2021
This reverts commit 077c22d, reversing
changes made to bbbc4db.
@dklawren
Copy link
Collaborator

dklawren commented Nov 5, 2021

Reverted,

cgsheeh added a commit to cgsheeh/phabricator that referenced this pull request Nov 5, 2021
…o the test environment

This commit is the same content as mozilla-conduit#8, but the content is pasted
into a new docker-compose service instead of overwriting `test_phab`
which is used in CI.
cgsheeh added a commit to cgsheeh/phabricator that referenced this pull request Dec 30, 2021
…o the test environment

This commit is the same content as mozilla-conduit#8, but the content is pasted
into a new docker-compose service instead of overwriting `test_phab`
which is used in CI.
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