From: Phillip Wood <phillip.wood123@gmail.com>
To: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Cc: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
"Johannes Schindelin" <johannes.schindelin@gmx.de>
Subject: ab/ci-setup-simplify (was Re: What's cooking in git.git (Apr 2022, #05; Mon, 18))
Date: Tue, 19 Apr 2022 13:38:15 +0100 [thread overview]
Message-ID: <1157a463-f6c6-1df5-59cd-419d73eed1df@gmail.com> (raw)
In-Reply-To: <xmqqbkwyz78z.fsf@gitster.g>
> * ab/ci-setup-simplify (2022-04-14) 29 commits
> - CI: make it easy to use ci/*.sh outside of CI
> - CI: don't use "set -x" in "ci/lib.sh" output
> - CI: set PYTHON_PATH setting for osx-{clang,gcc} into "$jobname" case
> - CI: set SANITIZE=leak in MAKEFLAGS directly
> - CI: set CC in MAKEFLAGS directly, don't add it to the environment
> - CI: add more variables to MAKEFLAGS, except under vs-build
> - CI: narrow down variable definitions in --build and --test
> - CI: only invoke ci/lib.sh as "steps" in main.yml
> - CI: pre-select test slice in Windows & VS tests
> - ci/run-test-slice.sh: replace shelling out with "echo"
> - CI: move "env" definitions into ci/lib.sh
> - CI: combine ci/install{,-docker}-dependencies.sh
> - CI: split up and reduce "ci/test-documentation.sh"
> - CI: invoke "make artifacts-tar" directly in windows-build
> - CI: check ignored unignored build artifacts in "win[+VS] build" too
> - ci/lib.sh: use "test" instead of "["
> - CI: remove "run-build-and-tests.sh", run "make [test]" directly
> - CI: export variables via a wrapper
> - CI: consistently use "export" in ci/lib.sh
> - CI: move p4 and git-lfs variables to ci/install-dependencies.sh
> - CI: have "static-analysis" run "check-builtins", not "documentation"
> - CI: have "static-analysis" run a "make ci-static-analysis" target
> - CI: don't have "git grep" invoke a pager in tree content check
> - CI/lib.sh: stop adding leading whitespace to $MAKEFLAGS
> - CI: remove unused Azure ci/* code
> - CI: remove dead "tree skipping" code
> - CI: remove more dead Travis CI support
> - CI: make "$jobname" explicit, remove fallback
> - CI: run "set -ex" early in ci/lib.sh
> (this branch is used by ab/ci-github-workflow-markup.)
>
> Drive more actions done in CI via the Makefile instead of shell
> commands sprinkled in .github/workflows/main.yml
>
> Will merge to 'next'?
> source: <cover-v3-00.29-00000000000-20220413T194847Z-avarab@gmail.com>
I haven't had time to read all 31 patches from v4 in detail but I have
looked at the results in seen.
Looking at seen:ci/install-dependencies.sh the shebang has been changed
to "#!/bin/sh" but it contains "BREW_PACKAGE=${CC_PACKAGE/-/@}" which is
a bashism.
Looking at seen:.github/workflows/main.yaml to skip running the tests
one has to set "skip-tests: no" which is utterly confusing.
From what I saw scanning the patches there seemed to be a lot of churn,
both of existing code and code that gets added and then moved/refactored
within the series.
Looking at the output of a recent ci run of seen the steps to prepare
the environment before building and testing print all the environment
variables rather than just the ones being set for that step which seems
to go against the aim of "CI: narrow down variable definitions in
--build and --test". (Also the "SKIP" prefix in the output lacks a ":")
Dscho raised concerns that this removes any support for azure pipelines
which he uses when preparing security patches.
I think splitting out the build and test steps is a good idea but I'm
less convinced by some of the other changes.
Best Wishes
Phillip
next prev parent reply other threads:[~2022-04-19 12:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-18 16:27 What's cooking in git.git (Apr 2022, #05; Mon, 18) Junio C Hamano
2022-04-19 12:38 ` Phillip Wood [this message]
2022-04-21 18:36 ` ab/ci-setup-simplify (was Re: What's cooking in git.git (Apr 2022, #05; Mon, 18)) Ævar Arnfjörð Bjarmason
2022-04-22 9:30 ` Phillip Wood
2022-04-22 11:28 ` Ævar Arnfjörð Bjarmason
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=1157a463-f6c6-1df5-59cd-419d73eed1df@gmail.com \
--to=phillip.wood123@gmail.com \
--cc=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=johannes.schindelin@gmx.de \
--cc=phillip.wood@dunelm.org.uk \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).