This is because Azure CLI team recently changed their repo signing key (described here -- search for "Warninig"). We should update https://github.com/Azure/Moodle/blob/master/scripts/install_moodle.sh#L152 with the new/correct key to avoid this issue.
We should also make any failures like this to cause install scripts to fail. Should add set -e in all scripts to stop a script on any non-0 exit code. However, we need to be careful, because some commands may just return non-0 exit codes, which may need to be ignored (by || true). Finding out those commands would be tedious...
This is because Azure CLI team recently changed their repo signing key (described here -- search for "Warninig"). We should update https://github.com/Azure/Moodle/blob/master/scripts/install_moodle.sh#L152 with the new/correct key to avoid this issue.
We should also make any failures like this to cause install scripts to fail. Should add
set -ein all scripts to stop a script on any non-0 exit code. However, we need to be careful, because some commands may just return non-0 exit codes, which may need to be ignored (by|| true). Finding out those commands would be tedious...