pgsql: ci: Add missing "set -e" to scripts run by su.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: ci: Add missing "set -e" to scripts run by su.
Дата
Msg-id E1vGonT-005Dbu-2K@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
ci: Add missing "set -e" to scripts run by su.

If any shell command fails, the whole script should fail.  To avoid
future omissions, add this even for single-command scripts that use su
with heredoc syntax, as they might be extended or copied-and-pasted.

Extracted from a larger patch that wanted to use #error during
compilation, leading to the diagnosis of this problem.

Reviewed-by: Tristan Partin <tristan@partin.io> (earlier version)
Discussion: https://postgr.es/m/DDZP25P4VZ48.3LWMZBGA1K9RH%40partin.io
Backpatch-through: 15

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/61cd67425f1ad907c02cd2470eff69ba85585ed2

Modified Files
--------------
.cirrus.tasks.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)


В списке pgsql-committers по дате отправления: