Skip to content

Commit

Permalink
Merge pull request #3453 from soltysh/update_tools_4.14
Browse files Browse the repository at this point in the history
Update protoc to match k8s 1.27
  • Loading branch information
openshift-merge-robot authored Sep 7, 2023
2 parents 5210ed7 + 8bd5c35 commit e3425f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ci_transforms/rhel-8/ci-build-root/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM replaced-by-buildconfig
ENV PATH=/opt/google/protobuf/bin:$PATH
RUN set -euxo pipefail && \
f=$( mktemp ) && \
curl --fail -L https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip > "${f}" && \
curl --fail -L https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protoc-23.4-linux-x86_64.zip > "${f}" && \
mkdir -p /opt/google/protobuf && \
unzip "${f}" -d /opt/google/protobuf && \
curl --fail -L https://github.com/coreos/etcd/releases/download/v3.5.7/etcd-v3.5.7-linux-amd64.tar.gz | tar -f - -xz --no-same-owner -C /usr/local/bin --strip-components=1 etcd-v3.5.7-linux-amd64/etcd
Expand Down Expand Up @@ -53,7 +53,7 @@ RUN mkdir -p $GOPATH && \

# Assert packages in separate RUN block so we are sure env variables are set up correctly
RUN set -euxo pipefail && \
command -v protoc && protoc --version && [ "$( protoc --version )" = "libprotoc 3.19.4" ] && \
command -v protoc && protoc --version && [ "$( protoc --version )" = "libprotoc 23.4" ] && \
command -v etcd && etcd --version && [ "$( etcd --version | head -n1 )" = "etcd Version: 3.5.7" ]

# Some image building tools don't create a missing WORKDIR
Expand Down
4 changes: 2 additions & 2 deletions ci_transforms/rhel-9/ci-build-root/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM replaced-by-buildconfig
ENV PATH=/opt/google/protobuf/bin:$PATH
RUN set -euxo pipefail && \
f=$( mktemp ) && \
curl --fail -L https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip > "${f}" && \
curl --fail -L https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protoc-23.4-linux-x86_64.zip > "${f}" && \
mkdir -p /opt/google/protobuf && \
unzip "${f}" -d /opt/google/protobuf && \
curl --fail -L https://github.com/coreos/etcd/releases/download/v3.5.7/etcd-v3.5.7-linux-amd64.tar.gz | tar -f - -xz --no-same-owner -C /usr/local/bin --strip-components=1 etcd-v3.5.7-linux-amd64/etcd
Expand Down Expand Up @@ -52,7 +52,7 @@ RUN mkdir -p $GOPATH && \

# Assert packages in separate RUN block so we are sure env variables are set up correctly
RUN set -euxo pipefail && \
command -v protoc && protoc --version && [ "$( protoc --version )" = "libprotoc 3.19.4" ] && \
command -v protoc && protoc --version && [ "$( protoc --version )" = "libprotoc 23.4" ] && \
command -v etcd && etcd --version && [ "$( etcd --version | head -n1 )" = "etcd Version: 3.5.7" ]

# Some image building tools don't create a missing WORKDIR
Expand Down

0 comments on commit e3425f5

Please sign in to comment.