bazel: Fix ci

This commit is contained in:
Corentin Le Molgat
2024-11-13 17:11:53 +01:00
parent a7ea64607a
commit 41a331a3ef
5 changed files with 4 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ SHELL ["/bin/bash", "--login", "-c"]
# Install Bazelisk
RUN wget \
https://github.com/bazelbuild/bazelisk/releases/download/v1.20.0/bazelisk-linux-amd64 \
https://github.com/bazelbuild/bazelisk/releases/download/v1.23.0/bazelisk-linux-amd64 \
&& chmod +x bazelisk-linux-amd64 \
&& mv bazelisk-linux-amd64 /usr/local/bin/bazel
@@ -35,7 +35,6 @@ RUN dnf -y update \
FROM env AS devel
WORKDIR /home/project
COPY . .
RUN sed -i 's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "3.9"/' WORKSPACE
FROM devel AS build
RUN bazel version

View File

@@ -23,7 +23,6 @@ RUN apt-get update -qq \
FROM env AS devel
WORKDIR /home/project
COPY . .
RUN sed -i 's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "3.11"/' WORKSPACE
FROM devel AS build
RUN bazel version

View File

@@ -14,7 +14,7 @@ RUN dnf -y update \
# Install Bazelisk
RUN wget \
https://github.com/bazelbuild/bazelisk/releases/download/v1.20.0/bazelisk-linux-amd64 \
https://github.com/bazelbuild/bazelisk/releases/download/v1.23.0/bazelisk-linux-amd64 \
&& chmod +x bazelisk-linux-amd64 \
&& mv bazelisk-linux-amd64 /usr/local/bin/bazel

View File

@@ -11,7 +11,7 @@ ENV CC=gcc CXX=g++
# Install Bazelisk
RUN wget \
https://github.com/bazelbuild/bazelisk/releases/download/v1.20.0/bazelisk-linux-amd64 \
https://github.com/bazelbuild/bazelisk/releases/download/v1.23.0/bazelisk-linux-amd64 \
&& chmod +x bazelisk-linux-amd64 \
&& mv bazelisk-linux-amd64 /usr/local/bin/bazel
@@ -29,7 +29,6 @@ RUN zypper update -y \
FROM env AS devel
WORKDIR /home/project
COPY . .
RUN sed -i 's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "3.11"/' WORKSPACE
FROM devel AS build
RUN bazel version

View File

@@ -15,7 +15,7 @@ SHELL ["/bin/bash", "--login", "-c"]
# Install Bazelisk
RUN wget \
https://github.com/bazelbuild/bazelisk/releases/download/v1.20.0/bazelisk-linux-amd64 \
https://github.com/bazelbuild/bazelisk/releases/download/v1.23.0/bazelisk-linux-amd64 \
&& chmod +x bazelisk-linux-amd64 \
&& mv bazelisk-linux-amd64 /usr/local/bin/bazel
@@ -35,7 +35,6 @@ RUN dnf -y update \
FROM env AS devel
WORKDIR /home/project
COPY . .
RUN sed -i 's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "3.9"/' WORKSPACE
FROM devel AS build
RUN bazel version