Skip to content

Use curl v7.74 from buster backports

Stan Hu requested to merge sh-use-curl-buster-backport into master

What does this MR do?

This upgrades curl v7.64 to v7.79. We use curl v7.79 in Omnibus, so this version matches closer to that. Also this fixes bugs such as https://github.com/ably/ably-ruby/issues/215 that we are seeing in production.

From https://gitlab.com/gitlab-org/build/CNG/-/jobs/1977339365/raw, we can see:

Get:25 http://deb.debian.org/debian buster-backports/main amd64 libcurl4 amd64 7.74.0-1.2~bpo10+1 [341 kB]
Get:26 http://deb.debian.org/debian buster-backports/main amd64 curl amd64 7.74.0-1.2~bpo10+1 [268 kB]
% docker run -it registry.gitlab.com/gitlab-org/build/cng/gitlab-webservice-ce:sh-use-curl-buster-backport bash
git@2e76514e26bf:/$ curl --version
curl 7.74.0 (x86_64-pc-linux-gnu) libcurl/7.74.0 OpenSSL/1.1.1d zlib/1.2.11 brotli/1.0.7 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Release-Date: 2020-12-09
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
git@2e76514e26bf:/$ dpkg -l | grep curl
ii  curl                      7.74.0-1.2~bpo10+1          amd64        command line tool for transferring data with URL syntax
ii  libcurl4:amd64            7.74.0-1.2~bpo10+1          amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)

Related issues

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
Edited by Stan Hu

Merge request reports