2021-09-11 15:10:32 +00:00
# Migrations
Some versions need some changes to the server configuration or the pipeline configuration files.
## 0.15.0
2021-09-17 19:40:43 +00:00
- 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 ](/docs/usage/project-settings#pipeline-path )
2021-09-11 15:10:32 +00:00
Clean up config environment variables for server and agent (#218)
The goal here is to make consistent use of configuration environment variables prefixed `WOODPECKER_`. Where several variants existed, this PR aims to remove all but one option, leaving the most explicit.
This PR only changes server and agent code, but not documentation, in order to keep the PR digestible. Once we have consensus that this is correct, I'll change docs accordingly.
User (rather: admin) facing changes in this PR:
- In general, support for all server and agent config environment variables (env vars) starting with `DRONE_` is removed. The according `WOODPECKER_*` variables must be used instead.
- The env var `WOODPECKER_HOST` replaces `DRONE_HOST`, and `DRONE_SERVER_HOST`.
- The env var `WOODPECKER_AGENT_SECRET` is used to configure the shared secret which agents use to authenticate against the server. It replaces `WOODPECKER_SECRET`, `DRONE_SECRET`, `WOODPECKER_PASSWORD`, `DRONE_PASSWORD`, and `DRONE_AGENT_SECRET`.
- The env var `WOODPECKER_DATABASE_DRIVER` replaces `DRONE_DATABASE_DRIVER` and `DATABASE_DRIVER`.
- The env var `WOODPECKER_DATABASE_DATASOURCE` replaces `DRONE_DATABASE_DATASOURCE` and `DATABASE_CONFIG`.
2021-09-28 13:43:44 +00:00
- Dropped support for `DRONE_*` environment variables. The according `WOODPECKER_*` variables must be used instead.
Additionally some alternative namings have been removed to simplify maintenance:
- `WOODPECKER_AGENT_SECRET` replaces `WOODPECKER_SECRET` , `DRONE_SECRET` , `WOODPECKER_PASSWORD` , `DRONE_PASSWORD` and `DRONE_AGENT_SECRET` .
- `WOODPECKER_HOST` replaces `DRONE_HOST` and `DRONE_SERVER_HOST` .
- `WOODPECKER_DATABASE_DRIVER` replaces `DRONE_DATABASE_DRIVER` and `DATABASE_DRIVER` .
- `WOODPECKER_DATABASE_DATASOURCE` replaces `DRONE_DATABASE_DATASOURCE` and `DATABASE_CONFIG` .
2021-10-04 21:32:56 +00:00
- From version `0.15.0` ongoing there will be three types of docker images: `latest` , `next` and `x.x.x` with an alpine variant for each type like `latest-alpine` .
If you used `latest` before to try pre-release features you should switch to `next` after this release.
2021-10-13 06:34:57 +00:00
- Prometheus metrics have been changed from `drone_*` to `woodpecker_*`
2021-10-28 19:02:43 +00:00
- 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`
2021-09-11 15:10:32 +00:00
- ...
## 0.14.0
No breaking changes