from #3268
This commit is contained in:
qwerty287 2024-04-15 09:39:58 +02:00 committed by GitHub
parent f211a780f3
commit b177d82064
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 18 deletions

View file

@ -14,7 +14,7 @@
}, },
{ {
"matchManagers": ["docker-compose"], "matchManagers": ["docker-compose"],
"matchFileNames": ["docker-compose.gitpod.yml"], "matchFileNames": ["docker-compose.gitpod.yaml"],
"addLabels": ["devx"] "addLabels": ["devx"]
}, },
{ {

View file

@ -75,7 +75,7 @@ kubectl apply -f $PLUGIN_TEMPLATE
```yaml title=".woodpecker.yaml" ```yaml title=".woodpecker.yaml"
steps: steps:
deploy-to-k8s: - name: deploy-to-k8s
image: laszlocloud/my-k8s-plugin image: laszlocloud/my-k8s-plugin
settings: settings:
template: config/k8s/service.yaml template: config/k8s/service.yaml

View file

@ -10,24 +10,23 @@ Woodpecker comes with experimental support for Bitbucket Datacenter / Server, fo
To enable Bitbucket Server you should configure the Woodpecker container using the following environment variables: To enable Bitbucket Server you should configure the Woodpecker container using the following environment variables:
```diff ```diff title="docker-compose.yaml"
# docker-compose.yml version: '3'
version: '3'
services: services:
woodpecker-server: woodpecker-server:
[...] [...]
environment: environment:
- [...] - [...]
+ - WOODPECKER_BITBUCKET_DC=true + - WOODPECKER_BITBUCKET_DC=true
+ - WOODPECKER_BITBUCKET_DC_GIT_USERNAME=foo + - WOODPECKER_BITBUCKET_DC_GIT_USERNAME=foo
+ - WOODPECKER_BITBUCKET_DC_GIT_PASSWORD=bar + - WOODPECKER_BITBUCKET_DC_GIT_PASSWORD=bar
+ - WOODPECKER_BITBUCKET_DC_CLIENT_ID=xxx + - WOODPECKER_BITBUCKET_DC_CLIENT_ID=xxx
+ - WOODPECKER_BITBUCKET_DC_CLIENT_SECRET=yyy + - WOODPECKER_BITBUCKET_DC_CLIENT_SECRET=yyy
+ - WOODPECKER_BITBUCKET_DC_URL=http://stash.mycompany.com + - WOODPECKER_BITBUCKET_DC_URL=http://stash.mycompany.com
woodpecker-agent: woodpecker-agent:
[...] [...]
``` ```
## Service Account ## Service Account