Skip to content

When installing deps, don't clean existing dir if only installing dev deps#24505

Merged
diox merged 1 commit intomozilla:masterfrom
diox:target-dev-fix-ci
Feb 24, 2026
Merged

When installing deps, don't clean existing dir if only installing dev deps#24505
diox merged 1 commit intomozilla:masterfrom
diox:target-dev-fix-ci

Conversation

@diox
Copy link
Member

@diox diox commented Feb 23, 2026

In CI, when using the run-docker minimal action specifically, we're calling this script with just "dev" as the target, and don't want to remove existing deps, we're only installing dev ones. PRs were already bypassing that cleaning because they're using DOCKER_TAG=local, but branch builds set DOCKER_TAG corresponding to the commit being built.

Everywhere else shouldn't be affected: development environment is always passing pip, prod as targets (and optionally dev when running development image), and the calls from Dockerfile will have DOCKER_TAG set to local.

This should fix master.

… deps

In CI, when using the run-docker minimal action specifically, we're calling
this script with just "dev" as the target, and don't want to remove existing
deps, we're only installing dev ones. PRs were already bypassing that
cleaning because they're using DOCKER_TAG=local, but branch builds set
DOCKER_TAG corresponding to the commit being built.

Everywhere else shouldn't be affected: development environment is always
passing `pip, prod` as targets (and optionally dev when running development
image), and the calls from Dockerfile will have DOCKER_TAG set to local.
@diox diox requested a review from willdurand February 23, 2026 21:06
@diox diox marked this pull request as ready for review February 23, 2026 22:34
@diox diox merged commit f03cce4 into mozilla:master Feb 24, 2026
44 checks passed
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.

2 participants