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

refactor(dev-env): bypass Lando entrypoint for auxiliary images #2135

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

Conversation

sjinks
Copy link
Member

@sjinks sjinks commented Dec 4, 2024

Description

This PR updates the Landofile template to completely bypass the Lando entry point for auxiliary images that do not need custom scripts or permissions sweeps.

This:

Pull request checklist

New release checklist

Steps to Test

vip dev-env create -e -A -H -p < /dev/null
vip dev-env start
docker ps
  • ghcr.io/automattic/vip-container-images/nginx:latest, elasticsearch:7.17.8, phpmyadmin:5, axllent/mailpit:latest, memcached:1.6-alpine, and mysql:8.4 containers must be running, and their COMMAND must not mention lando-entrypoint;
  • vip dev-env logs -S demo-app-code must return nothing;
  • vip dev-env logs -S devtools must return nothing;
  • vip dev-env logs -S wordpress must return nothing;
  • the environment must work.

@sjinks sjinks requested a review from Copilot December 4, 2024 13:48
@sjinks sjinks self-assigned this Dec 4, 2024

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated no suggestions.

Files not reviewed (1)
  • assets/dev-env.lando.template.yml.ejs: Language not supported
Copy link
Contributor

github-actions bot commented Dec 4, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@rinatkhaziev
Copy link
Contributor

I tested the happy path and it's happy, but I would like to test the unhappy path somehow

@sjinks sjinks force-pushed the update/lando-template branch from 55f3681 to 9db07e3 Compare December 18, 2024 00:01
@sjinks sjinks force-pushed the update/lando-template branch from 9db07e3 to 8b91294 Compare December 18, 2024 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants