It can be nice to prevent some boilerplate code in pipeline yaml.
But now yaml anchors can not be used https://github.com/drone/drone/issues/2323
May be better to use configuration fragments like in docker-compose v3.4+ ?
https://docs.docker.com/compose/compose-file/#extension-fields
version: '2.1'
x-logging:
&default-logging
options:
max-size: '12m'
max-file: '5'
driver: json-file
services:
web:
image: myapp/web:latest
logging: *default-logging
db:
image: mysql:latest
logging: *default-logging