-
Notifications
You must be signed in to change notification settings - Fork 9
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
Suite improvements for new lando (bug 1885346) (bug 1904696) (bug 1920987) #59
Suite improvements for new lando (bug 1885346) (bug 1904696) (bug 1920987) #59
Conversation
df0c3d7
to
23c9272
Compare
d19531b
to
65fe9e4
Compare
Signed-off-by: Olivier Mehani <[email protected]>
Signed-off-by: Olivier Mehani <[email protected]>
Signed-off-by: Olivier Mehani <[email protected]>
* mysqls * phab and bmo * phabricator.test Signed-off-by: Olivier Mehani <[email protected]>
…time This is useful when the target container has been replaced and has a new IP address, but the nginx container still points to the old, cached, IP. Signed-off-by: Olivier Mehani <[email protected]>
Signed-off-by: Olivier Mehani <[email protected]>
…g 1821149) Signed-off-by: Olivier Mehani <[email protected]>
Signed-off-by: Olivier Mehani <[email protected]>
7354c25
to
1d80265
Compare
@zzzeid this PR is a combination of
There may be a couple of conflicts when merging back into |
Signed-off-by: Olivier Mehani <[email protected]>
Signed-off-by: Olivier Mehani <[email protected]>
Signed-off-by: Olivier Mehani <[email protected]>
Signed-off-by: Olivier Mehani <[email protected]>
Signed-off-by: Olivier Mehani <[email protected]>
docker-compose.yml
Outdated
lando-init: | ||
user: "${UID}:${GID}" | ||
image: mozilla/lando:latest # TODO: this does not exist yet. | ||
command: lando setup_dev | ||
env_file: | ||
- ../lando/.env | ||
environment: | ||
<<: *base-lando-vars | ||
depends_on: | ||
lando.db: | ||
condition: service_healthy | ||
phabricator.test: | ||
condition: service_healthy | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, might be better to include the setup_dev
command in the main lando container instead, along with the other development specific commands. Also, this could be combined in the main compose file.
Ok, I moved things around, and did some cleanup while I was at it. I added a healthcheck, and needed to add a dependency on phabricator.test before starting lando, as it tries (and fails) to talk to it on start and gets into a restart loop. Starting with the override,
works reliably (but is a bit slow due to the phabricator dep). I tested without the override, by using the |
Signed-off-by: Olivier Mehani <[email protected]>
Also, reorder startup so non-DB commands run first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Will merge it now, and if we need to fine tune any of the changes we can do so before we merge #52 in.
No description provided.