zuul/etc/zuul.conf-sample
Simon Westphahl 9228d57995
Deprecate and cleanup use of status-url
In addition to the required web.root setting there is the web.status-url
that might cause some confusion for users as the difference is not
immediately clear.

In order to deprecate the web.status-url setting the following cases
need to be considered:

1. The Github reporter allows configuring the status-url as part of the
   pipeline configuration, but already uses the better item URL in
   `setCommitStatus()` instead. Here we can simply add a deprecation
   warning in case the status-url is configured.
2. The Pagure reporter also allows to configure the status-url and so
   far used it for setting the commit status. Analogous to the Github
   reporter we can replace this with the item URL and also add a
   deprecation warning when it is configured.
3. The no-job, enqueue and start messages still use the global
   `status_url` default (now unified to always use the setting from the
   system attributes and NOT from the local Zuul config). Since the
   `status_url` replacement attribute has already been deprecated in
   favor of `item_url` there isn't anything to do here.

After we've removed support for the `status_url` format attribute, we
can also remove the global `web.status_url` setting from the config and
the system attributes in Zookeeper.

Change-Id: If4ed1d7942dd2e7c2351a1eba9892f8503990f1f
2024-08-19 08:04:46 +02:00

75 lines
1.2 KiB
Plaintext

[database]
dburi=mysql+pymysql://user@localhost/zuul
[statsd]
server=127.0.0.1
[zookeeper]
hosts=127.0.0.1:2181
[keystore]
password=secret
[scheduler]
tenant_config=/etc/zuul/main.yaml
log_config=/etc/zuul/logging.conf
pidfile=/var/run/zuul/zuul.pid
prometheus_port=9091
;prometheus_addr=0.0.0.0
[merger]
git_dir=/var/lib/zuul/git
;git_user_email=zuul@example.com
;git_user_name=zuul
prometheus_port=9092
[executor]
default_username=zuul
trusted_ro_paths=/opt/zuul-scripts:/var/cache
trusted_rw_paths=/opt/zuul-logs
prometheus_port=9093
[web]
listen_address=127.0.0.1
port=9000
static_cache_expiry=0
root=https://zuul.example.com/
prometheus_port=9094
[webclient]
url=https://zuul.example.com
verify_ssl=true
[auth zuul_operator]
driver=HS256
allow_authz_override=true
realm=zuul.example.com
default=true
client_id=zuul.example.com
issuer_id=zuul_operator
secret=NoDanaOnlyZuul
max_validity_time=36000
skew=0
[connection gerrit]
driver=gerrit
server=review.example.com
;baseurl=https://review.example.com/r
user=jenkins
sshkey=/home/jenkins/.ssh/id_rsa
;keepalive=60
[connection smtp]
driver=smtp
server=localhost
port=25
default_from=zuul@example.com
default_to=you@example.com
[connection mqtt]
driver=mqtt
server=localhost
user=zuul
password=zuul
;keepalive=60