Requested in #28083#pullrequestreview-1535304219.
Also, one doc commit.
(Similar to the doc comment in ci/lint_imagefile)
Also, rename docker-entrypoint.sh to container-entrypoint.sh
Also, add copyright header to touched files.
This is needed for the container-entrypoint.sh
Also, remove unused `source` from ci/lint_run_all.sh, since it is the
last step.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
ACK ffff4b5dc57c32bf759b705530c1368de4aa787e
5 | @@ -6,6 +6,8 @@ 6 | 7 | export LC_ALL=C 8 | 9 | +set -ex
Only downside with this is that CI won't report all lint failures, rather will bail on the first one. Not sure if this is going to be annoying for people. Maybe we could have a FAIL_FAST envvar that gates this, and right now is only enabled in the container entrypoint script?
A fail-fast setting would also need to be picked up by lint-all to abort early, because this one does collect the failures.
But I won't be working on that soon, so should I just close this pull?
Nah, this is a step in the right direction I think.
ACK ffff4b5dc57c32bf759b705530c1368de4aa787e (jamesob/ackr/28103.1.MarcoFalke.test_add_missing_set_ex)
Tested locally; lint errors surfaced through the lint container give non-zero error code as expected, which will allow local git hooks to e.g. stop pushes on error.