5 Commits

Author SHA1 Message Date
Matthieu Huin
677de34472 Add support for XDG-compliant config file
zuul-client will also look by default for the
$XDG_CONFIG_HOME/zuul/client.conf file when looking for user settings.

Change-Id: I60d59fceb1d4e4d767ca9e952a8ecc1630eba0a8
2021-06-01 10:34:01 +02:00
lotorev vitaly
a7ca41220c Clarify ~/.zuul.conf and --use-config option spelling
Change-Id: I9e75645f3ce028b088374f445078abce7243c069
2021-05-31 17:04:06 +02:00
Matthieu Huin
49451a814a Add tenant as a config option
Allow user to set a tenant in one of the configuration file's
subsections, so that they don't have to provide the argument to the CLI
all the time.

Fix the API builds() call not building the API URL properly for a
white-labeled root URL.

Change-Id: Ib3b8b2be07ed580ac9f48738b9157a5d0e4d5e70
2021-04-23 23:19:52 +02:00
Matthieu Huin
5766ed1785 Add encrypt subcommand
zuul-client can be used to encrypt a secret that can be then used in a
project's jobs.
Also improve the documentation section about using a configuration file.

Change-Id: I10e56883f0b24ac429051af36f9bf58c7594c0ed
2020-10-13 15:40:45 +02:00
Matthieu Huin
0bc9db6c89 Initialize repository
Import doc, code, various boilerplate elements from zuul.
Add basic unit testing.

Change-Id: I44b78cd9d2a31fb62ddf4ffd56546066c5db2689
2020-09-09 18:07:46 +02:00