* change paths to use woodpecker instead of drone * improve sql file migration * add migration notice
1.7 KiB
Migrations
Some versions need some changes to the server configuration or the pipeline configuration files.
0.15.0
-
Default value for custom pipeline path is now empty / un-set which results in following resolution:
.woodpecker/*.yml
->.woodpecker.yml
->.drone.yml
Only projects created after updating will have an empty value by default. Existing projects will stick to the current pipeline path which is
.drone.yml
in most cases.Read more about it at the Project Settings
-
Dropped support for
DRONE_*
environment variables. The accordingWOODPECKER_*
variables must be used instead. Additionally some alternative namings have been removed to simplify maintenance:WOODPECKER_AGENT_SECRET
replacesWOODPECKER_SECRET
,DRONE_SECRET
,WOODPECKER_PASSWORD
,DRONE_PASSWORD
andDRONE_AGENT_SECRET
.WOODPECKER_HOST
replacesDRONE_HOST
andDRONE_SERVER_HOST
.WOODPECKER_DATABASE_DRIVER
replacesDRONE_DATABASE_DRIVER
andDATABASE_DRIVER
.WOODPECKER_DATABASE_DATASOURCE
replacesDRONE_DATABASE_DATASOURCE
andDATABASE_CONFIG
.
-
From version
0.15.0
ongoing there will be three types of docker images:latest
,next
andx.x.x
with an alpine variant for each type likelatest-alpine
. If you usedlatest
before to try pre-release features you should switch tonext
after this release. -
Prometheus metrics have been changed from
drone_*
towoodpecker_*
-
Base path has moved from
/var/lib/drone
to/var/lib/woodpecker
-
Default SQLite database location has changed:
/var/lib/drone/drone.sqlite
->/var/lib/woodpecker/woodpecker.sqlite
drone.sqlite
->woodpecker.sqlite
-
...
0.14.0
No breaking changes