James E. Blair
99d39545a6
Add an !unsafe change_message variable
...
In I9628e2770dda120b269612e28bb6217036942b8e we switched zuul.change from
a plain string tagged with !unsafe to base64 encoded and no !unsafe tag.
The idea was to make the inventory file parseable by external tools while
avoiding accidental interpolation of the commit message by Ansible.
That doesn't work in all cases -- it's not hard to construct a scenario
where after base64 decoding the message any further processing by Ansible
causes it to undergo interpolation. Moreover, since then we have made
many changes to how we deal with variables; notably, the inventory.yaml
is no longer actually used by Zuul's Anisble -- it is now there only
for human and downstream processing. We call it the "debug inventory".
The actual inventory is much more complex and in some cases has lots of
!unsafe tags in it.
Given all that, it now seems like the most straightforward way to deal
with this is to tag the message variable as !unsafe when passing it to
Zuul's Ansible, but render it as plain text in the inventory.yaml.
To address backwards compatability, this is done in a new variable called
zuul.change_message. Since that's a more descriptive variable anyway,
we will just keep that one in the future and drop the current base64-
encoded zuul.message variable
Change-Id: Iea86de15e722bc271c1bf0540db2c9efb032500c
2023-02-09 09:07:53 -08:00
..
2020-07-22 09:05:37 -07:00
2021-02-17 09:47:11 -08:00
2022-03-30 13:35:02 -07:00
2022-10-25 20:22:33 -07:00
2018-11-28 07:53:41 -08:00
2022-06-26 23:48:03 +00:00
2019-09-17 09:51:16 -07:00
2021-09-30 15:10:31 +00:00
2019-03-18 09:46:50 -04:00
2019-09-17 09:51:16 -07:00
2020-12-01 15:24:12 -08:00
2019-07-30 15:32:31 +00:00
2021-03-02 07:29:30 -08:00
2018-11-13 16:34:54 +00:00
2018-11-27 06:00:54 +00:00
2019-01-22 14:01:10 -08:00
2022-05-16 16:32:29 -07:00
2022-09-14 17:14:10 -07:00
2019-12-10 11:28:56 -05:00
2019-03-15 09:09:17 +01:00
2020-05-15 09:22:38 +02:00
2020-12-01 15:24:12 -08:00
2019-03-15 09:09:50 +01:00
2019-03-22 18:46:59 +01:00
2019-05-16 15:07:26 -04:00
2019-12-10 15:34:34 -05:00
2019-12-10 11:28:35 -05:00
2022-05-06 13:43:51 -07:00
2022-10-11 17:03:57 -07:00
2022-09-02 10:12:55 -07:00
2020-05-13 06:40:14 +00:00
2020-05-15 09:22:38 +02:00
2020-05-12 19:01:51 +02:00
2019-03-22 18:46:59 +01:00
2022-03-24 14:50:20 -07:00
2021-03-08 22:16:23 +01:00
2020-02-11 13:16:39 -08:00
2019-02-19 11:20:25 -08:00
2019-03-20 16:26:17 +01:00
2021-11-30 13:34:06 -08:00
2022-10-06 15:38:24 -07:00
2019-09-16 10:47:27 -04:00
2019-09-16 08:47:53 -04:00
2018-06-04 15:47:01 +02:00
2018-06-05 17:03:30 +00:00
2020-12-01 15:24:12 -08:00
2021-10-04 10:56:55 +02:00
2019-06-25 20:49:54 +02:00
2021-10-08 13:41:10 -07:00
2018-12-18 22:25:27 +01:00
2023-02-09 09:07:53 -08:00
2021-10-13 10:42:07 -07:00
2021-10-18 15:01:35 -07:00
2020-12-01 15:24:12 -08:00
2021-02-03 13:04:20 +01:00
2022-09-08 13:32:11 -07:00
2021-04-08 06:52:33 -07:00
2021-06-09 13:17:03 -07:00
2022-05-11 10:06:18 -05:00
2021-03-01 18:45:48 +00:00
2019-10-24 15:31:45 -04:00
2018-07-23 17:00:57 +02:00
2019-06-24 09:32:25 -07:00
2021-08-18 13:26:21 -07:00
2022-08-22 14:35:25 -07:00
2018-04-30 14:34:46 -07:00
2020-12-01 15:24:12 -08:00
2019-06-11 12:08:07 +02:00
2021-06-24 06:24:23 -07:00
2022-05-24 09:35:14 -07:00
2019-03-15 09:09:50 +01:00
2021-08-24 10:07:41 -07:00
2021-12-09 10:44:21 -08:00
2022-06-15 11:28:02 -07:00
2022-09-02 10:12:54 -07:00
2022-10-11 16:56:57 -07:00
2020-02-11 09:30:15 +00:00
2022-03-25 15:25:52 -07:00
2022-03-22 11:33:31 -07:00
2020-05-14 07:42:24 +02:00
2021-09-30 15:10:24 +00:00
2020-02-05 07:36:47 -08:00
2021-06-21 13:38:03 -07:00
2022-10-13 10:31:19 -07:00
2018-06-15 17:19:53 -07:00
2020-05-21 06:57:19 +00:00
2018-08-09 15:31:55 -05:00
2019-12-10 15:58:32 -05:00
2018-11-29 13:05:20 -05:00
2019-06-28 13:02:25 -07:00
2019-04-29 08:26:58 +02:00
2019-03-18 16:18:46 -07:00
2020-10-02 18:23:49 +02:00
2019-08-23 18:59:29 +02:00
2021-04-24 08:39:03 -07:00
2020-12-01 15:24:12 -08:00
2021-07-27 15:38:49 -07:00
2019-02-07 12:33:25 -08:00
2019-04-15 15:52:14 -07:00
2022-11-01 14:43:36 -07:00
2023-01-20 11:11:01 -06:00
2019-05-06 08:57:02 -07:00
2019-08-14 13:43:27 -04:00
2019-10-16 10:52:35 -07:00
2019-01-17 08:58:48 -05:00
2020-02-22 18:02:57 +01:00
2020-02-22 18:02:30 +01:00
2018-08-09 20:36:11 +00:00
2022-06-05 17:47:17 +03:00
2019-10-08 10:32:12 -07:00
2019-10-23 14:02:58 -07:00
2020-01-24 09:59:16 +00:00
2018-07-26 16:43:07 -07:00
2018-07-27 18:51:59 -07:00
2021-10-14 10:09:50 +11:00
2022-06-22 14:10:41 +00:00
2022-03-21 12:53:55 -07:00
2019-01-15 11:52:04 +00:00
2018-04-09 11:16:21 +02:00
2020-02-19 14:01:41 +01:00
2020-02-19 13:31:49 +01:00
2020-12-01 15:24:12 -08:00
2022-10-10 10:54:33 -07:00
2018-04-27 10:27:45 -07:00
2020-05-12 16:48:16 +02:00
2020-12-01 15:24:12 -08:00
2019-06-11 12:08:07 +02:00
2021-10-14 16:29:50 -07:00
2022-01-14 18:18:35 +00:00
2022-01-14 18:53:39 +00:00
2022-05-31 15:14:34 -07:00
2021-08-12 14:22:39 -07:00
2018-12-07 09:07:06 -05:00
2022-03-31 13:52:34 -07:00
2022-05-16 16:28:01 -07:00
2020-12-01 15:24:12 -08:00
2018-06-28 16:09:12 -04:00
2019-06-04 02:55:56 +00:00
2018-07-26 10:56:04 -04:00
2018-08-09 10:07:34 +02:00
2019-02-05 14:52:29 -05:00
2020-08-31 11:54:46 +02:00
2019-06-13 13:43:16 -07:00
2021-08-24 10:07:41 -07:00
2021-08-24 10:07:41 -07:00
2020-03-03 15:09:18 -08:00
2020-05-27 16:56:13 +00:00
2022-01-25 16:07:08 -08:00
2020-02-13 11:31:01 +01:00
2019-03-11 17:49:38 +01:00
2019-07-08 15:47:25 -07:00
2020-03-06 13:29:18 -08:00
2019-09-18 10:06:48 -04:00
2019-08-22 10:51:44 +02:00
2022-09-02 10:13:41 -07:00
2022-02-24 17:06:03 -08:00
2022-02-24 18:32:20 -08:00
2020-02-14 13:20:15 +01:00
2021-04-26 17:09:44 -07:00
2022-09-13 18:05:42 -07:00
2021-07-15 16:45:58 -07:00
2022-02-11 13:53:37 -08:00
2019-03-15 09:09:16 +01:00
2022-04-19 09:13:45 -07:00
2022-04-22 14:05:23 -07:00
2022-04-21 09:55:17 -07:00
2021-09-10 10:54:59 -07:00
2019-01-11 13:11:05 -05:00
2022-09-08 13:01:28 -07:00
2020-12-01 15:24:12 -08:00
2022-10-26 16:30:50 -07:00
2023-01-17 09:37:24 -08:00
2022-01-11 13:27:49 -08:00
2022-10-20 16:01:14 -07:00
2018-06-19 15:36:27 +00:00
2019-08-12 10:04:44 -07:00
2019-01-18 08:38:26 -08:00
2023-01-02 10:07:26 +01:00
2022-09-08 13:32:11 -07:00
2019-07-15 08:34:09 -07:00
2022-03-03 07:32:06 -08:00
2022-11-07 08:41:10 -08:00
2022-01-25 16:07:08 -08:00
2018-09-04 15:42:43 -07:00
2018-04-27 09:04:35 -07:00
2018-04-27 21:35:07 +02:00
2022-04-05 16:35:25 -07:00
2018-07-26 17:46:26 -04:00
2021-12-09 07:37:29 -08:00
2021-04-26 14:47:36 +00:00
2022-03-10 14:09:32 -08:00
2019-01-30 14:07:42 -08:00
2022-05-30 07:31:16 -07:00
2020-12-01 15:24:12 -08:00
2018-07-05 09:17:19 +02:00
2018-10-06 10:42:31 -05:00
2022-10-17 14:27:05 -07:00
2018-11-30 12:50:34 +01:00
2018-09-06 03:33:19 +07:00
2019-01-17 08:59:54 -05:00
2022-04-13 16:44:34 -07:00
2021-07-15 16:45:58 -07:00
2021-07-13 14:57:01 -07:00
2022-05-05 13:39:41 -07:00
2022-01-25 16:07:08 -08:00
2018-04-02 09:53:28 -07:00
2021-05-11 22:10:46 +02:00
2021-07-08 13:27:08 -07:00
2018-05-16 07:43:50 +02:00
2022-01-25 16:07:08 -08:00
2019-05-29 04:10:08 +00:00
2018-11-28 08:27:11 +01:00
2020-02-27 17:15:55 +00:00
2018-04-05 10:41:51 -07:00
2018-06-15 17:19:53 -07:00
2020-12-01 15:24:12 -08:00
2021-06-24 06:24:23 -07:00
2021-05-25 17:52:23 -07:00
2022-09-21 06:50:12 -07:00
2021-05-25 17:52:23 -07:00
2020-04-29 14:59:15 -07:00
2019-02-05 17:23:24 +00:00
2021-02-15 09:53:55 -08:00
2020-12-01 15:24:12 -08:00
2021-06-25 14:48:16 -04:00
2019-12-16 17:31:50 +00:00
2019-03-07 13:21:22 -08:00
2022-01-25 16:07:08 -08:00
2018-12-20 07:58:40 +01:00
2020-01-17 16:38:52 +01:00
2020-03-30 14:10:19 -05:00
2022-03-28 15:08:45 -07:00
2021-08-13 07:57:12 -07:00
2018-06-14 16:32:03 -07:00
2019-09-16 16:25:11 +00:00
2018-06-27 10:43:56 -07:00
2021-06-11 16:00:39 +00:00
2018-04-10 14:57:51 -07:00
2021-09-02 09:26:34 -07:00
2022-02-08 14:14:17 -08:00
2019-08-29 07:59:32 -07:00
2021-09-27 11:54:33 -07:00
2022-07-21 14:21:02 -07:00
2018-07-11 06:13:12 +00:00
2022-03-17 14:51:18 +01:00
2020-03-02 19:23:48 -05:00
2018-09-29 13:13:00 +02:00
2022-04-13 14:17:04 -07:00
2021-06-24 06:24:23 -07:00
2021-02-25 10:11:42 +01:00
2022-01-25 16:07:08 -08:00
2022-06-18 07:57:49 -07:00
2022-01-14 13:03:45 -08:00
2018-10-11 02:57:52 +00:00
2018-10-11 03:02:30 +00:00
2018-10-11 02:58:06 +00:00
2022-02-02 17:29:50 -08:00
2020-05-20 16:54:54 -05:00
2021-11-18 16:40:25 +00:00
2021-11-18 16:39:17 +01:00
2018-06-13 15:48:23 -07:00
2018-04-03 17:22:15 +02:00
2022-04-12 21:42:09 +02:00
2021-04-29 17:56:24 -07:00
2021-10-22 16:36:20 -07:00
2021-03-01 15:04:22 -08:00
2021-02-17 09:47:11 -08:00
2019-03-07 07:49:52 -08:00
2021-06-24 00:45:18 -04:00
2020-04-03 16:50:05 +02:00
2022-05-19 15:35:30 +02:00
2020-04-15 23:09:48 +02:00
2018-04-12 03:20:48 +00:00
2018-07-27 04:21:07 +00:00
2019-02-28 18:09:22 +01:00
2019-01-14 14:10:44 -05:00
2022-03-24 10:07:55 +01:00
2018-07-05 10:53:58 -04:00