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

Commit 64879ca

Browse files
authored
ci: remove Ubuntu-14.04 (Trusty Tahr) builds (#104)
This distribution has been EOL for over 6 months, time to drop the builds.
1 parent 9543643 commit 64879ca

16 files changed

+4
-620
lines changed

INSTALL.md

Lines changed: 0 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ these dependencies.
135135
- [openSUSE (Leap)](#opensuse-leap)
136136
- [Ubuntu (18.04 - Bionic Beaver)](#ubuntu-1804---bionic-beaver)
137137
- [Ubuntu (16.04 - Xenial Xerus)](#ubuntu-1604---xenial-xerus)
138-
- [Ubuntu (14.04 - Trusty Tahr)](#ubuntu-1404---trusty-tahr)
139138
- [Debian (10 Buster)](#debian-10---buster)
140139
- [Debian (9 Stretch)](#debian-9---stretch)
141140
- [CentOS 7](#centos-7)
@@ -584,144 +583,6 @@ sudo cmake --build . --target install
584583
```
585584

586585

587-
### Ubuntu (14.04 - Trusty Tahr)
588-
589-
Install the minimal development tools.
590-
We use the `ubuntu-toolchain-r` PPA to get a modern version of CMake:
591-
592-
```bash
593-
sudo apt update && sudo apt install -y software-properties-common
594-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
595-
sudo apt update && \
596-
sudo apt install -y automake cmake3 git gcc g++ libtool make pkg-config \
597-
tar wget zlib1g-dev
598-
```
599-
600-
#### OpenSSL
601-
602-
Ubuntu:14.04 ships with a very old version of OpenSSL, this version is not
603-
supported by gRPC. We need to compile and install OpenSSL-1.0.2 from source.
604-
605-
```bash
606-
cd $HOME/Downloads
607-
wget -q https://www.openssl.org/source/openssl-1.0.2n.tar.gz
608-
tar xf openssl-1.0.2n.tar.gz
609-
cd $HOME/Downloads/openssl-1.0.2n
610-
./config --shared
611-
make -j ${NCPU:-4}
612-
sudo make install
613-
```
614-
615-
Note that by default OpenSSL installs itself in `/usr/local/ssl`. Installing
616-
on a more conventional location, such as `/usr/local` or `/usr`, can break
617-
many programs in your system. OpenSSL 1.0.2 is actually incompatible with
618-
with OpenSSL 1.0.0 which is the version expected by the programs already
619-
installed by Ubuntu 14.04.
620-
621-
In any case, as the library installs itself in this non-standard location, we
622-
also need to configure CMake and other build program to find this version of
623-
OpenSSL:
624-
625-
```bash
626-
export OPENSSL_ROOT_DIR=/usr/local/ssl
627-
export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig
628-
```
629-
630-
#### Protobuf
631-
632-
We need to install a version of Protobuf that is recent enough to support the
633-
Google Cloud Platform proto files:
634-
635-
```bash
636-
cd $HOME/Downloads
637-
wget -q https://github.com/google/protobuf/archive/v3.9.1.tar.gz && \
638-
tar -xf v3.9.1.tar.gz && \
639-
cd protobuf-3.9.1/cmake && \
640-
cmake \
641-
-DCMAKE_BUILD_TYPE=Release \
642-
-DBUILD_SHARED_LIBS=yes \
643-
-Dprotobuf_BUILD_TESTS=OFF \
644-
-H. -Bcmake-out && \
645-
cmake --build cmake-out -- -j ${NCPU:-4} && \
646-
sudo cmake --build cmake-out --target install -- -j ${NCPU:-4} && \
647-
sudo ldconfig
648-
```
649-
650-
#### c-ares
651-
652-
Recent versions of gRPC require c-ares >= 1.11, while Ubuntu 14.04
653-
distributes c-ares-1.10. Manually install a newer version:
654-
655-
```bash
656-
cd $HOME/Downloads
657-
wget -q https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz && \
658-
tar -xf cares-1_14_0.tar.gz && \
659-
cd c-ares-cares-1_14_0 && \
660-
./buildconf && ./configure && make -j ${NCPU:-4} && \
661-
sudo make install && \
662-
sudo ldconfig
663-
```
664-
665-
#### gRPC
666-
667-
We also need a version of gRPC that is recent enough to support the Google
668-
Cloud Platform proto files. We can install gRPC from source using:
669-
670-
```bash
671-
cd $HOME/Downloads
672-
wget -q https://github.com/grpc/grpc/archive/v1.23.1.tar.gz && \
673-
tar -xf v1.23.1.tar.gz && \
674-
cd grpc-1.23.1 && \
675-
make -j ${NCPU:-4} && \
676-
sudo make install && \
677-
sudo ldconfig
678-
```
679-
680-
#### googleapis
681-
682-
We need a recent version of the Google Cloud Platform proto C++ libraries:
683-
684-
```bash
685-
cd $HOME/Downloads
686-
wget -q https://github.com/googleapis/cpp-cmakefiles/archive/v0.1.5.tar.gz && \
687-
tar -xf v0.1.5.tar.gz && \
688-
cd cpp-cmakefiles-0.1.5 && \
689-
cmake -DBUILD_SHARED_LIBS=YES -H. -Bcmake-out && \
690-
cmake --build cmake-out -- -j ${NCPU:-4} && \
691-
sudo cmake --build cmake-out --target install -- -j ${NCPU:-4} && \
692-
sudo ldconfig
693-
```
694-
695-
#### googletest
696-
697-
We need a recent version of GoogleTest to compile the unit and integration
698-
tests.
699-
700-
```bash
701-
cd $HOME/Downloads
702-
wget -q https://github.com/google/googletest/archive/release-1.10.0.tar.gz && \
703-
tar -xf release-1.10.0.tar.gz && \
704-
cd googletest-release-1.10.0 && \
705-
cmake -DCMAKE_BUILD_TYPE="Release" -DBUILD_SHARED_LIBS=yes -H. -Bcmake-out && \
706-
cmake --build cmake-out -- -j ${NCPU:-4} && \
707-
sudo cmake --build cmake-out --target install -- -j ${NCPU:-4} && \
708-
sudo ldconfig
709-
```
710-
711-
#### Compile and install the main project
712-
713-
We can now compile, test, and install `google-cloud-cpp-common`.
714-
715-
```bash
716-
cd $HOME/project
717-
cmake -H. -Bcmake-out
718-
cmake --build cmake-out -- -j "${NCPU:-4}"
719-
cd $HOME/project/cmake-out
720-
ctest -LE integration-tests --output-on-failure
721-
sudo cmake --build . --target install
722-
```
723-
724-
725586
### Debian (10 - Buster)
726587

727588
Install the minimal development tools, libcurl, and OpenSSL:

README.md

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ Google Cloud C++ Client Libraries.
3838
[![CI status install/opensuse-leap][install/opensuse-leap-shield]][install/opensuse-leap-link]
3939
[![CI status install/opensuse-tumbleweed][install/opensuse-tumbleweed-shield]][install/opensuse-tumbleweed-link]
4040
[![CI status install/ubuntu-bionic][install/ubuntu-bionic-shield]][install/ubuntu-bionic-link]
41-
[![CI status install/ubuntu-trusty][install/ubuntu-trusty-shield]][install/ubuntu-trusty-link]
4241
[![CI status install/ubuntu-xenial][install/ubuntu-xenial-shield]][install/ubuntu-xenial-link]
4342

4443
[docker/asan-link]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/docker/asan-link.html
@@ -87,8 +86,6 @@ Google Cloud C++ Client Libraries.
8786
[install/opensuse-tumbleweed-shield]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/install/opensuse-tumbleweed.svg
8887
[install/ubuntu-bionic-link]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/install/ubuntu-bionic-link.html
8988
[install/ubuntu-bionic-shield]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/install/ubuntu-bionic.svg
90-
[install/ubuntu-trusty-link]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/install/ubuntu-trusty-link.html
91-
[install/ubuntu-trusty-shield]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/install/ubuntu-trusty.svg
9289
[install/ubuntu-xenial-link]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/install/ubuntu-xenial-link.html
9390
[install/ubuntu-xenial-shield]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/install/ubuntu-xenial.svg
9491
[macos/bazel-link]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/macos/bazel-link.html
@@ -121,7 +118,6 @@ Google Cloud C++ Client Libraries.
121118
- [openSuSE (Leap)](#opensuse-leap)
122119
- [Ubuntu (18.04 - Bionic Beaver)](#ubuntu-1804---bionic-beaver)
123120
- [Ubuntu (16.04 - Xenial Xerus)](#ubuntu-1604---xenial-xerus)
124-
- [Ubuntu (14.04 - Trusty Tahr)](#ubuntu-1404---trusty-tahr)
125121
- [macOS (using brew)](#macos-using-brew)
126122
- [Windows](#windows-using-vcpkg)
127123
- [Build](#build)
@@ -319,53 +315,6 @@ sudo apt install -y build-essential cmake git gcc g++ cmake \
319315
pkg-config tar wget zlib1g-dev
320316
```
321317

322-
### Ubuntu (14.04 - Trusty Tahr)
323-
324-
[![Kokoro readme ubuntu-trusty status][kokoro-readme-ubuntu-trusty-shield]][kokoro-readme-ubuntu-trusty-link]
325-
326-
[kokoro-readme-ubuntu-trusty-shield]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/readme/ubuntu-trusty.svg
327-
[kokoro-readme-ubuntu-trusty-link]: https://storage.googleapis.com/cloud-cpp-kokoro-status/common/readme/ubuntu-trusty-link.html
328-
329-
Install the minimal development tools.
330-
331-
We use the `ubuntu-toolchain-r` PPA to get a modern version of CMake:
332-
333-
```bash
334-
sudo apt update && sudo apt install -y software-properties-common
335-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
336-
sudo apt update && \
337-
sudo apt install -y cmake3 git gcc g++ make pkg-config tar wget \
338-
zlib1g-dev
339-
```
340-
341-
Ubuntu:14.04 ships with a very old version of OpenSSL, this version is not
342-
supported by gRPC. We need to compile and install OpenSSL-1.0.2 from source.
343-
344-
```bash
345-
cd $HOME/Downloads
346-
wget -q https://www.openssl.org/source/openssl-1.0.2n.tar.gz
347-
tar xf openssl-1.0.2n.tar.gz
348-
cd $HOME/Downloads/openssl-1.0.2n
349-
./config --shared
350-
make -j ${NCPU:-4}
351-
sudo make install
352-
```
353-
354-
Note that by default OpenSSL installs itself in `/usr/local/ssl`. Installing
355-
on a more conventional location, such as `/usr/local` or `/usr`, can break
356-
many programs in your system. OpenSSL 1.0.2 is actually incompatible with
357-
with OpenSSL 1.0.0 which is the version expected by the programs already
358-
installed by Ubuntu 14.04.
359-
360-
In any case, as the library installs itself in this non-standard location, we
361-
also need to configure CMake and other build program to find this version of
362-
OpenSSL:
363-
364-
```bash
365-
export OPENSSL_ROOT_DIR=/usr/local/ssl
366-
export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig
367-
```
368-
369318
#### macOS (using brew)
370319

371320
```bash

ci/etc/kokoro/install/project-config.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ declare -A ORIGINAL_COPYRIGHT_YEAR=(
2121
[fedora]=2018
2222
[opensuse-leap]=2019
2323
[opensuse-tumbleweed]=2018
24-
[ubuntu-trusty]=2018
2524
[ubuntu-xenial]=2018
2625
[ubuntu-bionic]=2018
2726
)

ci/etc/kokoro/readme/project-config.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ declare -A ORIGINAL_COPYRIGHT_YEAR=(
2121
[fedora]=2019
2222
[opensuse-leap]=2019
2323
[opensuse-tumbleweed]=2019
24-
[ubuntu-trusty]=2019
2524
[ubuntu-xenial]=2019
2625
[ubuntu-bionic]=2019
2726
)

0 commit comments

Comments
 (0)