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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user