Browse Source

Build zuul images with python 3.8

We suspect a memory leak in python 3.7. BMW saw one and reverted
to 3.6 and has been better. OpenDev is seeing one which seems to
be improved by sending SIGUSR2 signals to the process, which makes
us think there may be an issue in the GC.

Try updating to 3.8. If it fixes it, we can just shrug and say
"3.7 lol". If it doesn't, we can follow BMW's lead and try 3.6.

Change-Id: Iaa53fa2b3125dd3a2c79ba25191b2b44ed473200
changes/08/724908/1
Monty Taylor 1 year ago
parent
commit
02081b585b
2 changed files with 6 additions and 6 deletions
  1. +4
    -4
      .zuul.yaml
  2. +2
    -2
      Dockerfile

+ 4
- 4
.zuul.yaml View File

@ -130,8 +130,8 @@
allowed-projects: zuul/zuul
timeout: 2700 # 45 minutes
requires:
- python-builder-container-image
- python-base-container-image
- python-builder-3.8-container-image
- python-base-3.8-container-image
provides: zuul-container-image
vars: &zuul_image_vars
docker_images:
@ -160,8 +160,8 @@
description: Build Docker images and upload to Docker Hub.
allowed-projects: zuul/zuul
requires:
- python-builder-container-image
- python-base-container-image
- python-builder-3.8-container-image
- python-base-3.8-container-image
provides: zuul-container-image
secrets:
name: docker_credentials


+ 2
- 2
Dockerfile View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM docker.io/opendevorg/python-builder as builder
FROM docker.io/opendevorg/python-builder:3.8 as builder
# Optional location of Zuul API endpoint.
ARG REACT_APP_ZUUL_API
@ -39,7 +39,7 @@ RUN mkdir /tmp/openshift-install \
&& echo $OPENSHIFT_SHA /tmp/openshift-install/openshift-client.tgz | sha256sum --check \
&& tar xvfz openshift-client.tgz --strip-components=1 -C /tmp/openshift-install
FROM docker.io/opendevorg/python-base as zuul
FROM docker.io/opendevorg/python-base:3.8 as zuul
COPY --from=builder /output/ /output
RUN /output/install-from-bindep \


Loading…
Cancel
Save