system-config/playbooks/zuul
Clark Boylan 91ab316142 Fix gerrit upgrade config diff checking
There were two problems with our gerrit upgrade config diff checking.
The first is that we were comparing using command exit codes after
pipeing diff to tee without setting pipefail. This meant that even if
the diff failed we got an exit code of 0 from tee and everything passed
happily.

Second we were not checking our pre gerrit state diff state. If the old
gerrit version also updated the config on disk we wouldn't get a diff
after upgrading to the new version. I think that is ultimately what
broke for us here because the 3.6 and 3.7 config diffs are empty, but
they differ from what we initially write to disk. As for explaining why
this might happen I can only assume some update to 3.6 made the changes
we saw after we had deployed 3.6.

As a result of checking things more thoroughly we need to update our
config to remove any delta. This removes some extraneous quoting around
gitweb config entries to do that.

Change-Id: I9c7e73d5f64546fb57a21a249b29e2aca9229ac7
2023-04-07 13:57:51 -07:00
..
files/host_vars Clean up an old raw IP address from our MTAs 2022-11-30 18:32:46 +00:00
gerrit Build Gerrit on top of our python-base images 2023-02-01 11:10:42 +11:00
infra-puppet-apply Use ensure-virtualenv in legacy puppet jobs 2020-06-15 13:22:02 -05:00
infra-puppet-beaker-rspec Convert ssh keys for ruby net-ssh if necessary 2020-08-19 16:28:08 -07:00
roles Reference bastion through prod_bastion group 2022-11-04 09:18:35 +11:00
templates Upgrade Gerrit to version 3.7 2023-04-04 13:42:43 +10:00
bootstrap-and-test-review.yaml Add Gerrit 3.5 to 3.6 upgrade testing 2022-06-22 10:58:17 -07:00
bootstrap-test-review.yaml system-config-run-review : add review priority and backport labels 2023-03-16 13:55:54 +11:00
lists3-alias-logs.yaml Add a mailman3 list server 2022-11-11 23:20:19 +00:00
run-base-post.yaml Reference bastion through prod_bastion group 2022-11-04 09:18:35 +11:00
run-base-pre.yaml Stop using backend hostname in zuul testinfra tests 2020-06-10 14:48:40 -07:00
run-base.yaml mailman: add variable for matching UAs in Apache 2023-01-11 15:47:20 +11:00
run-lists-post.yaml Collect mailman logs in deployment testing 2021-12-09 18:46:43 +00:00
run-production-bootstrap-bridge-add-rootkey.yaml Reference bastion through prod_bastion group 2022-11-04 09:18:35 +11:00
run-production-bootstrap-bridge.yaml run-production-bootstrap-bridge: use add-bastion-host 2022-11-04 09:17:48 +11:00
run-production-playbook-post.yaml infra-prod: don't encrypt logs if they are being published 2023-01-12 15:58:12 +11:00
run-production-playbook.yaml Reference bastion through prod_bastion group 2022-11-04 09:18:35 +11:00
test_gerrit_renames.yaml Improve repo rename functional testing 2021-08-02 14:12:57 -07:00
test_gitea_renames.yaml Improve repo rename functional testing 2021-08-02 14:12:57 -07:00
test-lists3.yaml Add a mailman3 list server 2022-11-11 23:20:19 +00:00
test-review.yaml Add Gerrit 3.5 to 3.6 upgrade testing 2022-06-22 10:58:17 -07:00
upgrade-review.yaml Fix gerrit upgrade config diff checking 2023-04-07 13:57:51 -07:00