From 859f795168c2e38f438b6ee44c6e9c4fdca71495 Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Fri, 11 Oct 2024 17:33:17 -0700 Subject: [PATCH] repro: focal modded fix - Locked grpcio-tools version to fix dirty tree issue. Ref: https://github.com/ElementsProject/lightning/pull/7376#issuecomment-2161102381 - Updated python version to 3.10 for future proofing - Added manual dispatch for github action --- .github/workflows/repro.yml | 2 ++ contrib/reprobuild/Dockerfile.focal | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/repro.yml b/.github/workflows/repro.yml index 2888e01831c8..f21dbcb6cf20 100644 --- a/.github/workflows/repro.yml +++ b/.github/workflows/repro.yml @@ -5,6 +5,8 @@ on: # 05:00 Berlin, 03:00 UTC, 23:00 New York, 20:00 Los Angeles schedule: - cron: "0 3 * * *" + workflow_dispatch: + jobs: ubuntu: name: "Ubuntu repro build: ${{ matrix.version }}" diff --git a/contrib/reprobuild/Dockerfile.focal b/contrib/reprobuild/Dockerfile.focal index ea0d85516a90..5e951a88a726 100644 --- a/contrib/reprobuild/Dockerfile.focal +++ b/contrib/reprobuild/Dockerfile.focal @@ -44,12 +44,12 @@ RUN git clone https://github.com/pyenv/pyenv.git /root/.pyenv && \ libsqlite3-dev \ libssl-dev \ zlib1g-dev && \ - pyenv install 3.8.0 && \ - pyenv global 3.8.0 + pyenv install 3.10.0 && \ + pyenv global 3.10.0 RUN wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python3 /tmp/get-pip.py \ && rm /tmp/get-pip.py \ - && pip install poetry mako grpcio-tools + && pip install poetry mako grpcio-tools==1.62.2 RUN wget https://sh.rustup.rs -O rustup-install.sh && \ bash rustup-install.sh --default-toolchain none --quiet -y && \