1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00

Add breaking note for command: removal (#2056)

close  #2054

as we missed at #1032 that it was mentioned at one point in the docs and
so it was a breaking change
This commit is contained in:
6543 2023-07-29 14:52:43 +02:00 committed by GitHub
parent c96fc3f27a
commit 960a52bc0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 2 deletions

View File

@ -13,6 +13,7 @@
* Access repos by their IDs (#1691)
* Drop "coding" support (#1644)
* Add queue details UI for admins (#1632)
* Remove `command:` from steps (#1032)
* Remove old `build` API routes (#1283)
* Let single line command be a single command (#1009)
* Drop deprecated environment vars (#920)

View File

@ -908,6 +908,6 @@ Woodpecker gives the ability to configure privileged mode in the YAML. You can u
services:
docker:
image: docker:dind
command: [ "--storage-driver=vfs", "--tls=false" ]
commands: dockerd-entrypoint.sh --storage-driver=vfs --tls=false
+ privileged: true
```

View File

@ -35,6 +35,9 @@ Some versions need some changes to the server configuration or the pipeline conf
- To find the id of orgs use the `/api/orgs/lookup/{org_full_name}` endpoint.
- The UI urls for a organization changed from `/org/{owner}/...` to `/orgs/{org-id}/...`. You will be redirected automatically when using the old url.
- The woodpecker-go api-client is now using the `org-id` instead of `org name` for all functions
- The `command:` field has been removed from steps. If you were using it, please check if the entrypoint of the image you used is a shell.
- If it is a shell, simply rename `command:` to `commands:`.
- If it's not, you need to prepend the entrypoint before and also rename it (e.g., `commands: <entrypoint> <cmd>`).
## 0.15.0

View File

@ -908,6 +908,6 @@ Woodpecker gives the ability to configure privileged mode in the YAML. You can u
services:
docker:
image: docker:dind
command: [ "--storage-driver=vfs", "--tls=false" ]
commands: dockerd-entrypoint.sh --storage-driver=vfs --tls=false
+ privileged: true
```

View File

@ -35,6 +35,9 @@ No breaking changes
- To find the id of orgs use the `/api/orgs/lookup/{org_full_name}` endpoint.
- The UI urls for a organization changed from `/org/{owner}/...` to `/orgs/{org-id}/...`. You will be redirected automatically when using the old url.
- The woodpecker-go api-client is now using the `org-id` instead of `org name` for all functions
- The `command:` field has been removed from steps. If you were using it, please check if the entrypoint of the image you used is a shell.
- If it is a shell, simply rename `command:` to `commands:`.
- If it's not, you need to prepend the entrypoint before and also rename it (e.g., `commands: <entrypoint> <cmd>`).
## 0.15.0