Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Commit 2bf8a3d

Browse files
authored
ci: use gRPC-1.26.x to workaround a known bug (#153)
Workaround grpc/grpc#21280 by compiling against a specific commit (without a tag) of the v1.26.x gRPC branch.
1 parent 97e894d commit 2bf8a3d

File tree

8 files changed

+39
-41
lines changed

8 files changed

+39
-41
lines changed

INSTALL.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,9 @@ Cloud Platform proto files. We manually install it using:
329329

330330
```bash
331331
cd $HOME/Downloads
332-
wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
333-
tar -xf v1.23.1.tar.gz && \
334-
cd grpc-1.23.1 && \
332+
wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
333+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
334+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
335335
make -j ${NCPU:-4} && \
336336
sudo make install && \
337337
sudo ldconfig
@@ -420,9 +420,9 @@ Cloud Platform proto files. We install it using:
420420

421421
```bash
422422
cd $HOME/Downloads
423-
wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
424-
tar -xf v1.23.1.tar.gz && \
425-
cd grpc-1.23.1 && \
423+
wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
424+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
425+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
426426
make -j ${NCPU:-4} && \
427427
sudo make install && \
428428
sudo ldconfig
@@ -526,9 +526,9 @@ Cloud Platform proto files. We can install gRPC from source using:
526526

527527
```bash
528528
cd $HOME/Downloads
529-
wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
530-
tar -xf v1.23.1.tar.gz && \
531-
cd grpc-1.23.1 && \
529+
wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
530+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
531+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
532532
make -j ${NCPU:-4} && \
533533
sudo make install && \
534534
sudo ldconfig
@@ -688,9 +688,9 @@ Protobuf we just installed in `/usr/local`:
688688

689689
```bash
690690
cd $HOME/Downloads
691-
wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
692-
tar -xf v1.23.1.tar.gz && \
693-
cd grpc-1.23.1 && \
691+
wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
692+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
693+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
694694
make -j ${NCPU:-4} && \
695695
sudo make install && \
696696
sudo ldconfig
@@ -791,9 +791,9 @@ Cloud Platform proto files. We manually install it using:
791791

792792
```bash
793793
cd $HOME/Downloads
794-
wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
795-
tar -xf v1.23.1.tar.gz && \
796-
cd grpc-1.23.1 && \
794+
wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
795+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
796+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
797797
make -j ${NCPU:-4} && \
798798
sudo make install && \
799799
sudo ldconfig
@@ -915,9 +915,9 @@ Cloud Platform proto files. We manually install it using:
915915

916916
```bash
917917
cd $HOME/Downloads
918-
wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
919-
tar -xf v1.23.1.tar.gz && \
920-
cd grpc-1.23.1 && \
918+
wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
919+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
920+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
921921
make -j ${NCPU:-4} && \
922922
sudo make install && \
923923
sudo ldconfig

ci/kokoro/docker/Dockerfile.ubuntu-install

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,9 @@ RUN ldconfig
111111
# Install gRPC. Note that we use the system's zlib and ssl libraries.
112112
# For similar reasons to c-ares (see above), we need two install steps.
113113
WORKDIR /var/tmp/build
114-
RUN wget -q https://github.com/grpc/grpc/archive/v1.24.3.tar.gz
115-
RUN tar -xf v1.24.3.tar.gz
116-
RUN ls -l
117-
WORKDIR /var/tmp/build/grpc-1.24.3
118-
RUN ls -l
114+
RUN wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz
115+
RUN tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz
116+
WORKDIR /var/tmp/build/grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b
119117
RUN cmake \
120118
-DCMAKE_BUILD_TYPE="Release" \
121119
-DBUILD_SHARED_LIBS=yes \

ci/kokoro/install/Dockerfile.centos-7

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ RUN wget -q https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz && \
9393

9494
# ```bash
9595
WORKDIR /var/tmp/build
96-
RUN wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
97-
tar -xf v1.23.1.tar.gz && \
98-
cd grpc-1.23.1 && \
96+
RUN wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
97+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
98+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
9999
make -j ${NCPU:-4} && \
100100
make install && \
101101
ldconfig

ci/kokoro/install/Dockerfile.centos-8

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ RUN wget -q https://github.com/google/protobuf/archive/v3.11.3.tar.gz && \
7272

7373
# ```bash
7474
WORKDIR /var/tmp/build
75-
RUN wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
76-
tar -xf v1.23.1.tar.gz && \
77-
cd grpc-1.23.1 && \
75+
RUN wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
76+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
77+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
7878
make -j ${NCPU:-4} && \
7979
make install && \
8080
ldconfig

ci/kokoro/install/Dockerfile.debian-stretch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ RUN wget -q https://github.com/google/protobuf/archive/v3.11.3.tar.gz && \
6767

6868
# ```bash
6969
WORKDIR /var/tmp/build
70-
RUN wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
71-
tar -xf v1.23.1.tar.gz && \
72-
cd grpc-1.23.1 && \
70+
RUN wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
71+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
72+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
7373
make -j ${NCPU:-4} && \
7474
make install && \
7575
ldconfig

ci/kokoro/install/Dockerfile.opensuse-leap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ RUN wget -q https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz && \
8888

8989
# ```bash
9090
WORKDIR /var/tmp/build
91-
RUN wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
92-
tar -xf v1.23.1.tar.gz && \
93-
cd grpc-1.23.1 && \
91+
RUN wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
92+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
93+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
9494
make -j ${NCPU:-4} && \
9595
make install && \
9696
ldconfig

ci/kokoro/install/Dockerfile.ubuntu-bionic

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ RUN wget -q https://github.com/google/protobuf/archive/v3.11.3.tar.gz && \
6060

6161
# ```bash
6262
WORKDIR /var/tmp/build
63-
RUN wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
64-
tar -xf v1.23.1.tar.gz && \
65-
cd grpc-1.23.1 && \
63+
RUN wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
64+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
65+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
6666
make -j ${NCPU:-4} && \
6767
make install && \
6868
ldconfig

ci/kokoro/install/Dockerfile.ubuntu-xenial

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ RUN wget -q https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz && \
7575

7676
# ```bash
7777
WORKDIR /var/tmp/build
78-
RUN wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
79-
tar -xf v1.23.1.tar.gz && \
80-
cd grpc-1.23.1 && \
78+
RUN wget -q https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
79+
tar -xf 78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz && \
80+
cd grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b && \
8181
make -j ${NCPU:-4} && \
8282
make install && \
8383
ldconfig

0 commit comments

Comments
 (0)