diff options
author | Matthieu Huin <mhuin@redhat.com> | 2020-12-04 12:51:58 +0100 |
---|---|---|
committer | Matthieu Huin <mhuin@redhat.com> | 2020-12-09 11:30:59 +0000 |
commit | c6f89dc270e103b7bd2af04fe9b65d7eb11be8f2 (patch) | |
tree | 17e1a18bec616ab0567194c3c9fab3388896c46d /tools | |
parent | 0691295078a6b6178cb9cd5efc523d48909b72c0 (diff) | |
download | zuul-c6f89dc270e103b7bd2af04fe9b65d7eb11be8f2.tar.gz |
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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/encrypt_secret.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/encrypt_secret.py b/tools/encrypt_secret.py index 687637dd8..40a264cde 100755 --- a/tools/encrypt_secret.py +++ b/tools/encrypt_secret.py @@ -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() |