Open sjinks opened 2 months ago
How do we make sure we don't break things for existing dev-env users who aren't running on the latest CLI? 😬
@rebeccahum Images are updated independently of VIP CLI.
For the existing environments, images are re-pulled every two weeks. For new environments, they are pulled on the first start.
The idea is to merge this PR and ship Automattic/vip-cli#1984, say, in a month.
For the existing environments, images are re-pulled every two weeks. For new environments, they are pulled on the first start.
@sjinks Right, but then it means someone on the old version will download the new image and the migration routine will run for them?
@rinatkhaziev
The migration routine will start if the new domain is *.vipdev.site
and the siteurl
mentions vipdev.lndo.site
. That is, the migration will never happen for the old versions of VIP CLI.
@rebeccahum ideally we should test a bit :)
@rinatkhaziev testing? don't know her
Testing, please meet @rebeccahum. Rebecca, please meet Testing, our good friend.
@rebeccahum @rinatkhaziev is it ok to merge this? Or are you still having fun with Testing?
@sjinks Haven't reached out to Testing yet, are you able to?
I actually did :-) (like a month ago)
This is what we were doing:
vipdev.lndo.site
)~/.local/share/vip/lando/config.yml
) and set domain: vipdev.site
....vipdev.site
URL works.I'm gonna try to break it, stay tuned.
Trivy Scan Report
ghcr.io/automattic/vip-container-images/dev-tools:0.9 (alpine 3.20.3)
No vulnerabilities found.