From a2d8d45c61430d8c6b68c978d7b58feb61fc0e56 Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Thu, 3 Sep 2020 22:41:19 +0300 Subject: [PATCH] testing_sanity.rst: add argument for running in docker (#71223) (#71587) (cherry picked from commit 56423b1648853d06d24fe65882c7de89a9db04bc) --- docs/docsite/rst/dev_guide/testing_sanity.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docsite/rst/dev_guide/testing_sanity.rst b/docs/docsite/rst/dev_guide/testing_sanity.rst index bdedd0a48c2..af5bd856a0c 100644 --- a/docs/docsite/rst/dev_guide/testing_sanity.rst +++ b/docs/docsite/rst/dev_guide/testing_sanity.rst @@ -22,6 +22,10 @@ How to run To run sanity tests using docker, always use the default docker image by passing the ``--docker`` or ``--docker default`` argument. +.. note:: + When using docker and the ``--base-branch`` argument, + also use the ``--docker-keep-git`` argument to avoid git related errors. + .. code:: shell source hacking/env-setup