Tarantool development patches archive
 help / color / mirror / Atom feed
From: Alexander Turenko <alexander.turenko@tarantool.org>
To: Kirill Yukhin <kyukhin@tarantool.org>
Cc: Alexander Turenko <alexander.turenko@tarantool.org>,
	tarantool-patches@freelists.org,
	"Alexander V . Tikhonov" <avtikhon@tarantool.org>
Subject: [tarantool-patches] [PATCH] gitlab-ci: fix building of Debian Buster image
Date: Fri, 16 Aug 2019 04:46:00 +0300	[thread overview]
Message-ID: <2e5a14a0b5d5bb2d42d713bfb0d127b379a3559c.1565919911.git.alexander.turenko@tarantool.org> (raw)

`apt-get update <...>` fails on Debian Buster on docker_bootstrap goal
(see #4331 for the similar issue).

Added a description how to change dependencies in .travis.mk.
---

no issue
https://github.com/tarantool/tarantool/tree/Totktonada/gitlab-ci-fix-docker-bootstrap

 .gitlab.mk |  2 +-
 .travis.mk | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/.gitlab.mk b/.gitlab.mk
index 7199adf94..8f84b8ff2 100644
--- a/.gitlab.mk
+++ b/.gitlab.mk
@@ -52,7 +52,7 @@ export DEBIAN_STRETCH_DOCKERFILE
 define DEBIAN_BUSTER_DOCKERFILE
 FROM packpack/packpack:debian-buster
 COPY .travis.mk .
-RUN make -f .travis.mk deps_buster_clang_8
+RUN make APT_EXTRA_FLAGS="--allow-releaseinfo-change-version --allow-releaseinfo-change-suite" -f .travis.mk deps_buster_clang_8
 endef
 export DEBIAN_BUSTER_DOCKERFILE
 
diff --git a/.travis.mk b/.travis.mk
index c0c23b6d7..4825dbd92 100644
--- a/.travis.mk
+++ b/.travis.mk
@@ -45,6 +45,18 @@ docker_%:
 
 # Depends
 
+# When dependencies in 'deps_debian' or 'deps_buster_clang_8' goal
+# are changed, push a new docker image into GitLab Registry using
+# the following command:
+#
+# $ make GITLAB_USER=foo -f .gitlab.mk docker_bootstrap
+#
+# It is highly recommended to only add dependencies (don't remove
+# them), because all branches use the same latest image and it is
+# often that a short-term branch is based on non-so-recent master
+# commit, so the build requires old dependencies to be installed.
+# See ce623a23416eb192ce70116fd14992e84e7ccbbe ('Enable GitLab CI
+# testing') for more information.
 deps_debian:
 	apt-get update ${APT_EXTRA_FLAGS} && apt-get install -y -f \
 		build-essential cmake coreutils sed \
-- 
2.22.0

             reply	other threads:[~2019-08-16  1:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-16  1:46 Alexander Turenko [this message]
2019-08-22 12:25 ` [tarantool-patches] " Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2e5a14a0b5d5bb2d42d713bfb0d127b379a3559c.1565919911.git.alexander.turenko@tarantool.org \
    --to=alexander.turenko@tarantool.org \
    --cc=avtikhon@tarantool.org \
    --cc=kyukhin@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH] gitlab-ci: fix building of Debian Buster image' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox