tools: Deprecate encrypt_secret.py, document zuul-client encrypt

Now that zuul-client's encrypt subcommand covers the same
functionalities as encrypt_secret.py, add a deprecation
message when running the script. Document the zuul-client
encrypt command in the doc section about secrets.

Change-Id: Id5437ffbb688cb80b2744db3beeaa28c97080d90
Depends-On: https://review.opendev.org/765313
This commit is contained in:
Matthieu Huin
2020-12-04 12:51:58 +01:00
parent 0691295078
commit c6f89dc270
3 changed files with 9 additions and 5 deletions

View File

@@ -196,4 +196,9 @@ def main():
if __name__ == '__main__':
print(
"This script is deprecated. Use `zuul-client encrypt` instead. "
"Please refer to https://zuul-ci.org/docs/zuul-client/ "
"for more details on how to use zuul-client."
)
main()