Tarantool development patches archive
 help / color / mirror / Atom feed
From: Kirill Yukhin <kyukhin@tarantool.org>
To: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org,
	Alexander Turenko <alexander.turenko@tarantool.org>
Subject: Re: [Tarantool-patches] [PATCH v1] gitlab-ci: setup local cleanup/checkout processes
Date: Wed, 22 Jul 2020 13:39:20 +0300	[thread overview]
Message-ID: <20200722103920.m5fv4bjfieviqitk@tarantool.org> (raw)
In-Reply-To: <71f8d267d86ec77501c4aa2f25245a7fa952c8b3.1595412450.git.avtikhon@tarantool.org>

Hello,

On 22 июл 13:17, Alexander V. Tikhonov wrote:
> Set cleanup based on docker for all of the jobs to avoid of fails
> when the job before change could use docker and reassigned the
> temporary files in the working directory. If the docker is not
> available than no need to use it for cleanup and cleanup runs
> using shell. Gitlab-ci clean flags disabled and reorganized localy
> as shown at [1].
> 
> Disabled gitlab-ci checkout default process as shown at [2] to be
> able to fix repository before the checkout. Found that previously
> run gitlab-ci jobs could change permissions files at repository
> which broke the checkouts at the next jobs. Used for checkout
> strategy [3], for submodule update strategy [4]. Submodules local
> update routine in .gitlab.mk file became unneeded and removed.
> 
> List of steps made localy instead of gitlab-ci preparations:
> 
> 1. Check/clone the Tarantool repository with submodules.
> 2. For shell based jobs change ownership of all the sources
>    to 'gitlab-runner' user. (NOTE: in Docker based jobs the
>    'gitlab-runner' user is not known.)
> 3. Fetch Tarantool sources with branches and force checkout
>    of the testing commit.
> 4. Update submodules recursively (use force where supports).
> 5. Cleanup all the sources from all files except from repository.
> 
> [1] https://docs.gitlab.com/ee/ci/yaml/README.html#git-clean-flags
> [2] https://docs.gitlab.com/ee/ci/yaml/README.html#git-strategy
> [3] https://docs.gitlab.com/ee/ci/yaml/README.html#git-checkout
> [4] https://docs.gitlab.com/ee/ci/yaml/README.html#git-submodule-strategy
> 
> Follows up #5036

LGTM.

I've checked your patch into 1.10, 2.4, 2.5 and master.

--
Regards, Kirill Yukhin

      reply	other threads:[~2020-07-22 10:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22 10:17 Alexander V. Tikhonov
2020-07-22 10:39 ` Kirill Yukhin [this message]

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=20200722103920.m5fv4bjfieviqitk@tarantool.org \
    --to=kyukhin@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=avtikhon@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1] gitlab-ci: setup local cleanup/checkout processes' \
    /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