From 1409b9c37b671939c1572ca741c0d8e434afae6c Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 29 Nov 2020 03:34:26 +0000 Subject: feat(gerrit-update): Add helper script for updating Gerrit schema I've been running a script similar to this after doing Gerrit version bumps to make sure the schema is up to date, but in the spirit of making sure someone other that myself can do this task I'm formalising it into the depot, where I should've put it in the first place. Change-Id: I50a198e798e2ff26989b01e4bdd0571d85ab62aa Reviewed-on: https://cl.tvl.fyi/c/depot/+/2203 Tested-by: BuildkiteCI Reviewed-by: glittershark --- bin/__dispatch.sh | 3 +++ bin/gerrit-update | 1 + 2 files changed, 4 insertions(+) create mode 120000 bin/gerrit-update (limited to 'bin') diff --git a/bin/__dispatch.sh b/bin/__dispatch.sh index b265e2fd197a..2f1c882b99c2 100755 --- a/bin/__dispatch.sh +++ b/bin/__dispatch.sh @@ -28,6 +28,9 @@ case "${TARGET_TOOL}" in gerrit) attr="tools.gerrit-cli" ;; + gerrit-update) + attr="tools.gerrit-update" + ;; hash-password) attr="tools.hash-password" ;; diff --git a/bin/gerrit-update b/bin/gerrit-update new file mode 120000 index 000000000000..8390ec9c9652 --- /dev/null +++ b/bin/gerrit-update @@ -0,0 +1 @@ +__dispatch.sh \ No newline at end of file -- cgit 1.4.1