Skip to content

Commit

Permalink
Hotfix: Smoke tests didn't allow customizing the worker's command arg…
Browse files Browse the repository at this point in the history
…uments, now it does (celery#8937)
  • Loading branch information
Nusnus authored Apr 1, 2024
1 parent c3a988c commit 010af00
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
1 change: 1 addition & 0 deletions t/smoke/workers/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def worker_queue(cls) -> str:
},
wrapper_class=SmokeWorkerContainer,
timeout=defaults.DEFAULT_WORKER_CONTAINER_TIMEOUT,
command=fxtr("default_worker_command"),
)


Expand Down
15 changes: 14 additions & 1 deletion t/smoke/workers/docker/dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@ FROM python:3.11-bookworm
RUN adduser --disabled-password --gecos "" test_user

# Install system dependencies
RUN apt-get update && apt-get install -y build-essential
RUN apt-get update && apt-get install -y build-essential \
git \
wget \
make \
curl \
apt-utils \
debconf \
lsb-release \
libmemcached-dev \
libffi-dev \
ca-certificates \
pypy3 \
pypy3-lib \
sudo

# Set arguments
ARG CELERY_LOG_LEVEL=INFO
Expand Down
15 changes: 14 additions & 1 deletion t/smoke/workers/docker/pypi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@ FROM python:3.10-bookworm
RUN adduser --disabled-password --gecos "" test_user

# Install system dependencies
RUN apt-get update && apt-get install -y build-essential
RUN apt-get update && apt-get install -y build-essential \
git \
wget \
make \
curl \
apt-utils \
debconf \
lsb-release \
libmemcached-dev \
libffi-dev \
ca-certificates \
pypy3 \
pypy3-lib \
sudo

# Set arguments
ARG CELERY_VERSION=""
Expand Down

0 comments on commit 010af00

Please sign in to comment.