Skip to content

Commit b5ef1e8

Browse files
TristanCacqueraymorucci
authored andcommitted
health-check: fix when running after upgrade
The preprod upgrade create a review branch in /root/config, and the config_reset task doesn't switch back to master. This caused the .git/refs/heads/master check in config-update to not work properly. Change-Id: Ia30b0e94a2cbe52b1eb25c2687ffc0ad527d42d2
1 parent 077e101 commit b5ef1e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: playbooks/config_reset.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
command: chdir=/root/config {{ item }}
77
with_items:
88
- git fetch --all
9+
- git checkout master
910
- git reset --hard origin/master --
1011
- git clean -f -d

0 commit comments

Comments
 (0)