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
This commit is contained in:
ShahanaFarooqui 2024-10-11 17:33:17 -07:00
parent 814c838cae
commit 859f795168
2 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,8 @@ on:
# 05:00 Berlin, 03:00 UTC, 23:00 New York, 20:00 Los Angeles # 05:00 Berlin, 03:00 UTC, 23:00 New York, 20:00 Los Angeles
schedule: schedule:
- cron: "0 3 * * *" - cron: "0 3 * * *"
workflow_dispatch:
jobs: jobs:
ubuntu: ubuntu:
name: "Ubuntu repro build: ${{ matrix.version }}" name: "Ubuntu repro build: ${{ matrix.version }}"

View File

@ -44,12 +44,12 @@ RUN git clone https://github.com/pyenv/pyenv.git /root/.pyenv && \
libsqlite3-dev \ libsqlite3-dev \
libssl-dev \ libssl-dev \
zlib1g-dev && \ zlib1g-dev && \
pyenv install 3.8.0 && \ pyenv install 3.10.0 && \
pyenv global 3.8.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 \ RUN wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python3 /tmp/get-pip.py \
&& rm /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 && \ RUN wget https://sh.rustup.rs -O rustup-install.sh && \
bash rustup-install.sh --default-toolchain none --quiet -y && \ bash rustup-install.sh --default-toolchain none --quiet -y && \